public class DexAnnotationItem
extends java.lang.Object
This class represents annotation items. An annotation item is made of an annotation and visibility information attached to the annotation.
DexAnnotation
Modifier and Type | Field and Description |
---|---|
static int |
VISIBILITY_BUILD
Visibility constant for build-level annotations.
|
static int |
VISIBILITY_RUNTIME
Visibility constant for runtime-level annotations.
|
static int |
VISIBILITY_SYSTEM
Visibility constant for system-level annotations.
|
Modifier and Type | Method and Description |
---|---|
DexAnnotation |
getAnnotation()
Get the annotation.
|
int |
getVisibility()
Get the visibility for the annotation.
|
public static final int VISIBILITY_BUILD
Visibility constant for build-level annotations.
public static final int VISIBILITY_RUNTIME
Visibility constant for runtime-level annotations.
public static final int VISIBILITY_SYSTEM
Visibility constant for system-level annotations.
public int getVisibility()
Get the visibility for the annotation.
VISIBILITY_*
constantspublic DexAnnotation getAnnotation()
Get the annotation.