Package org.codehaus.janino
Class Java.MethodDeclarator
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.AbstractTypeBodyDeclaration
org.codehaus.janino.Java.FunctionDeclarator
org.codehaus.janino.Java.MethodDeclarator
- All Implemented Interfaces:
Java.DocCommentable
,Java.Locatable
,Java.Scope
,Java.TypeBodyDeclaration
- Enclosing class:
Java
-
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, modifiersAndAnnotations, 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
ConstructorsConstructorDescriptionMethodDeclarator
(Location location, String optionalDocComment, Java.ModifiersAndAnnotations modifiersAndAnnotations, Java.Type type, String name, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, List optionalStatements) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Visitor.TypeBodyDeclarationVisitor visitor) toString()
Methods inherited from class org.codehaus.janino.Java.FunctionDeclarator
getDocComment, getEnclosingScope, hasDeprecatedDocTag, setDeclaringType
Methods inherited from class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
getDeclaringType, isStatic, 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 Details
-
MethodDeclarator
public MethodDeclarator(Location location, String optionalDocComment, Java.ModifiersAndAnnotations modifiersAndAnnotations, Java.Type type, String name, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, List optionalStatements)
-
-
Method Details