Uses of Class
org.codehaus.janino.Java.MethodDeclarator
-
Packages that use Java.MethodDeclarator Package Description org.codehaus.janino The core of the Janino Java compiler.org.codehaus.janino.util Application-independent helper classes. -
-
Uses of Java.MethodDeclarator in org.codehaus.janino
Fields in org.codehaus.janino with type parameters of type Java.MethodDeclarator Modifier and Type Field Description private java.util.List<Java.MethodDeclarator>
Java.AbstractTypeDeclaration. declaredMethods
Methods in org.codehaus.janino that return Java.MethodDeclarator Modifier and Type Method Description Java.MethodDeclarator
Java.AbstractTypeDeclaration. getMethodDeclaration(java.lang.String name)
Java.MethodDeclarator
Java.TypeDeclaration. getMethodDeclaration(java.lang.String name)
Returns the first method declared with the given name.private Java.MethodDeclarator
ScriptEvaluator. makeMethodDeclaration(Location location, Java.Annotation[] annotations, boolean staticMethod, java.lang.Class<?> returnType, java.lang.String methodName, java.lang.Class<?>[] parameterTypes, java.lang.String[] parameterNames, java.lang.Class<?>[] thrownExceptions, Java.BlockStatement[] statements)
Java.MethodDeclarator
Parser. parseMethodDeclaration()
Equivalent withparseMethodDeclaration(false, MethodDeclarationContext.CLASS_DECLARATION)
.Java.MethodDeclarator
Parser. parseMethodDeclaration(boolean allowDefaultClause, Parser.MethodDeclarationContext context)
MethodDeclaration := [ DocComment ] Modifiers [ TypeParameters ] VoidOrType Identifier MethodDeclarationRestJava.MethodDeclarator
Parser. parseMethodDeclarationRest(java.lang.String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, java.lang.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.MethodDeclarator Modifier and Type Method Description java.util.List<Java.MethodDeclarator>
Java.AbstractTypeDeclaration. getMethodDeclarations()
java.util.List<Java.MethodDeclarator>
Java.TypeDeclaration. getMethodDeclarations()
Methods in org.codehaus.janino with parameters of type Java.MethodDeclarator Modifier and Type Method Description void
Java.AbstractTypeDeclaration. addDeclaredMethod(Java.MethodDeclarator method)
Adds oneJava.MethodDeclarator
to this type.(package private) void
ScriptEvaluator. cook(java.lang.String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations, Java.BlockStatement[][] statementss, Java.MethodDeclarator[][] localMethodss)
IClass.IMethod
UnitCompiler. toIMethod(Java.MethodDeclarator methodDeclarator)
private void
Unparser. unparseMethodDeclarator(Java.MethodDeclarator md)
R
Visitor.FunctionDeclaratorVisitor. visitMethodDeclarator(Java.MethodDeclarator md)
Method parameters in org.codehaus.janino with type arguments of type Java.MethodDeclarator Modifier and Type Method Description void
ScriptEvaluator. cook(Java.CompilationUnit compilationUnit, java.util.Collection<Java.MethodDeclarator> methodDeclarators)
-
Uses of Java.MethodDeclarator in org.codehaus.janino.util
Methods in org.codehaus.janino.util that return Java.MethodDeclarator Modifier and Type Method Description Java.MethodDeclarator
DeepCopier. copyMethodDeclarator(Java.MethodDeclarator subject)
Methods in org.codehaus.janino.util with parameters of type Java.MethodDeclarator Modifier and Type Method Description Java.MethodDeclarator
DeepCopier. copyMethodDeclarator(Java.MethodDeclarator subject)
void
AbstractTraverser. traverseMethodDeclarator(Java.MethodDeclarator md)
void
Traverser. traverseMethodDeclarator(Java.MethodDeclarator md)
-