|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.spi.signature.Signature
public class Signature
Signature.
| Field Summary | |
|---|---|
static String |
NO_NAME
No Name |
static Class<?>[] |
NO_PARAMETER_TYPES
No Parameters Types |
static String[] |
NO_PARAMETERS
No Parameters |
| Constructor Summary | |
|---|---|
Signature()
Create a new Signature. |
|
Signature(Class<?>... parameters)
Create a new Signature. |
|
Signature(String... parameters)
Create a new Signature. |
|
Signature(String name)
Create a new Signature. |
|
Signature(String name,
Class<?>... parameters)
Create a new Signature. |
|
Signature(String name,
String... parameters)
Create a new Signature. |
|
| Method Summary | |
|---|---|
static String[] |
convertParameters(org.jboss.reflect.spi.TypeInfo[] typeInfos)
|
static Class<?>[] |
convertParameterTypes(org.jboss.reflect.spi.TypeInfo[] typeInfos)
|
boolean |
equals(Object obj)
|
String |
getName()
Returns the name. |
String[] |
getParameters()
Returns the parameters. |
Class<?>[] |
getParametersTypes(Class<?> clazz)
Returns the parameter types. |
static String |
getPrimativeArrayType(String name)
Deprecated. |
static Signature |
getSignature(Member member)
Get a signature for a member |
static Signature |
getSignature(org.jboss.reflect.spi.MemberInfo member)
Get a signature for a member info |
int |
hashCode()
|
protected void |
internalToString(StringBuilder builder)
Build the to String |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NO_NAME
public static final String[] NO_PARAMETERS
public static final Class<?>[] NO_PARAMETER_TYPES
| Constructor Detail |
|---|
public Signature()
public Signature(String name)
name - the namepublic Signature(String... parameters)
parameters - the parameterspublic Signature(Class<?>... parameters)
parameters - the parameters
public Signature(String name,
Class<?>... parameters)
name - the nameparameters - the parameters
public Signature(String name,
String... parameters)
name - the nameparameters - the parameters| Method Detail |
|---|
public static Signature getSignature(Member member)
member - the member
public static Signature getSignature(org.jboss.reflect.spi.MemberInfo member)
member - the member
@Deprecated public static String getPrimativeArrayType(String name)
public static String[] convertParameters(org.jboss.reflect.spi.TypeInfo[] typeInfos)
public static Class<?>[] convertParameterTypes(org.jboss.reflect.spi.TypeInfo[] typeInfos)
public String getName()
public String[] getParameters()
public Class<?>[] getParametersTypes(Class<?> clazz)
clazz - the reference class
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected void internalToString(StringBuilder builder)
builder - the builder to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||