public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMethodHelp(java.lang.Class pClass,
java.lang.reflect.Method pMethod)
Returns a help string for the given method, which
is applied to the given class.
|
static java.lang.String |
getMethodHelp(java.lang.Class pClass,
java.lang.reflect.Method[] pMethods)
Returns a help string for the given method, which
is applied to the given class.
|
static java.lang.String[] |
getSignature(java.lang.reflect.Method pMethod)
Returns a signature for the given methods.
|
static java.lang.String[][] |
getSignature(java.lang.reflect.Method[] pMethods)
Returns a signature for the given methods.
|
static java.lang.String |
getSignature(java.lang.Object[] args)
Returns a signature for the given parameter set.
|
static java.lang.String |
getSignatureType(java.lang.Class pType)
Returns a signature for the given return type or
parameter class.
|
static java.lang.Object |
newInstance(java.lang.Class pClass)
Creates a new instance of
pClass . |
public static java.lang.String getSignatureType(java.lang.Class pType)
pType
- The class for which a signature is being
queried.public static java.lang.String[][] getSignature(java.lang.reflect.Method[] pMethods)
pMethods
- Methods, for which a signature is
being queried.public static java.lang.String[] getSignature(java.lang.reflect.Method pMethod)
pMethod
- Method, for which a signature is
being queried.public static java.lang.String getMethodHelp(java.lang.Class pClass, java.lang.reflect.Method[] pMethods)
public static java.lang.String getMethodHelp(java.lang.Class pClass, java.lang.reflect.Method pMethod)
public static java.lang.String getSignature(java.lang.Object[] args)
public static java.lang.Object newInstance(java.lang.Class pClass) throws XmlRpcException
pClass
.XmlRpcException