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