Class Signature


  • public class Signature
    extends java.lang.Object
    A representation of a method signature, containing the method name, return type, and parameter types.
    • Constructor Summary

      Constructors 
      Constructor Description
      Signature​(java.lang.String name, java.lang.String desc)  
      Signature​(java.lang.String name, org.objectweb.asm.Type returnType, org.objectweb.asm.Type[] argumentTypes)  
    • Constructor Detail

      • Signature

        public Signature​(java.lang.String name,
                         java.lang.String desc)
      • Signature

        public Signature​(java.lang.String name,
                         org.objectweb.asm.Type returnType,
                         org.objectweb.asm.Type[] argumentTypes)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getDescriptor

        public java.lang.String getDescriptor()
      • getReturnType

        public org.objectweb.asm.Type getReturnType()
      • getArgumentTypes

        public org.objectweb.asm.Type[] getArgumentTypes()
      • toString

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

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

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