org.codehaus.janino
Class IClass.IConstructor
java.lang.Object
org.codehaus.janino.IClass.IInvocable
org.codehaus.janino.IClass.IConstructor
- All Implemented Interfaces:
- IClass.IMember
- Enclosing class:
- IClass
public abstract class IClass.IConstructor
- extends IClass.IInvocable
Representation of a constructor of an IClass.
| Methods inherited from class org.codehaus.janino.IClass.IInvocable |
argsNeedAdjust, getAccess, getDeclaringIClass, getDescriptor, getParameterTypes, getThrownExceptions, getThrownExceptions2, isLessSpecificThan, isMoreSpecificThan, isVarargs, setArgsNeedAdjust |
IClass.IConstructor
public IClass.IConstructor()
getParameterTypes2
public abstract IClass[] getParameterTypes2()
throws CompileException
- Opposed to
Constructor.getParameterTypes(), the
return value of this method does not include the optionally leading "synthetic
parameters".
- Specified by:
getParameterTypes2 in class IClass.IInvocable
- Returns:
- The types of the parameters of this constructor or method
- Throws:
CompileException
getDescriptor2
public String getDescriptor2()
throws CompileException
- Opposed to
IClass.IInvocable.getParameterTypes(), the method descriptor returned by this method does include the
optionally leading synthetic parameters.
- Specified by:
getDescriptor2 in class IClass.IInvocable
- Throws:
CompileException
toString
public String toString()
- Specified by:
toString in class IClass.IInvocable