Uses of Interface
org.codehaus.janino.Java.Annotation
Packages that use Java.Annotation
Package
Description
The core of the Janino Java compiler.
Application-independent helper classes.
-
Uses of Java.Annotation in org.codehaus.janino
Classes in org.codehaus.janino that implement Java.AnnotationModifier and TypeClassDescriptionstatic class
Convenience class.static final class
Representation of a "marker annotation", i.e.static final class
A "normal annotation", i.e.static final class
Representation of a "single-element annotation", i.e.Fields in org.codehaus.janino declared as Java.AnnotationModifier and TypeFieldDescriptionfinal Java.Annotation[]
Java.ReferenceType.annotations
The "type annotations" of this type, see JLS9, 9.7.4.Methods in org.codehaus.janino that return Java.AnnotationModifier and TypeMethodDescriptionJava.AbstractTypeBodyDeclaration.getAnnotations()
Java.AbstractTypeDeclaration.getAnnotations()
Java.Annotatable.getAnnotations()
Java.FieldDeclaration.getAnnotations()
Java.FunctionDeclarator.getAnnotations()
private static Java.Annotation[]
Java.getAnnotations
(Java.Modifier[] modifiers) Java.PackageMemberInterfaceDeclaration.getAnnotations()
private Java.Annotation
Parser.parseAnnotation()
Annotation := MarkerAnnotation // JLS7 9.7.2 | SingleElementAnnotation // JLS7 9.7.3 | NormalAnnotation // JLS7 9.7.1 MarkerAnnotation := '@' Identifier SingleElementAnnotation := '@' Identifier '(' ElementValue ')' NormalAnnotation := '@' TypeName '(' ElementValuePairsOpt ')' ElementValuePairsOpt := [ ElementValuePair { ',' ElementValuePair } ]Methods in org.codehaus.janino with parameters of type Java.AnnotationModifier and TypeMethodDescriptionprivate void
UnitCompiler.compileAnnotations
(Java.Annotation[] annotations, Annotatable target, ClassFile cf) Converts and adds the annotations to the target.private IClass.IField
UnitCompiler.compileField
(Java.TypeDeclaration declaringType, Java.Annotation[] annotations, Access access, boolean statiC, boolean finaL, Java.Type type, int brackets, String name, Java.ArrayInitializerOrRvalue initializer) Compiles one variable declarator into anIClass.IField
.private Java.MethodDeclarator
ScriptEvaluator.makeMethodDeclaration
(Location location, Java.Annotation[] annotations, boolean staticMethod, Class<?> returnType, String methodName, Class<?>[] parameterTypes, String[] parameterNames, Class<?>[] thrownExceptions, Java.BlockStatement[] statements) private IClass.IAnnotation
UnitCompiler.toIAnnotation
(Java.Annotation annotation) private IClass.IAnnotation[]
UnitCompiler.toIAnnotations
(Java.Annotation[] annotations) private void
Unparser.unparseAnnotations
(Java.Annotation[] annotations) Visitor.ElementValueVisitor.visitAnnotation
(Java.Annotation a) Constructors in org.codehaus.janino with parameters of type Java.AnnotationModifierConstructorDescriptionReferenceType
(Location location, Java.Annotation[] annotations, String[] identifiers, Java.TypeArgument[] typeArguments) -
Uses of Java.Annotation in org.codehaus.janino.util
Fields in org.codehaus.janino.util with type parameters of type Java.AnnotationModifier and TypeFieldDescriptionprivate final Visitor.AnnotationVisitor<Java.Annotation,
CompileException> DeepCopier.annotationCopier
Methods in org.codehaus.janino.util that return Java.AnnotationModifier and TypeMethodDescriptionDeepCopier.copyAnnotation
(Java.Annotation subject) DeepCopier.copyAnnotations
(Java.Annotation[] subject) DeepCopier.copyMarkerAnnotation
(Java.MarkerAnnotation subject) DeepCopier.copyNormalAnnotation
(Java.NormalAnnotation subject) DeepCopier.copySingleElementAnnotation
(Java.SingleElementAnnotation subject) Methods in org.codehaus.janino.util with parameters of type Java.AnnotationModifier and TypeMethodDescriptionDeepCopier.copyAnnotation
(Java.Annotation subject) DeepCopier.copyAnnotations
(Java.Annotation[] subject) void
AbstractTraverser.traverseAnnotation
(Java.Annotation a) void
Traverser.traverseAnnotation
(Java.Annotation a) void
AbstractTraverser.visitAnnotation
(Java.Annotation a) void
Traverser.visitAnnotation
(Java.Annotation a)