Uses of Class
org.codehaus.janino.Java.MethodDeclarator
-
Packages that use Java.MethodDeclarator Package Description org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler.org.codehaus.janino.util Application-independent helper classes. -
-
Uses of Java.MethodDeclarator in org.codehaus.janino
Methods in org.codehaus.janino that return Java.MethodDeclarator Modifier and Type Method Description Java.MethodDeclarator
Java.AbstractTypeDeclaration. getMethodDeclaration(String name)
Java.MethodDeclarator
Java.TypeDeclaration. getMethodDeclaration(String name)
Return the first method declared with the given name.protected Java.MethodDeclarator
ScriptEvaluator. makeMethodDeclaration(Location location, Java.Annotation[] annotations, boolean staticMethod, Class returnType, String methodName, Class[] parameterTypes, String[] parameterNames, Class[] thrownExceptions, List<Java.BlockStatement> statements)
To the givenJava.ClassDeclaration
, add A public method declaration with the given return type, name, parameter names and values and thrown exceptions A blockJava.MethodDeclarator
Parser. parseMethodDeclarationRest(String optionalDocComment, Java.Modifiers modifiers, Java.Type type, String name)
MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] ( ';' | MethodBody )Methods in org.codehaus.janino that return types with arguments of type Java.MethodDeclarator Modifier and Type Method Description List<Java.MethodDeclarator>
Java.AbstractTypeDeclaration. getMethodDeclarations()
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.IClass.IMethod
UnitCompiler. toIMethod(Java.MethodDeclarator methodDeclarator)
void
UnparseVisitor. visitMethodDeclarator(Java.MethodDeclarator md)
void
Visitor.FunctionDeclaratorVisitor. visitMethodDeclarator(Java.MethodDeclarator md)
Invoked byaccept(Visitor.TypeBodyDeclarationVisitor)
-
Uses of Java.MethodDeclarator in org.codehaus.janino.util
Methods in org.codehaus.janino.util with parameters of type Java.MethodDeclarator Modifier and Type Method Description void
Traverser. traverseMethodDeclarator(Java.MethodDeclarator md)
-