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.MethodDeclaratorJava.AbstractTypeDeclaration. getMethodDeclaration(String name)Java.MethodDeclaratorJava.TypeDeclaration. getMethodDeclaration(String name)Return the first method declared with the given name.protected Java.MethodDeclaratorScriptEvaluator. 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.MethodDeclaratorParser. 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 voidJava.AbstractTypeDeclaration. addDeclaredMethod(Java.MethodDeclarator method)Adds oneJava.MethodDeclaratorto this type.IClass.IMethodUnitCompiler. toIMethod(Java.MethodDeclarator methodDeclarator)voidUnparseVisitor. visitMethodDeclarator(Java.MethodDeclarator md)voidVisitor.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 voidTraverser. traverseMethodDeclarator(Java.MethodDeclarator md)
-