public class NewInstanceMetaMethod extends NewMetaMethod
bytecodeParameterTypes, EMPTY_TYPE_ARRAY
method
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
NewInstanceMetaMethod(CachedMethod method) |
Modifier and Type | Method and Description |
---|---|
int |
getModifiers()
Returns the modifiers for this method
|
Object |
invoke(Object object,
Object[] arguments)
Invoke this method
|
boolean |
isStatic()
Returns wether or not this method is static.
|
getBytecodeParameterTypes, getDeclaringClass, getOwnerClass
getCachedMethod, getName, getPT, getReturnType, toString
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeException
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public NewInstanceMetaMethod(CachedMethod method)
public boolean isStatic()
MetaMethod
isStatic
in class MetaMethod
public int getModifiers()
MetaMethod
getModifiers
in class ReflectionMetaMethod
public Object invoke(Object object, Object[] arguments)
MetaMethod
invoke
in class ReflectionMetaMethod
object
- The object this method should be involded onarguments
- The arguments for the menthod if applicable