Web Site

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, optionalBody, thrownExceptions, type
 
Fields inherited from class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
statiC
 
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.Block optionalBody)
           
 
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, throwParseException
 
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, throwParseException
 

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.Block optionalBody)
Method Detail

toString

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

accept

public final void accept(Visitor.TypeBodyDeclarationVisitor visitor)

Web Site