public class AnnotationPool extends BaseOffsetPool<Annotation> implements AnnotationSection<java.lang.CharSequence,java.lang.CharSequence,Annotation,AnnotationElement,EncodedValue>
dexPool, internedItems| Constructor and Description |
|---|
AnnotationPool(DexPool dexPool) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.CharSequence |
getElementName(AnnotationElement annotationElement) |
java.util.Collection<? extends AnnotationElement> |
getElements(Annotation annotation) |
EncodedValue |
getElementValue(AnnotationElement annotationElement) |
java.lang.CharSequence |
getType(Annotation annotation) |
int |
getVisibility(Annotation annotation) |
void |
intern(Annotation annotation) |
getItemOffset, getItems, getItemStringgetItemCount, mark, resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemOffset, getItemspublic AnnotationPool(@Nonnull
DexPool dexPool)
public void intern(@Nonnull
Annotation annotation)
public int getVisibility(@Nonnull
Annotation annotation)
getVisibility in interface AnnotationSection<java.lang.CharSequence,java.lang.CharSequence,Annotation,AnnotationElement,EncodedValue>@Nonnull
public java.lang.CharSequence getType(@Nonnull
Annotation annotation)
getType in interface AnnotationSection<java.lang.CharSequence,java.lang.CharSequence,Annotation,AnnotationElement,EncodedValue>@Nonnull public java.util.Collection<? extends AnnotationElement> getElements(@Nonnull Annotation annotation)
getElements in interface AnnotationSection<java.lang.CharSequence,java.lang.CharSequence,Annotation,AnnotationElement,EncodedValue>@Nonnull
public java.lang.CharSequence getElementName(@Nonnull
AnnotationElement annotationElement)
getElementName in interface AnnotationSection<java.lang.CharSequence,java.lang.CharSequence,Annotation,AnnotationElement,EncodedValue>@Nonnull public EncodedValue getElementValue(@Nonnull AnnotationElement annotationElement)
getElementValue in interface AnnotationSection<java.lang.CharSequence,java.lang.CharSequence,Annotation,AnnotationElement,EncodedValue>