Class SClassReader.AnnotatedEntity

java.lang.Object
jadex.classreader.SClassReader.AnnotatedEntity
Direct Known Subclasses:
SClassReader.ClassEntity, SClassReader.ClassInfo
Enclosing class:
SClassReader

public static class SClassReader.AnnotatedEntity extends Object
Entity with optional annotations
  • Field Details

  • Constructor Details

    • AnnotatedEntity

      public AnnotatedEntity()
  • Method Details

    • getAnnotations

      public Collection<SClassReader.AnnotationInfo> getAnnotations()
      Get the annotations.
      Returns:
      the annotations
    • setAnnotations

      protected void setAnnotations(Collection<SClassReader.AnnotationInfo> annotations)
      Set the annotations.
      Parameters:
      annotations - the annotations to set
    • getAccessFlags

      public int getAccessFlags()
      Get the access flags.
      Returns:
      the access flags
    • setAccessFlags

      protected void setAccessFlags(int accessflags)
      Set the access flags.
      Parameters:
      accessflags - the access flags to set
    • isPublic

      public boolean isPublic()
      Tests if entity is public.
      Returns:
      True, if public.
    • isFinal

      public boolean isFinal()
      Tests if entity is final.
      Returns:
      True, if final.
    • isSynthetic

      public boolean isSynthetic()
      Tests if entity is synthetic.
      Returns:
      True, if synthetic.
    • hasAnnotation

      public boolean hasAnnotation(String anname)
      Test if this entity has an annotation.
      Parameters:
      annname - The annotation name.
    • getAnnotation

      public SClassReader.AnnotationInfo getAnnotation(String anname)
      Test if this entity has an annotation.
      Parameters:
      annname - The annotation name.