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
public abstract class IClass.IMethod
- extends IClass.IInvocable
Representation of a method in an IClass.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IClass.IMethod
public IClass.IMethod()
isStatic
public abstract boolean isStatic()
- Returns:
- Whether this method is STATIC
isAbstract
public abstract boolean isAbstract()
- Returns:
- Whether this method is ABSTRACT
getReturnType
public abstract IClass getReturnType()
throws CompileException
- Returns:
- The return type of this method
- Throws:
CompileException
getName
public abstract java.lang.String getName()
- Returns:
- The name of this method
getDescriptor
public java.lang.String getDescriptor()
throws CompileException
- Specified by:
getDescriptor in class IClass.IInvocable
- Returns:
- The method descriptor of this constructor or method
- Throws:
CompileException
toString
public java.lang.String toString()
- Specified by:
toString in class IClass.IInvocable