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