Package jadex.commons

Class SClassReader.AnnotatedEntity

    • Field Detail

      • accessflags

        protected int accessflags
        Class access flags.
    • Constructor Detail

      • AnnotatedEntity

        public AnnotatedEntity()
    • Method Detail

      • getAnnotations

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

        protected void setAnnotations​(java.util.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​(java.lang.String anname)
        Test if this entity has an annotation.
        Parameters:
        annname - The annotation name.
      • getAnnotation

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