Package org.codehaus.janino
Class IClass.IMethod
java.lang.Object
org.codehaus.janino.IClass.IInvocable
org.codehaus.janino.IClass.IMethod
- All Implemented Interfaces:
IClass.IMember
- Enclosing class:
IClass
Representation of a method in an
IClass.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.janino.IClass.IInvocable
argsNeedAdjust, getDeclaringIClass, getDescriptor, getParameterTypes, getParameterTypes2, getThrownExceptions, getThrownExceptions2, isVarargs, setArgsNeedAdjustMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codehaus.janino.IClass.IMember
getAccess, getAnnotations
-
Constructor Details
-
IMethod
public IMethod()
-
-
Method Details
-
isStatic
public abstract boolean isStatic()- Returns:
- Whether this method is STATIC
-
isAbstract
public abstract boolean isAbstract()- Returns:
- Whether this method is ABSTRACT
-
getReturnType
- Returns:
- The return type of this method
- Throws:
CompileException
-
getName
- Returns:
- The name of this method
-
getDescriptor2
Description copied from class:IClass.IInvocableUncached implementation ofIClass.IInvocable.getDescriptor().- Specified by:
getDescriptor2in classIClass.IInvocable- Throws:
CompileException
-
isMoreSpecificThan
- Overrides:
isMoreSpecificThanin classIClass.IInvocable- Returns:
- Whether this
IClass.IInvocableis more specific then that (in the sense of JLS7 15.12.2.5) - Throws:
CompileException
-
isLessSpecificThan
- Overrides:
isLessSpecificThanin classIClass.IInvocable- Returns:
- Whether this
IClass.IInvocableis less specific then that (in the sense of JLS7 15.12.2.5) - Throws:
CompileException
-
toString
- Specified by:
toStringin classIClass.IInvocable
-