public abstract class IClass.IInvocable extends Object implements IClass.IMember
IClass.IConstructor and IClass.IMethod.| Constructor and Description |
|---|
IInvocable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
argsNeedAdjust()
TODO
|
abstract Access |
getAccess() |
IClass |
getDeclaringIClass() |
String |
getDescriptor()
Returns the method descriptor of this constructor or method.
|
abstract String |
getDescriptor2()
Uncached implementation of
getDescriptor(). |
IClass[] |
getParameterTypes()
Returns the types of the parameters of this constructor or method.
|
abstract IClass[] |
getParameterTypes2()
Opposed to the
Constructor, there is no magic "this$0" parameter. |
IClass[] |
getThrownExceptions()
Returns the types thrown by this constructor or method.
|
abstract IClass[] |
getThrownExceptions2() |
boolean |
isLessSpecificThan(IClass.IInvocable that) |
boolean |
isMoreSpecificThan(IClass.IInvocable that) |
abstract boolean |
isVarargs() |
void |
setArgsNeedAdjust(boolean newVal)
TODO
|
abstract String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotationspublic void setArgsNeedAdjust(boolean newVal)
public boolean argsNeedAdjust()
public abstract boolean isVarargs()
public abstract Access getAccess()
getAccess in interface IClass.IMemberAccess.PRIVATE, Access.PROTECTED, Access.DEFAULT and Access.PUBLIC.public IClass getDeclaringIClass()
getDeclaringIClass in interface IClass.IMemberIClass that declares this IClass.IMemberpublic final IClass[] getParameterTypes() throws CompileException
CompileExceptionpublic abstract IClass[] getParameterTypes2() throws CompileException
Constructor, there is no magic "this$0" parameter.
Opposed to the Constructor, enums have no magic parameters "String name" and
"int ordinal".
However, the "synthetic parameters" ("val$locvar") are included.
CompileExceptionpublic final String getDescriptor() throws CompileException
CompileExceptionpublic abstract String getDescriptor2() throws CompileException
getDescriptor().CompileExceptionpublic final IClass[] getThrownExceptions() throws CompileException
CompileExceptionpublic abstract IClass[] getThrownExceptions2() throws CompileException
CompileExceptionpublic boolean isMoreSpecificThan(IClass.IInvocable that) throws CompileException
IClass.IInvocable is more specific then that (in the sense of JLS7
15.12.2.5)CompileExceptionpublic boolean isLessSpecificThan(IClass.IInvocable that) throws CompileException
IClass.IInvocable is less specific then that (in the sense of JLS7
15.12.2.5)CompileException