Package jadex.commons
Class SClassReader.AnnotatedEntity
- java.lang.Object
- 
- jadex.commons.SClassReader.AnnotatedEntity
 
- 
- Direct Known Subclasses:
- SClassReader.ClassEntity,- SClassReader.ClassInfo
 - Enclosing class:
- SClassReader
 
 public static class SClassReader.AnnotatedEntity extends java.lang.ObjectEntity with optional annotations
- 
- 
Field SummaryFields Modifier and Type Field Description protected intaccessflagsClass access flags.protected java.util.Collection<SClassReader.AnnotationInfo>annotationsThe annotations.
 - 
Constructor SummaryConstructors Constructor Description AnnotatedEntity()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAccessFlags()Get the access flags.SClassReader.AnnotationInfogetAnnotation(java.lang.String anname)Test if this entity has an annotation.java.util.Collection<SClassReader.AnnotationInfo>getAnnotations()Get the annotations.booleanhasAnnotation(java.lang.String anname)Test if this entity has an annotation.booleanisFinal()Tests if entity is final.booleanisPublic()Tests if entity is public.booleanisSynthetic()Tests if entity is synthetic.protected voidsetAccessFlags(int accessflags)Set the access flags.protected voidsetAnnotations(java.util.Collection<SClassReader.AnnotationInfo> annotations)Set the annotations.
 
- 
- 
- 
Field Detail- 
annotationsprotected java.util.Collection<SClassReader.AnnotationInfo> annotations The annotations.
 - 
accessflagsprotected int accessflags Class access flags.
 
- 
 - 
Method Detail- 
getAnnotationspublic java.util.Collection<SClassReader.AnnotationInfo> getAnnotations() Get the annotations.- Returns:
- the annotations
 
 - 
setAnnotationsprotected void setAnnotations(java.util.Collection<SClassReader.AnnotationInfo> annotations) Set the annotations.- Parameters:
- annotations- the annotations to set
 
 - 
getAccessFlagspublic int getAccessFlags() Get the access flags.- Returns:
- the access flags
 
 - 
setAccessFlagsprotected void setAccessFlags(int accessflags) Set the access flags.- Parameters:
- accessflags- the access flags to set
 
 - 
isPublicpublic boolean isPublic() Tests if entity is public.- Returns:
- True, if public.
 
 - 
isFinalpublic boolean isFinal() Tests if entity is final.- Returns:
- True, if final.
 
 - 
isSyntheticpublic boolean isSynthetic() Tests if entity is synthetic.- Returns:
- True, if synthetic.
 
 - 
hasAnnotationpublic boolean hasAnnotation(java.lang.String anname) Test if this entity has an annotation.- Parameters:
- annname- The annotation name.
 
 - 
getAnnotationpublic SClassReader.AnnotationInfo getAnnotation(java.lang.String anname) Test if this entity has an annotation.- Parameters:
- annname- The annotation name.
 
 
- 
 
-