Class AbstractClassMember

    • Constructor Summary

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

      • name

        private final java.lang.String name
      • signature

        private final java.lang.String signature
      • accessFlags

        private final int accessFlags
      • resolved

        private boolean resolved
      • cachedHashCode

        private int cachedHashCode
    • 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
      • markAsResolved

        void markAsResolved()
      • 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