net.janino
Class Java.MethodDeclarator

java.lang.Object
  |
  +--net.janino.Java.Located
        |
        +--net.janino.Java.FunctionDeclarator
              |
              +--net.janino.Java.MethodDeclarator
All Implemented Interfaces:
Java.Locatable, Java.Scope
Enclosing class:
Java

public static class Java.MethodDeclarator
extends Java.FunctionDeclarator


Fields inherited from class net.janino.Java.FunctionDeclarator
declaringClassOrInterface, modifiers, thrownExceptions
 
Constructor Summary
Java.MethodDeclarator(Scanner.Location location, Java.ClassOrInterfaceDeclaration declaringClassOrInterface, short modifiers, Java.Type type, java.lang.String name, Java.FormalParameter[] formalParameters, Java.Type[] thrownExceptions)
           
 
Method Summary
protected  java.util.Vector getBlockStatementsToCompile()
           
 void setBody(Java.Block body)
           
 IClass.IMethod toIMethod()
           
 
Methods inherited from class net.janino.Java.FunctionDeclarator
compile, getEnclosingScope, getFormalParameters, getLocation, getModifiers, getName, getReturnType, throwCompileException, throwParseException
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java.MethodDeclarator

public Java.MethodDeclarator(Scanner.Location location,
                             Java.ClassOrInterfaceDeclaration declaringClassOrInterface,
                             short modifiers,
                             Java.Type type,
                             java.lang.String name,
                             Java.FormalParameter[] formalParameters,
                             Java.Type[] thrownExceptions)
Method Detail

setBody

public void setBody(Java.Block body)

getBlockStatementsToCompile

protected java.util.Vector getBlockStatementsToCompile()
Overrides:
getBlockStatementsToCompile in class Java.FunctionDeclarator

toIMethod

public IClass.IMethod toIMethod()