|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.spi.signature.Signature
org.jboss.metadata.spi.signature.DeclaredMethodSignature
public class DeclaredMethodSignature
Method Signature.
Field Summary |
---|
Fields inherited from class org.jboss.metadata.spi.signature.Signature |
---|
NO_NAME, NO_PARAMETER_TYPES, NO_PARAMETERS |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class org.jboss.metadata.spi.signature.Signature |
---|
convertParameters, convertParameterTypes, getName, getParameters, getParametersTypes, getPrimativeArrayType, getSignature, getSignature, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 methodMethod Detail |
---|
public String getDeclaringClass()
public Method getMethod()
protected Class<?>[] getParameterTypes()
Signature
getParameterTypes
in class Signature
public boolean equals(Object obj)
equals
in class Signature
public int hashCode()
hashCode
in class Signature
protected void internalToString(StringBuilder builder)
Signature
internalToString
in class Signature
builder
- the builder to use
|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |