| Package | Description |
|---|---|
| com.android.dx.cf.attrib |
Implementation of containers and utilities for all the standard Java
attribute types.
|
| com.android.dx.cf.direct |
Implementation of
cf.iface.* based on a direct representation
of class files as byte[]s. |
| com.android.dx.dex.file | |
| com.android.dx.rop.annotation |
| Modifier and Type | Method and Description |
|---|---|
Annotations |
BaseAnnotations.getAnnotations()
Gets the list of annotations associated with this instance.
|
| Constructor and Description |
|---|
AttRuntimeInvisibleAnnotations(Annotations annotations,
int byteLength)
Constructs an instance.
|
AttRuntimeVisibleAnnotations(Annotations annotations,
int byteLength)
Constructs an instance.
|
BaseAnnotations(java.lang.String attributeName,
Annotations annotations,
int byteLength)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Annotations |
AnnotationParser.parseAnnotationAttribute(AnnotationVisibility visibility)
Parses an annotation attribute, per se.
|
| Modifier and Type | Method and Description |
|---|---|
Annotations |
FieldAnnotationStruct.getAnnotations()
Gets the associated annotations.
|
Annotations |
MethodAnnotationStruct.getAnnotations()
Gets the associated annotations.
|
Annotations |
AnnotationSetItem.getAnnotations()
Gets the underlying annotations of this instance
|
Annotations |
AnnotationsDirectoryItem.getMethodAnnotations(CstMethodRef method)
Gets the method annotations for a given method, if any.
|
Annotations |
ClassDefItem.getMethodAnnotations(CstMethodRef method)
Gets the method annotations for a given method, if any.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationsDirectoryItem.addFieldAnnotations(CstFieldRef field,
Annotations annotations,
DexFile dexFile)
Adds a field annotations item to this instance.
|
void |
ClassDefItem.addFieldAnnotations(CstFieldRef field,
Annotations annotations,
DexFile dexFile)
Adds a field annotations item to this class.
|
void |
AnnotationsDirectoryItem.addMethodAnnotations(CstMethodRef method,
Annotations annotations,
DexFile dexFile)
Adds a method annotations item to this instance.
|
void |
ClassDefItem.addMethodAnnotations(CstMethodRef method,
Annotations annotations,
DexFile dexFile)
Adds a method annotations item to this class.
|
void |
AnnotationsDirectoryItem.setClassAnnotations(Annotations annotations,
DexFile dexFile)
Sets the direct annotations on this instance.
|
void |
ClassDefItem.setClassAnnotations(Annotations annotations,
DexFile dexFile)
Sets the direct annotations on this class.
|
| Constructor and Description |
|---|
AnnotationSetItem(Annotations annotations,
DexFile dexFile)
Constructs an instance.
|
| Modifier and Type | Field and Description |
|---|---|
static Annotations |
Annotations.EMPTY
non-null; immutable empty instance |
| Modifier and Type | Method and Description |
|---|---|
static Annotations |
Annotations.combine(Annotations annotations,
Annotation annotation)
Constructs an immutable instance which is the combination of the
given instance with the given additional annotation.
|
static Annotations |
Annotations.combine(Annotations a1,
Annotations a2)
Constructs an immutable instance which is the combination of the
two given instances.
|
Annotations |
AnnotationsList.get(int n)
Gets the element at the given index.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Annotations.addAll(Annotations toAdd)
Adds all of the elements of the given instance to this one.
|
static Annotations |
Annotations.combine(Annotations annotations,
Annotation annotation)
Constructs an immutable instance which is the combination of the
given instance with the given additional annotation.
|
static Annotations |
Annotations.combine(Annotations a1,
Annotations a2)
Constructs an immutable instance which is the combination of the
two given instances.
|
int |
Annotations.compareTo(Annotations other) |
void |
AnnotationsList.set(int n,
Annotations a)
Sets the element at the given index.
|
Copyright © 2020. All Rights Reserved.