| Package | Description |
|---|---|
| org.codehaus.janino |
The core of the Janino JavaTM compiler.
|
| org.codehaus.janino.util |
Application-independent helper classes.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Java.AbstractAnnotation
Convenience class.
|
static class |
Java.MarkerAnnotation
Representation of a "marker annotation", i.e. an annotation without any elements in parentheses.
|
static class |
Java.NormalAnnotation
A "normal annotation", i.e. an annotation with multiple elements in parentheses and curly braces.
|
static class |
Java.SingleElementAnnotation
Representation of a "single-element annotation", i.e. an annotation followed by a single element in parentheses.
|
| Modifier and Type | Field and Description |
|---|---|
Java.Annotation[] |
Java.Modifiers.annotations
The annotations.
|
| Modifier and Type | Field and Description |
|---|---|
List<Java.Annotation> |
Java.EnumConstant.annotations
The (often empty) list of annotations on this enum constant declaration.
|
| Modifier and Type | Method and Description |
|---|---|
Java.Annotation[] |
Java.AbstractTypeDeclaration.getAnnotations() |
Java.Annotation[] |
Java.EnumConstant.getAnnotations() |
Java.Annotation[] |
Java.FunctionDeclarator.getAnnotations() |
Java.Annotation[] |
Java.Annotatable.getAnnotations() |
Java.Annotation[] |
Java.FieldDeclaration.getAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
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 given
Java.AbstractClassDeclaration, adds
A public method declaration with the given return type, name, parameter names and values and thrown
exceptions
A block
|
R |
Visitor.ElementValueVisitor.visitAnnotation(Java.Annotation a)
|
| Constructor and Description |
|---|
Modifiers(short modifiers,
Java.Annotation[] annotations) |
| Constructor and Description |
|---|
EnumConstant(Location location,
String optionalDocComment,
List<Java.Annotation> annotations,
String name,
Java.Rvalue[] optionalArguments) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Traverser.traverseAnnotation(Java.Annotation a) |
void |
Traverser.visitAnnotation(Java.Annotation a) |
Copyright © 2017. All rights reserved.