public static class SClassReader.AnnotatedEntity
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
accessflags
Class access flags.
|
protected java.util.Collection<SClassReader.AnnotationInfo> |
annotations
The annotations.
|
Constructor and Description |
---|
AnnotatedEntity() |
Modifier and Type | Method and Description |
---|---|
int |
getAccessFlags()
Get the access flags.
|
SClassReader.AnnotationInfo |
getAnnotation(java.lang.String anname)
Test if this entity has an annotation.
|
java.util.Collection<SClassReader.AnnotationInfo> |
getAnnotations()
Get the annotations.
|
boolean |
hasAnnotation(java.lang.String anname)
Test if this entity has an annotation.
|
boolean |
isFinal()
Tests if entity is final.
|
boolean |
isPublic()
Tests if entity is public.
|
boolean |
isSynthetic()
Tests if entity is synthetic.
|
protected void |
setAccessFlags(int accessflags)
Set the access flags.
|
protected void |
setAnnotations(java.util.Collection<SClassReader.AnnotationInfo> annotations)
Set the annotations.
|
protected java.util.Collection<SClassReader.AnnotationInfo> annotations
protected int accessflags
public java.util.Collection<SClassReader.AnnotationInfo> getAnnotations()
protected void setAnnotations(java.util.Collection<SClassReader.AnnotationInfo> annotations)
annotations
- the annotations to setpublic int getAccessFlags()
protected void setAccessFlags(int accessflags)
accessflags
- the access flags to setpublic boolean isPublic()
public boolean isFinal()
public boolean isSynthetic()
public boolean hasAnnotation(java.lang.String anname)
annname
- The annotation name.public SClassReader.AnnotationInfo getAnnotation(java.lang.String anname)
annname
- The annotation name.