org.logicalcobwebs.cglib.core
Class Signature
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
name
private java.lang.String name
desc
private java.lang.String desc
Signature
public Signature(java.lang.String name,
java.lang.String desc)
Signature
public Signature(java.lang.String name,
Type returnType,
Type[] argumentTypes)
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