janino.net

org.codehaus.janino
Class IClass.IMethod

java.lang.Object
  extended by org.codehaus.janino.IClass.IInvocable
      extended by 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.


Constructor Summary
IClass.IMethod()
           
 
Method Summary
 String getDescriptor2()
          Uncached implementation of IClass.IInvocable.getDescriptor().
abstract  String getName()
           
abstract  IClass getReturnType()
           
abstract  boolean isAbstract()
           
abstract  boolean isStatic()
           
 String toString()
           
 
Methods inherited from class org.codehaus.janino.IClass.IInvocable
argsNeedAdjust, getAccess, getDeclaringIClass, getDescriptor, getParameterTypes, getParameterTypes2, getThrownExceptions, getThrownExceptions2, isLessSpecificThan, isMoreSpecificThan, isVarargs, setArgsNeedAdjust
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.codehaus.janino.IClass.IMember
getAnnotations
 

Constructor Detail

IClass.IMethod

public IClass.IMethod()
Method Detail

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 String getName()
Returns:
The name of this method

getDescriptor2

public String getDescriptor2()
                      throws CompileException
Description copied from class: IClass.IInvocable
Uncached implementation of IClass.IInvocable.getDescriptor().

Specified by:
getDescriptor2 in class IClass.IInvocable
Throws:
CompileException

toString

public String toString()
Specified by:
toString in class IClass.IInvocable

janino.net