Groovy 2.2.0

groovy.lang
[Java] Class MetaClassImpl.MetaConstructor

java.lang.Object
  org.codehaus.groovy.reflection.ParameterTypes
      groovy.lang.MetaMethod
          groovy.lang.MetaClassImpl.MetaConstructor

public static final class MetaClassImpl.MetaConstructor
extends MetaMethod

Field Summary
 
Fields inherited from class ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes
 
Method Summary
CachedConstructor getCachedConstrcutor()

CachedClass getDeclaringClass()

int getModifiers()

String getName()

Class getReturnType()

Object invoke(Object object, Object[] arguments)

boolean isBeanConstructor()

 
Methods inherited from class MetaMethod
checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getModifiers, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
 
Methods inherited from class ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

getCachedConstrcutor

public CachedConstructor getCachedConstrcutor()


getDeclaringClass

@OverrideMetaClassHelper.unwrap(arguments);
public CachedClass getDeclaringClass()


getModifiers

@Override}
public int getModifiers()


getName

@Overrideate Object invokeConstructor(Class at, Object[] arguments) {
public String getName()


getReturnType

@Overrideif (arguments == null) arguments = EMPTY_ARGUMENTS;
public Class getReturnType()


invoke

@Overrideif (constructor != null) {
public Object invoke(Object object, Object[] arguments)


isBeanConstructor

public boolean isBeanConstructor()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.