Class FieldOrMethodDescriptor

    • Constructor Detail

      • FieldOrMethodDescriptor

        public FieldOrMethodDescriptor​(@SlashedClassName
                                       java.lang.String slashedClassName,
                                       java.lang.String name,
                                       java.lang.String signature,
                                       boolean isStatic)
    • Method Detail

      • getNameSigHashCode

        public static int getNameSigHashCode​(java.lang.String name,
                                             java.lang.String signature)
      • getNameSigHashCode

        public int getNameSigHashCode()
      • getSlashedClassName

        @SlashedClassName
        public java.lang.String getSlashedClassName()
        Returns:
        Returns the class name
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface FieldOrMethodName
        Returns:
        Returns the method name
      • getSignature

        public java.lang.String getSignature()
        Specified by:
        getSignature in interface FieldOrMethodName
        Returns:
        Returns the method signature
      • isStatic

        public boolean isStatic()
        Specified by:
        isStatic in interface FieldOrMethodName
        Returns:
        Returns true if method is static, false if not
      • hashCode

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

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