public static final class MetaClassImpl.MetaConstructor
extends MetaMethod
This is a helper class which is used only by indy. It is for internal use.
| Fields inherited from class | Fields |
|---|---|
class MetaMethod |
EMPTY_ARRAY |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public CachedConstructor |
getCachedConstrcutor()Returns the cached constructor wrapped by this meta constructor. |
|
public CachedClass |
getDeclaringClass()Gets the class where this method is declared.
|
|
public int |
getModifiers()Returns the modifiers of this method.
|
|
public String |
getName()Returns the name of this method.
|
|
public Class |
getReturnType()Returns the return type for this method.
|
|
public Object |
invoke(Object object, Object[] arguments)Invokes this method.
|
|
public boolean |
isBeanConstructor()Indicates whether this constructor performs Groovy bean-style map population. |
| Methods inherited from class | Name |
|---|---|
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 |
Returns the cached constructor wrapped by this meta constructor.
Gets the class where this method is declared.
Returns the modifiers of this method.
Returns the name of this method.
Returns the return type for this method.
Invokes this method.
object - The object this method should be invoked onarguments - The arguments for the method if applicableIndicates whether this constructor performs Groovy bean-style map population.
true for bean constructors