public class NewMetaMethod
extends ReflectionMetaMethod
Base class for NewInstanceMetaMethod and NewStaticMetaMethod
| Modifiers | Name | Description |
|---|---|---|
protected static CachedClass[] |
EMPTY_TYPE_ARRAY |
Empty array of cached classes used as default |
protected CachedClass[] |
bytecodeParameterTypes |
The parameter types from the bytecode (including the first parameter which is the class) |
| Fields inherited from class | Fields |
|---|---|
class ReflectionMetaMethod |
method |
class MetaMethod |
EMPTY_ARRAY |
| Constructor and description |
|---|
NewMetaMethod(CachedMethod method)Constructs a new NewMetaMethod. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public CachedClass[] |
getBytecodeParameterTypes()Gets the bytecode parameter types (including the first parameter which is the class). |
|
public CachedClass |
getDeclaringClass() |
|
public CachedClass |
getOwnerClass()Gets the owner class (the first bytecode parameter type). |
| Methods inherited from class | Name |
|---|---|
class ReflectionMetaMethod |
getCachedMethod, getDeclaringClass, getModifiers, getName, getPT, getReturnType, invoke, toString |
class MetaMethod |
checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getModifiers, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isDefault, isMethod, isSame, processDoMethodInvokeException, toString |
class ParameterTypes |
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
Empty array of cached classes used as default
The parameter types from the bytecode (including the first parameter which is the class)
Constructs a new NewMetaMethod.
method - the cached methodGets the bytecode parameter types (including the first parameter which is the class).
Gets the owner class (the first bytecode parameter type).
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.