Uses of Class
org.codehaus.janino.Java.MethodDeclarator
Packages that use Java.MethodDeclarator
Package
Description
The core of the Janino Java compiler.
Application-independent helper classes.
-
Uses of Java.MethodDeclarator in org.codehaus.janino
Fields in org.codehaus.janino with type parameters of type Java.MethodDeclaratorModifier and TypeFieldDescriptionprivate final List<Java.MethodDeclarator>
Java.AbstractTypeDeclaration.declaredMethods
Methods in org.codehaus.janino that return Java.MethodDeclaratorModifier and TypeMethodDescriptionJava.AbstractTypeDeclaration.getMethodDeclaration
(String name) Java.TypeDeclaration.getMethodDeclaration
(String name) Returns the first method declared with the given name.private Java.MethodDeclarator
ScriptEvaluator.makeMethodDeclaration
(Location location, Java.Annotation[] annotations, boolean staticMethod, Class<?> returnType, String methodName, Class<?>[] parameterTypes, String[] parameterNames, Class<?>[] thrownExceptions, Java.BlockStatement[] statements) Parser.parseMethodDeclaration()
Equivalent withparseMethodDeclaration(false, MethodDeclarationContext.CLASS_DECLARATION)
.Parser.parseMethodDeclaration
(boolean allowDefaultClause, Parser.MethodDeclarationContext context) MethodDeclaration := [ DocComment ] Modifiers [ TypeParameters ] VoidOrType Identifier MethodDeclarationRestParser.parseMethodDeclarationRest
(String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, boolean allowDefaultClause, Parser.MethodDeclarationContext context) MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] [ 'default' expression ] ( ';' | MethodBody )Methods in org.codehaus.janino that return types with arguments of type Java.MethodDeclaratorModifier and TypeMethodDescriptionJava.AbstractTypeDeclaration.getMethodDeclarations()
Java.TypeDeclaration.getMethodDeclarations()
Methods in org.codehaus.janino with parameters of type Java.MethodDeclaratorModifier and TypeMethodDescriptionvoid
Java.AbstractTypeDeclaration.addDeclaredMethod
(Java.MethodDeclarator method) Adds oneJava.MethodDeclarator
to this type.(package private) void
ScriptEvaluator.cook
(String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations, Java.BlockStatement[][] statementss, Java.MethodDeclarator[][] localMethodss) UnitCompiler.toIMethod
(Java.MethodDeclarator methodDeclarator) private void
Unparser.unparseMethodDeclarator
(Java.MethodDeclarator md) Visitor.FunctionDeclaratorVisitor.visitMethodDeclarator
(Java.MethodDeclarator md) Method parameters in org.codehaus.janino with type arguments of type Java.MethodDeclaratorModifier and TypeMethodDescriptionfinal void
ScriptEvaluator.cook
(Java.CompilationUnit compilationUnit, Collection<Java.MethodDeclarator> methodDeclarators) -
Uses of Java.MethodDeclarator in org.codehaus.janino.util
Methods in org.codehaus.janino.util that return Java.MethodDeclaratorMethods in org.codehaus.janino.util with parameters of type Java.MethodDeclaratorModifier and TypeMethodDescriptionDeepCopier.copyMethodDeclarator
(Java.MethodDeclarator subject) void
AbstractTraverser.traverseMethodDeclarator
(Java.MethodDeclarator md) void
Traverser.traverseMethodDeclarator
(Java.MethodDeclarator md)