public class DeclaredMethodSignature extends Signature
NO_NAME, NO_PARAMETER_TYPES, NO_PARAMETERS| Constructor and Description |
|---|
DeclaredMethodSignature(Method method)
Create a new Signature.
|
DeclaredMethodSignature(org.jboss.reflect.spi.MethodInfo method)
Create a new Signature.
|
DeclaredMethodSignature(String declaringClass,
String name,
Class<?>... parameters)
Create a new Signature.
|
DeclaredMethodSignature(String declaringClass,
String name,
String[] parameters)
Create a new Signature.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDeclaringClass()
Get the declaringClass.
|
Method |
getMethod()
Get the method.
|
protected Class<?>[] |
getParameterTypes()
Get the parameter types (for override by sub-classes)
|
int |
hashCode() |
protected void |
internalToString(StringBuilder builder)
Build the to String
|
convertParameters, convertParameterTypes, getName, getParameters, getParametersTypes, getPrimativeArrayType, getSignature, getSignature, toStringpublic DeclaredMethodSignature(String declaringClass, String name, String[] parameters)
declaringClass - the declaring classname - the nameparameters - the parameterspublic DeclaredMethodSignature(String declaringClass, String name, Class<?>... parameters)
declaringClass - the declaring classname - the nameparameters - the parameterspublic DeclaredMethodSignature(Method method)
method - the methodpublic DeclaredMethodSignature(org.jboss.reflect.spi.MethodInfo method)
method - the methodpublic String getDeclaringClass()
public Method getMethod()
protected Class<?>[] getParameterTypes()
SignaturegetParameterTypes in class Signatureprotected void internalToString(StringBuilder builder)
SignatureinternalToString in class Signaturebuilder - the builder to useCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.