Package org.codehaus.janino
Class IClass.IInvocable
java.lang.Object
org.codehaus.janino.IClass.IInvocable
- All Implemented Interfaces:
IClass.IMember
- Direct Known Subclasses:
IClass.IConstructor
,IClass.IMethod
- Enclosing class:
- IClass
Base class for
IClass.IConstructor
and IClass.IMethod
-
Constructor Details
-
IInvocable
public IInvocable()
-
-
Method Details
-
getAccess
- Specified by:
getAccess
in interfaceIClass.IMember
- Returns:
- One of
Access.PRIVATE
,Access.PROTECTED
,Access.DEFAULT
andAccess.PUBLIC
.
-
getDeclaringIClass
Description copied from interface:IClass.IMember
Returns theIClass
that declares thisIClass.IMember
.- Specified by:
getDeclaringIClass
in interfaceIClass.IMember
-
getParameterTypes
- Returns:
- The types of the parameters of this constructor or method
- Throws:
CompileException
-
getDescriptor
- Returns:
- The method descriptor of this constructor or method
- Throws:
CompileException
-
getThrownExceptions
- Returns:
- The types thrown by this constructor or method
- Throws:
CompileException
-
isMoreSpecificThan
- Returns:
- Whether this
IClass.IInvocable
is more specific thenthat
(in the sense of JLS3 15.12.2.5) - Throws:
CompileException
-
isLessSpecificThan
- Throws:
CompileException
-
toString
-