Class AbstractClassMember

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractClassMember​(java.lang.String className, java.lang.String name, java.lang.String signature, int accessFlags)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int getAccessFlags()
      Get the entity's access flags.
      ClassDescriptor getClassDescriptor()
      Get the ClassDescriptor representing the class (if entity is a class) or the class containing the entity (if a field or method).
      java.lang.String getClassName()
      Get the full (dotted) name of the class (if the object represents a class) or the class the entity is defined in (if a field or method).
      java.lang.String getName()
      Get the name of the field/method.
      java.lang.String getPackageName()
      Get the (dotted) name of the package in which the entity is defined.
      java.lang.String getSignature()
      Get the signature representing the field/method's type.
      int hashCode()  
      boolean isFinal()
      Is the entity final?
      boolean isPrivate()
      Is the entity private?
      boolean isProtected()
      Is the entity protected?
      boolean isPublic()
      Is the entity public?
      boolean isReferenceType()  
      boolean isResolved()
      Did we find a declaration of this entity?
      boolean isStatic()
      Is the entity static?
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractClassMember

        protected AbstractClassMember​(@DottedClassName
                                      java.lang.String className,
                                      java.lang.String name,
                                      java.lang.String signature,
                                      int accessFlags)
    • Method Detail

      • getClassName

        @DottedClassName
        public java.lang.String getClassName()
        Description copied from interface: ClassMember
        Get the full (dotted) name of the class (if the object represents a class) or the class the entity is defined in (if a field or method).
        Specified by:
        getClassName in interface ClassMember
      • getName

        public java.lang.String getName()
        Description copied from interface: ClassMember
        Get the name of the field/method.
        Specified by:
        getName in interface ClassMember
        Specified by:
        getName in interface FieldOrMethodName
        Returns:
        Returns the field/method name
      • getSignature

        public java.lang.String getSignature()
        Description copied from interface: ClassMember
        Get the signature representing the field/method's type.
        Specified by:
        getSignature in interface ClassMember
        Specified by:
        getSignature in interface FieldOrMethodName
        Returns:
        Returns the field/method signature
      • isReferenceType

        public boolean isReferenceType()
      • isResolved

        public boolean isResolved()
        Description copied from interface: ClassMember
        Did we find a declaration of this entity?
        Specified by:
        isResolved in interface ClassMember
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object