net.sf.cglib.core
Class Signature

java.lang.Object
  extended by net.sf.cglib.core.Signature

public class Signature
extends Object

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


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

Constructor Detail

Signature

public Signature(String name,
                 String desc)

Signature

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

getName

public String getName()

getDescriptor

public String getDescriptor()

getReturnType

public org.objectweb.asm.Type getReturnType()

getArgumentTypes

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

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Oracle Corporation. All Rights Reserved.