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.
|
Modifier and Type | Method and Description |
---|---|
Java.MethodDeclarator |
Java.TypeDeclaration.getMethodDeclaration(java.lang.String name)
Return the first method declared with the given name.
|
Java.MethodDeclarator |
Java.AbstractTypeDeclaration.getMethodDeclaration(java.lang.String name) |
protected Java.MethodDeclarator |
ScriptEvaluator.makeMethodDeclaration(Location location,
boolean staticMethod,
java.lang.Class returnType,
java.lang.String methodName,
java.lang.Class[] parameterTypes,
java.lang.String[] parameterNames,
java.lang.Class[] thrownExceptions,
java.util.List statements)
To the given
Java.ClassDeclaration , add
A public method declaration with the given return type, name, parameter
names and values and thrown exceptions
A block
|
Java.MethodDeclarator |
Parser.parseMethodDeclarationRest(java.lang.String optionalDocComment,
short modifiers,
Java.Type type,
java.lang.String name)
MethodDeclarationRest :=
FormalParameters
{ '[' ']' }
[ 'throws' ReferenceTypeList ]
( ';' | MethodBody )
|
Modifier and Type | Method and Description |
---|---|
void |
Java.AbstractTypeDeclaration.addDeclaredMethod(Java.MethodDeclarator method) |
IClass.IMethod |
UnitCompiler.toIMethod(Java.MethodDeclarator md) |
void |
UnparseVisitor.visitMethodDeclarator(Java.MethodDeclarator md) |
void |
Visitor.TypeBodyDeclarationVisitor.visitMethodDeclarator(Java.MethodDeclarator md) |
Modifier and Type | Method and Description |
---|---|
void |
Traverser.traverseMethodDeclarator(Java.MethodDeclarator md) |
Copyright © 2001-2012. All Rights Reserved.