public static enum JasmTokens.AnnotationType extends java.lang.Enum<JasmTokens.AnnotationType>
Enum Constant and Description |
---|
Invisible |
InvisibleType |
Visible |
VisibleType |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
jasmPrefix |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAnnotation(java.lang.String str)
isAnnotation
examines the beginning of a string to see if it starts with an annotation character
|
static boolean |
isAnnotationToken(java.lang.String str)
isAnnotationToken
examines the beginning of a string to see if it starts with an annotation
characters ('@+' = visible annotation, '@-' = invisible).
|
static boolean |
isInvisibleAnnotationToken(java.lang.String str)
isInvisibleAnnotationToken
examines the end of an annotation token to determine visibility ('+' = visible
annotation, '-' = invisible).
|
static boolean |
isTypeAnnotationToken(java.lang.String str)
isTypeAnnotationToken
examines the beginning of a string to see if it starts with type annotation
characters ('@T+' = visible type annotation, '@T-' = invisible).
|
static JasmTokens.AnnotationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JasmTokens.AnnotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JasmTokens.AnnotationType Visible
public static final JasmTokens.AnnotationType Invisible
public static final JasmTokens.AnnotationType VisibleType
public static final JasmTokens.AnnotationType InvisibleType
public static JasmTokens.AnnotationType[] values()
for (JasmTokens.AnnotationType c : JasmTokens.AnnotationType.values()) System.out.println(c);
public static JasmTokens.AnnotationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean isAnnotationToken(java.lang.String str)
str
- String to be analyzedpublic static boolean isTypeAnnotationToken(java.lang.String str)
str
- String to be analyzedpublic static boolean isAnnotation(java.lang.String str)
str
- String to be analyzedpublic static boolean isInvisibleAnnotationToken(java.lang.String str)
str
- String to be analyzed