Package 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 anIClass.
-
-
Constructor Summary
Constructors Constructor Description IConstructor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetDescriptor2()Opposed toIClass.IInvocable.getParameterTypes(), the method descriptor returned by this method does include the optionally leading synthetic parameters.abstract IClass[]getParameterTypes2()Opposed toConstructor.getParameterTypes(), the return value of this method does not include the optionally leading "synthetic parameters".StringtoString()-
Methods inherited from class org.codehaus.janino.IClass.IInvocable
argsNeedAdjust, getAccess, getDeclaringIClass, getDescriptor, getParameterTypes, getThrownExceptions, getThrownExceptions2, isLessSpecificThan, isMoreSpecificThan, isVarargs, setArgsNeedAdjust
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.codehaus.janino.IClass.IMember
getAnnotations
-
-
-
-
Method Detail
-
getParameterTypes2
public abstract IClass[] getParameterTypes2() throws CompileException
Opposed toConstructor.getParameterTypes(), the return value of this method does not include the optionally leading "synthetic parameters".- Specified by:
getParameterTypes2in classIClass.IInvocable- Returns:
- The types of the parameters of this constructor or method
- Throws:
CompileException
-
getDescriptor2
public String getDescriptor2() throws CompileException
Opposed toIClass.IInvocable.getParameterTypes(), the method descriptor returned by this method does include the optionally leading synthetic parameters.- Specified by:
getDescriptor2in classIClass.IInvocable- Throws:
CompileException
-
toString
public String toString()
- Specified by:
toStringin classIClass.IInvocable
-
-