public class Signature
extends java.lang.Object
Constructor and Description |
---|
Signature(java.lang.String descriptor)
Constructor for Signature.
|
Signature(java.lang.String returnType,
java.lang.String[] params)
Constructor for Signature.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Signature s) |
java.lang.String |
getDescriptor()
Get an internal representation of method signature as String.
|
java.lang.String[] |
getParameters()
Gets the parameters in simple form like 'int' or 'java.lang.Object'.
|
java.lang.String |
getReturnType()
Gets the return type in simple form like 'int' or 'java.lang.Object'.
|
java.lang.String |
toString() |
public Signature(java.lang.String descriptor)
descriptor
- Methods descriptor in internal formatpublic Signature(java.lang.String returnType, java.lang.String[] params)
returnType
- return type of the method. Return type is
is given in simple form like 'int' or 'java.lang.Object'params
- Parameters of method, in simple form.public boolean equals(Signature s)
public java.lang.String getDescriptor()
public java.lang.String[] getParameters()
public java.lang.String getReturnType()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001. Documenation generated February 9 2016.