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.declaredMethodsMethods 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.MethodDeclaratorScriptEvaluator.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 TypeMethodDescriptionvoidJava.AbstractTypeDeclaration.addDeclaredMethod(Java.MethodDeclarator method) Adds oneJava.MethodDeclaratorto this type.(package private) voidScriptEvaluator.cook(String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations, Java.BlockStatement[][] statementss, Java.MethodDeclarator[][] localMethodss) UnitCompiler.toIMethod(Java.MethodDeclarator methodDeclarator) private voidUnparser.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 voidScriptEvaluator.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) voidAbstractTraverser.traverseMethodDeclarator(Java.MethodDeclarator md) voidTraverser.traverseMethodDeclarator(Java.MethodDeclarator md)