org.codehaus.janino
Class Java.MethodDeclarator

java.lang.Object
  extended by org.codehaus.janino.Java.Located
      extended by org.codehaus.janino.Java.AbstractTypeBodyDeclaration
          extended by org.codehaus.janino.Java.FunctionDeclarator
              extended by org.codehaus.janino.Java.MethodDeclarator
All Implemented Interfaces:
Java.DocCommentable, Java.Locatable, Java.Scope, Java.TypeBodyDeclaration
Enclosing class:
Java

public static final class Java.MethodDeclarator
extends Java.FunctionDeclarator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.janino.Java.FunctionDeclarator
Java.FunctionDeclarator.FormalParameter
 
Field Summary
 
Fields inherited from class org.codehaus.janino.Java.FunctionDeclarator
formalParameters, localVariables, modifiers, name, optionalStatements, thrownExceptions, type
 
Fields inherited from class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
statiC
 
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
 
Constructor Summary
Java.MethodDeclarator(Location location, java.lang.String optionalDocComment, short modifiers, Java.Type type, java.lang.String name, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, java.util.List optionalStatements)
           
 
Method Summary
 void accept(Visitor.TypeBodyDeclarationVisitor visitor)
           
 java.lang.String toString()
           
 
Methods inherited from class org.codehaus.janino.Java.FunctionDeclarator
getDocComment, getEnclosingScope, hasDeprecatedDocTag
 
Methods inherited from class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
getDeclaringType, isStatic, setDeclaringType, setEnclosingScope
 
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
 

Constructor Detail

Java.MethodDeclarator

public Java.MethodDeclarator(Location location,
                             java.lang.String optionalDocComment,
                             short modifiers,
                             Java.Type type,
                             java.lang.String name,
                             Java.FunctionDeclarator.FormalParameter[] formalParameters,
                             Java.Type[] thrownExceptions,
                             java.util.List optionalStatements)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

accept

public void accept(Visitor.TypeBodyDeclarationVisitor visitor)


Copyright © 2001-2011. All Rights Reserved.