org.logicalcobwebs.cglib.core
Class Signature

java.lang.Object
  extended by org.logicalcobwebs.cglib.core.Signature

public class Signature
extends java.lang.Object

A representation of a method signature, containing the method name, return type, and parameter types.


Field Summary
private  java.lang.String desc
           
private  java.lang.String name
           
 
Constructor Summary
Signature(java.lang.String name, java.lang.String desc)
           
Signature(java.lang.String name, Type returnType, Type[] argumentTypes)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Type[] getArgumentTypes()
           
 java.lang.String getDescriptor()
           
 java.lang.String getName()
           
 Type getReturnType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name

desc

private java.lang.String desc
Constructor Detail

Signature

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

Signature

public Signature(java.lang.String name,
                 Type returnType,
                 Type[] argumentTypes)
Method Detail

getName

public java.lang.String getName()

getDescriptor

public java.lang.String getDescriptor()

getReturnType

public Type getReturnType()

getArgumentTypes

public 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