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() |
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, wait
getAnnotations
public void setArgsNeedAdjust(boolean newVal)
public boolean argsNeedAdjust()
public abstract boolean isVarargs()
public abstract Access getAccess()
getAccess
in interface IClass.IMember
Access.PRIVATE
, Access.PROTECTED
,
Access.DEFAULT
and Access.PUBLIC
.public IClass getDeclaringIClass()
getDeclaringIClass
in interface IClass.IMember
IClass
that declares this IClass.IMember
public final IClass[] getParameterTypes() throws CompileException
CompileException
public abstract IClass[] getParameterTypes2() throws CompileException
CompileException
public final String getDescriptor() throws CompileException
CompileException
public abstract String getDescriptor2() throws CompileException
getDescriptor()
.CompileException
public final IClass[] getThrownExceptions() throws CompileException
CompileException
public abstract IClass[] getThrownExceptions2() throws CompileException
CompileException
public boolean isMoreSpecificThan(IClass.IInvocable that) throws CompileException
IClass.IInvocable
is more specific then that
(in the sense of JLS7 15.12.2.5)CompileException
public boolean isLessSpecificThan(IClass.IInvocable that) throws CompileException
IClass.IInvocable
is less specific then that
(in the sense of JLS7 15.12.2.5)CompileException
Copyright © 2001–2016. All rights reserved.