Uses of Annotation Type
org.codehaus.commons.nullanalysis.Nullable
Packages that use Nullable
Package
Description
This package declares interfaces for the implementation of an
IExpressionEvaluator
, an IScriptEvaluator
, an
IClassBodyEvaluator
and an ISimpleCompiler
.An implementation of the
org.codehaus.commons.compiler
API that uses the "JAVAC" Java compiler that is
part of the "Java Development Kit" (JDK).Utility functionality for this project.
Utility functionality related to
java.util.reflect
.Classes related to loading "resources" (
ResourceFinder
) and
creating resources (ResourceCreator
).The core of the Janino Java compiler.
Application-independent helper classes.
Application-independent helper classes.
-
Uses of Nullable in org.codehaus.commons.compiler
Fields in org.codehaus.commons.compiler with annotations of type NullableModifier and TypeFieldDescriptionprotected File[]
AbstractCompiler.bootClassPath
This is always non-null
for JVMs that support BOOTCLASSPATH (1.0-1.8), and this is alwaysnull
for JVMs that don't (9+).protected ErrorHandler
AbstractCompiler.compileErrorHandler
Stores the value configured withAbstractCompiler.setCompileErrorHandler(ErrorHandler)
.static final File
ICompiler.NO_DESTINATION_DIRECTORY
Special value forICompiler.setDestinationDirectory(File, boolean)
's first parameter: Indicates that .class files are to be created in the directory of the .java file from which they are generated.AbstractJavaSourceClassLoader.protectionDomainFactory
protected WarningHandler
AbstractCompiler.warningHandler
Stores the value configured withAbstractCompiler.setWarningHandler(WarningHandler)
.Methods in org.codehaus.commons.compiler with annotations of type NullableModifier and TypeMethodDescriptionIExpressionEvaluator.evaluate()
Shorthand forevaluate
(new Object[0])
.Same asIExpressionEvaluator.evaluate(Object[])
, but for multiple expressions.Evaluates the expression with concrete parameter values.IScriptEvaluator.evaluate()
Shorthand forevaluate
(new Object[0])
.Same asIScriptEvaluator.evaluate(Object[])
, but for multiple scripts.Calls the script with concrete parameter values.Location.getFileName()
LocatedException.getLocation()
Method parameters in org.codehaus.commons.compiler with annotations of type NullableModifier and TypeMethodDescriptionfinal void
Cookable.cook
(InputStream is, String encoding) final void
Cookable.cook
(String fileName, InputStream is) final void
Cookable.cook
(String fileName, InputStream is, String encoding) final void
Cookable.cook
(String fileName, InputStream is, String encoding) abstract void
final void
void
ICookable.cook
(InputStream is, String encoding) Reads, scans, parses and compiles Java tokens from the givenInputStream
with the givenencoding
.void
ICookable.cook
(String fileName, InputStream is) Reads, scans, parses and compiles Java tokens from the givenInputStream
, encoded in the "platform default encoding".void
ICookable.cook
(String fileName, InputStream is, String encoding) Reads, scans, parses and compiles Java tokens from the givenInputStream
with the givenencoding
.void
ICookable.cook
(String fileName, InputStream is, String encoding) Reads, scans, parses and compiles Java tokens from the givenInputStream
with the givenencoding
.void
Reads, scans, parses and compiles Java tokens from the givenReader
.void
Reads, scans, parses and compiles Java tokens from the givenString
.final void
final void
void
Reads, scans, parses and compiles Java tokens from the givenFile
with the givenencoding
.void
Reads, scans, parses and compiles Java tokens from the named file with the given encoding.Same asIExpressionEvaluator.evaluate(Object[])
, but for multiple expressions.Evaluates the expression with concrete parameter values.Same asIScriptEvaluator.evaluate(Object[])
, but for multiple scripts.Calls the script with concrete parameter values.void
ErrorHandler.handleError
(String message, Location location) May or may not choose to throw aCompileException
.void
WarningHandler.handleWarning
(String handle, String message, Location location) May or may not choose to throw aCompileException
.void
WarningHandler.handleWarning
(String handle, String message, Location location) May or may not choose to throw aCompileException
.final void
AbstractCompiler.setCharacterEncoding
(String characterEncoding) void
ICompiler.setCharacterEncoding
(String characterEncoding) Deprecated.void
AbstractCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
IClassBodyEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
ICompiler.setCompileErrorHandler
(ErrorHandler errorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
IExpressionEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
IScriptEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
ISimpleCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which is invoked during compilation on each error.final void
AbstractCompiler.setDestinationDirectory
(File destinationDirectory, boolean rebuild) void
ICompiler.setDestinationDirectory
(File destinationDirectory, boolean rebuild) Equivalent of -d and-rebuild
.void
IClassBodyEvaluator.setExtendedClass
(Class<?> extendedClass) Sets a particular superclass that the generated class will extend.void
IClassBodyEvaluator.setExtendedType
(Class<?> extendedClass) Deprecated.UseIClassBodyEvaluator.setExtendedClass(Class)
insteadvoid
IScriptEvaluator.setMethodName
(String methodName) Defines the name of the generated method.void
IClassBodyEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) The "parent class loader" is used to load referenced classes.void
IExpressionEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) The "parent class loader" is used to load referenced classes.void
IScriptEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) The "parent class loader" is used to load referenced classes.void
ISimpleCompiler.setParentClassLoader
(ClassLoader parentClassLoader) The "parent class loader" is used to load referenced classes.final void
AbstractJavaSourceClassLoader.setProtectionDomainFactory
(AbstractJavaSourceClassLoader.ProtectionDomainFactory protectionDomainFactory) void
AbstractJavaSourceClassLoader.setSourceFileCharacterEncoding
(String charsetName) void
AbstractCompiler.setWarningHandler
(WarningHandler warningHandler) void
IClassBodyEvaluator.setWarningHandler
(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler
.void
IExpressionEvaluator.setWarningHandler
(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler
.void
IScriptEvaluator.setWarningHandler
(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler
.void
ISimpleCompiler.setWarningHandler
(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler
which is invoked for each warning.Constructor parameters in org.codehaus.commons.compiler with annotations of type NullableModifierConstructorDescriptionCompileException
(String message, Location location) An infix"NYI"
in the message string indicates that the compiler has a known limitation here.CompileException
(String message, Location location, Throwable cause) An infix"NYI"
in the message string indicates that the compiler has a known limitation here.InternalCompilerException
(String message) InternalCompilerException
(String message, Throwable t) InternalCompilerException
(Location location, String message) InternalCompilerException
(Location location, String message) InternalCompilerException
(Location location, String message, Throwable t) InternalCompilerException
(Location location, String message, Throwable t) LocatedException
(String message, Location location) LocatedException
(String message, Location location, Throwable cause) LocatedException
(String message, Location location, Throwable cause) -
Uses of Nullable in org.codehaus.commons.compiler.jdk
Methods in org.codehaus.commons.compiler.jdk with annotations of type NullableMethod parameters in org.codehaus.commons.compiler.jdk with annotations of type NullableModifier and TypeMethodDescriptionprotected void
Derived classes call this method to "reset" the current line and column number at the currently read input character, and also changes the "file name" (seeSimpleCompiler.cook(String, Reader)
).void
void
protected void
void
void
void
protected Reader
ClassBodyEvaluator.newFileName
(String fileName, Reader reader) Sets the given file name, and the current line number to 1, and the current column number to 1, when the firstchar
is read from the reader.void
ClassBodyEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ExpressionEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ScriptEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
SimpleCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ClassBodyEvaluator.setExtendedClass
(Class<?> extendedType) void
ExpressionEvaluator.setExtendedClass
(Class<?> extendedType) void
ScriptEvaluator.setExtendedClass
(Class<?> extendedClass) void
ClassBodyEvaluator.setExtendedType
(Class<?> extendedClass) Deprecated.UseClassBodyEvaluator.setExtendedClass(Class)
insteadvoid
ScriptEvaluator.setMethodName
(String methodName) void
ClassBodyEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) void
ExpressionEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) void
ScriptEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) void
SimpleCompiler.setParentClassLoader
(ClassLoader parentClassLoader) void
SimpleCompiler.setParentClassLoader
(ClassLoader parentClassLoader, Class<?>[] auxiliaryClasses) Deprecated.Auxiliary classes never really worked...void
ClassBodyEvaluator.setWarningHandler
(WarningHandler warningHandler) void
ExpressionEvaluator.setWarningHandler
(WarningHandler warningHandler) void
ScriptEvaluator.setWarningHandler
(WarningHandler warningHandler) void
SimpleCompiler.setWarningHandler
(WarningHandler warningHandler) Constructor parameters in org.codehaus.commons.compiler.jdk with annotations of type NullableModifierConstructorDescriptionExpressionEvaluator
(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator
(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator
(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(String fileName, InputStream is, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(String fileName, InputStream is, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(String fileName, Reader reader, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(String fileName, Reader reader, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent to -
Uses of Nullable in org.codehaus.commons.compiler.jdk.util
Method parameters in org.codehaus.commons.compiler.jdk.util with annotations of type NullableModifier and TypeMethodDescriptionboolean
JavaFileObjects.ResourceJavaFileObject.isNameCompatible
(String simpleName, JavaFileObject.Kind kind) boolean
JavaFileObjects.ResourceJavaFileObject.isNameCompatible
(String simpleName, JavaFileObject.Kind kind) -
Uses of Nullable in org.codehaus.commons.compiler.lang
Method parameters in org.codehaus.commons.compiler.lang with annotations of type NullableModifier and TypeMethodDescriptionstatic ClassLoader
ClassLoaders.getsResourceAsStream
(ResourceFinder finder, ClassLoader parent) Creates and returns aClassLoader
that implementsClassLoader.getResourceAsStream(String)
via aResourceFinder
.ClassLoaders.getSubresources
(ClassLoader classLoader, String name, boolean includeDirectories, boolean recurse) Returns a name-to-URL mapping of all resources "under" a given directory name. -
Uses of Nullable in org.codehaus.commons.compiler.util
Methods in org.codehaus.commons.compiler.util with annotations of type NullableModifier and TypeMethodDescriptionstatic String
SystemProperties.getClassProperty
(Class<?> targetClass, String classPropertyName) static String
SystemProperties.getClassProperty
(Class<?> targetClass, String classPropertyName, String defaultValue) Gets the value of a "class property".static File[]
StringUtil.parseOptionalPath
(String s) Producer.produce()
Produces the next object.Method parameters in org.codehaus.commons.compiler.util with annotations of type NullableModifier and TypeMethodDescriptionboolean
protected Class
<?> static String
SystemProperties.getClassProperty
(Class<?> targetClass, String classPropertyName, String defaultValue) Gets the value of a "class property".static File[]
StringUtil.parseOptionalPath
(String s) static int
Numbers.parseUnsignedInt
(String s, int radix) Counterpart ofInteger.parseInt(String, int)
for parsing unsigned integers.static long
Numbers.parseUnsignedLong
(String s, int radix) Counterpart ofLong.parseLong(String, int)
for parsing unsigned integers.void
Reports thetitle
, a colon, a space, and the pretty-printedObject
.void
Reports thetitle
, a colon, a space, and the pretty-printedObject
.Constructor parameters in org.codehaus.commons.compiler.util with annotations of type Nullable -
Uses of Nullable in org.codehaus.commons.compiler.util.iterator
Method parameters in org.codehaus.commons.compiler.util.iterator with annotations of type NullableModifier and TypeMethodDescriptionvoid
void
-
Uses of Nullable in org.codehaus.commons.compiler.util.reflect
Method parameters in org.codehaus.commons.compiler.util.reflect with annotations of type NullableModifier and TypeMethodDescriptionprotected Class
<?> ImplementsClassLoader.findClass(String)
.static <R,
EX extends Throwable>
RA wrapper formethod.invoke(obj, args)
that catches any exception, wraps it in anAssertionError
, and throws that. -
Uses of Nullable in org.codehaus.commons.compiler.util.resource
Methods in org.codehaus.commons.compiler.util.resource with annotations of type NullableModifier and TypeMethodDescriptionMapResourceFinder.addResource
(String fileName, byte[] data) Adds anotherResource
, so that it can later be found withMapResourceFinder.findResource(String)
,ResourceFinder.findResourceAsStream(String)
andMapResourceFinder.resources()
.MapResourceFinder.addResource
(String fileName, String data) final Resource
FileResourceFinder.findResource
(String resourceName) final Resource
MapResourceFinder.findResource
(String resourceName) final Resource
MultiResourceFinder.findResource
(String resourceName) abstract Resource
ResourceFinder.findResource
(String resourceName) Finds a resource by name and return it as aResource
object.final Resource
ZipFileResourceFinder.findResource
(String resourceName) protected final File
DirectoryResourceFinder.findResourceAsFile
(String resourceName) protected abstract File
FileResourceFinder.findResourceAsFile
(String resourceName) Converts a given resource resource name into aFile
.final InputStream
ResourceFinder.findResourceAsStream
(String resourceName) Finds a resource by name and open it for reading.Returns all resources who's names start with a given string. -
Uses of Nullable in org.codehaus.janino
Fields in org.codehaus.janino with annotations of type NullableModifier and TypeFieldDescriptionfinal Java.Rvalue[]
Java.EnumConstant.arguments
The optional arguments that appear after the enum constant name iff the enum declares constructors with one or more parameters.final IClass
Java.NewInitializedArray.arrayIClass
The resolvedJava.NewInitializedArray.arrayType
.final Java.ArrayType
Java.NewInitializedArray.arrayType
The array type to be instantiated.final Java.ReferenceType[]
Java.TypeParameter.bound
The optional bound of the type parameter.final Java.Rvalue
Java.ForStatement.condition
The optional "condition" part of the "basic FOR statement".Java.ConstructorDeclarator.constructorInvocation
TheJava.AlternateConstructorInvocation
orJava.SuperConstructorInvocation
, if any.Java.MethodDeclarator.defaultValue
The optional "default value" of the declared method (only methods of annotation types can have a default value).final String
Java.EnumConstant.docComment
The optional "doc comment" that appeared in the compilation unit immediately before this enum constant declaration.final Java.BlockStatement
Java.IfStatement.elseStatement
The optional ELSE statement, which is executed iff the condition evaluates to FALSE.final Java.Rvalue
Java.AssertStatement.expression2
The optional right-hand-side expression of this ASSERT statement.final Java.Type
Java.NamedClassDeclaration.extendedType
The type of the extended class.final String
Java.AbstractCompilationUnit.fileName
A string that explains the "file" (or similar resource) where this compilation unit was loaded from.final Java.Block
Java.TryStatement.finallY
The optional "finally" block of the TRY statement.final Java.BlockStatement
Java.ForStatement.init
The optional "init" part of the "basic FOR statement".Java.VariableDeclarator.initializer
The initializer for the variable, if any.Java.NewClassInstance.iType
The resolvedJava.NewClassInstance.type
.final String
Java.BreakStatement.label
The optional label that this BREAK statement refers to.final String
Java.ContinueStatement.label
The optional label that this CONTINUE statement refers to.Java.CatchParameter.localVariable
The local variable associated with this parameter.Java.FunctionDeclarator.FormalParameter.localVariable
The local variable associated with this parameter.Java.VariableDeclarator.localVariable
Used only if the variable declarator declares a local variable.Java.ConstructorInvocation.localVariables
The local variables that are accessible during the compilation of the constructor invocation.Java.FunctionDeclarator.localVariables
Mapping of variable names toJava.LocalVariable
s.Java.Statement.localVariables
The map of currently visible local variables.IClassLoader.METH_java_lang_Throwable__addSuppressed
Java.CompilationUnit.packageDeclaration
The package declaration at the very top of this compilation unit (if any).final Java.Rvalue
Java.NewAnonymousClassInstance.qualification
The qualification iff this a "qualified anonymous class instance creation expression".final Java.Rvalue
Java.NewClassInstance.qualification
The qualification of this "qualified class instance creation expression".final Java.Type
Java.SuperclassFieldAccessExpression.qualification
The optional qualification before ".super.fld
".final Java.Rvalue
Java.SuperConstructorInvocation.qualification
The qualification for this "qualified superclass constructor invocation", ornull
iff this is an "unqualified superclass constructor invocation".final Java.ReferenceType
Java.Wildcard.referenceType
The reference type of this wildcard's EXTENDS or SUPER bounds.final Java.Rvalue
Java.ReturnStatement.returnValue
The optional rvalue that is returned.Java.LocalVariable.slot
The slot reserved for this local variable.final List
<? extends Java.BlockStatement> Java.FunctionDeclarator.statements
The statements that comprise the function;null
for abstract method declarations.final Java.Atom
Java.MethodInvocation.target
The optional type or rvalue that qualifies this method invocation.final String[][]
Java.ExportsModuleDirective.toModuleNames
The names of the modules for which the public and protected types in this package, and their public and protected members, are accessible.final String[][]
Java.OpensModuleDirective.toModuleNames
The names of the modules for which the public and protected types in this package, and their public and protected members, are accessible.final Java.Type
Java.NewClassInstance.type
The type to instantiate.final Java.TypeArgument[]
Java.ClassInstanceCreationReference.typeArguments
The optional type arguments for theJava.ClassInstanceCreationReference.type
.final Java.TypeArgument[]
Java.ReferenceType.typeArguments
The optional type arguments of the reference type.final Java.TypeParameter[]
Java.MethodDeclarator.typeParameters
The type parameters declared for the method.final Java.Rvalue[]
Java.ForStatement.update
The optional "update" part of the "basic FOR statement".protected CodeContext.Offset
Java.ContinuableStatement.whereToContinue
This one's filled in by the first CONTINUE statement, and isCodeContext.Offset.set()
by this continuable statement.Methods in org.codehaus.janino with annotations of type NullableModifier and TypeMethodDescriptionfinal <R,
EX extends Throwable>
RJava.AbstractAnnotation.accept
(Visitor.ElementValueVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.AbstractAnnotation.accept
(Visitor.ModifierVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.AbstractCompilationUnit.accept
(Visitor.AbstractCompilationUnitVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.AbstractCompilationUnitVisitor
for the concreteJava.AbstractCompilationUnit
type.abstract <R,
EX extends Throwable>
RJava.AbstractCompilationUnit.ImportDeclaration.accept
(Visitor.ImportVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.ImportVisitor
for the concreteJava.AbstractCompilationUnit.ImportDeclaration
type.final <R,
EX extends Throwable>
RJava.AbstractCompilationUnit.SingleStaticImportDeclaration.accept
(Visitor.ImportVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.AbstractCompilationUnit.SingleTypeImportDeclaration.accept
(Visitor.ImportVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.AbstractCompilationUnit.StaticImportOnDemandDeclaration.accept
(Visitor.ImportVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.AbstractCompilationUnit.TypeImportOnDemandDeclaration.accept
(Visitor.ImportVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.AccessModifier.accept
(Visitor.ModifierVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.AlternateConstructorInvocation.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.AlternateConstructorInvocation.accept
(Visitor.ConstructorInvocationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.AmbiguousName.accept
(Visitor.LvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Annotation.accept
(Visitor.AnnotationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.AnonymousClassDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ArrayAccessExpression.accept
(Visitor.LvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ArrayCreationReference.accept
(Visitor.RvalueVisitor<R, EX> rvv) <R,
EX extends Throwable>
RJava.ArrayInitializer.accept
(Visitor.ArrayInitializerOrRvalueVisitor<R, EX> aiorvv) <R,
EX extends Throwable>
RJava.ArrayInitializerOrRvalue.accept
(Visitor.ArrayInitializerOrRvalueVisitor<R, EX> aiorvv) <R,
EX extends Throwable>
RJava.ArrayLength.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ArrayType.accept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ArrayType.accept
(Visitor.TypeArgumentVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ArrayType.accept
(Visitor.TypeVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.AssertStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Assignment.accept
(Visitor.RvalueVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.Atom.accept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.BinaryOperation.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Block.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.BlockLambdaBody.accept
(Visitor.LambdaBodyVisitor<R, EX> lbv) <R,
EX extends Throwable>
RJava.BlockStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.BlockStatementVisitor
for the concreteJava.BlockStatement
type.<R,
EX extends Throwable>
RJava.BooleanLiteral.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.BreakStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Cast.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.CharacterLiteral.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ClassInstanceCreationReference.accept
(Visitor.RvalueVisitor<R, EX> rvv) <R,
EX extends Throwable>
RJava.ClassLiteral.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.CompilationUnit.accept
(Visitor.AbstractCompilationUnitVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ConditionalExpression.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ConstructorDeclarator.accept
(Visitor.FunctionDeclaratorVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.ConstructorInvocation.accept
(Visitor.AtomVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.ConstructorInvocation.accept
(Visitor.ConstructorInvocationVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.ConstructorInvocationVisitor
for the concreteJava.ConstructorInvocation
.<R,
EX extends Throwable>
RJava.ContinueStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Crement.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.DoStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ElementValue.accept
(Visitor.ElementValueVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.ElementValueVisitor
for the concreteJava.ElementValue
type.<R,
EX extends Throwable>
RJava.ElementValueArrayInitializer.accept
(Visitor.ElementValueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.EmptyStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.EnumConstant.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ExportsModuleDirective.accept
(Visitor.ModuleDirectiveVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ExpressionLambdaBody.accept
(Visitor.LambdaBodyVisitor<R, EX> lbv) <R,
EX extends Throwable>
RJava.ExpressionStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FieldAccess.accept
(Visitor.LvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FieldAccessExpression.accept
(Visitor.LvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FieldDeclaration.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FieldDeclaration.accept
(Visitor.FieldDeclarationOrInitializerVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FieldDeclaration.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FieldDeclarationOrInitializer.accept
(Visitor.FieldDeclarationOrInitializerVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FloatingPointLiteral.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ForEachStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.FormalLambdaParameters.accept
(Visitor.LambdaParametersVisitor<R, EX> lpv) <R,
EX extends Throwable>
RJava.ForStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.FunctionDeclarator.accept
(Visitor.FunctionDeclaratorVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.FunctionDeclaratorVisitor
for the concreteJava.FunctionDeclarator
type.final <R,
EX extends Throwable>
RJava.FunctionDeclarator.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.IdentifierLambdaParameters.accept
(Visitor.LambdaParametersVisitor<R, EX> lpv) <R,
EX extends Throwable>
RJava.IfStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.InferredLambdaParameters.accept
(Visitor.LambdaParametersVisitor<R, EX> lpv) <R,
EX extends Throwable>
RJava.Initializer.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Initializer.accept
(Visitor.FieldDeclarationOrInitializerVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Initializer.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Instanceof.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.IntegerLiteral.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.LabeledStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.LambdaBody.accept
(Visitor.LambdaBodyVisitor<R, EX> lbv) <R,
EX extends Throwable>
RJava.LambdaExpression.accept
(Visitor.RvalueVisitor<R, EX> rvv) <R,
EX extends Throwable>
RJava.LambdaParameters.accept
(Visitor.LambdaParametersVisitor<R, EX> lpv) Invokes the "visit...()
" method ofVisitor.LambdaParametersVisitor
for the concreteJava.LambdaParameters
.<R,
EX extends Throwable>
RJava.LocalClassDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.LocalClassDeclarationStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.LocalVariableAccess.accept
(Visitor.LvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.LocalVariableDeclarationStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.Lvalue.accept
(Visitor.LvalueVisitor<R, EX> lvv) final <R,
EX extends Throwable>
RJava.Lvalue.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MarkerAnnotation.accept
(Visitor.AnnotationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberAnnotationTypeDeclaration.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberAnnotationTypeDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberClassDeclaration.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberClassDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberEnumDeclaration.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberEnumDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberInterfaceDeclaration.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MemberInterfaceDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MethodDeclarator.accept
(Visitor.FunctionDeclaratorVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MethodInvocation.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.MethodReference.accept
(Visitor.RvalueVisitor<R, EX> rvv) <R,
EX extends Throwable>
RJava.Modifier.accept
(Visitor.ModifierVisitor<R, EX> modifierVisitor) <R,
EX extends Throwable>
RJava.ModularCompilationUnit.accept
(Visitor.AbstractCompilationUnitVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ModuleDirective.accept
(Visitor.ModuleDirectiveVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.ModuleDirectiveVisitor
for the concreteJava.ModuleDirective
type.<R,
EX extends Throwable>
RJava.NewAnonymousClassInstance.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.NewArray.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.NewClassInstance.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.NewInitializedArray.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.NormalAnnotation.accept
(Visitor.AnnotationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.NullLiteral.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.OpensModuleDirective.accept
(Visitor.ModuleDirectiveVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.Package.accept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.PackageMemberAnnotationTypeDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.PackageMemberClassDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.PackageMemberEnumDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.PackageMemberInterfaceDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ParameterAccess.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ParenthesizedExpression.accept
(Visitor.LvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.PrimitiveType.accept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.PrimitiveType.accept
(Visitor.TypeVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ProvidesModuleDirective.accept
(Visitor.ModuleDirectiveVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.QualifiedThisReference.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ReferenceType.accept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ReferenceType.accept
(Visitor.TypeArgumentVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ReferenceType.accept
(Visitor.TypeVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.RequiresModuleDirective.accept
(Visitor.ModuleDirectiveVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ReturnStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.Rvalue.accept
(Visitor.ArrayInitializerOrRvalueVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.Rvalue.accept
(Visitor.AtomVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.Rvalue.accept
(Visitor.ElementValueVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.Rvalue.accept
(Visitor.RvalueVisitor<R, EX> rvv) <R,
EX extends Throwable>
RJava.RvalueMemberType.accept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.RvalueMemberType.accept
(Visitor.TypeVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SimpleConstant.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SimpleType.accept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SimpleType.accept
(Visitor.TypeVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SingleElementAnnotation.accept
(Visitor.AnnotationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.StringLiteral.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SuperclassFieldAccessExpression.accept
(Visitor.LvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SuperclassMethodInvocation.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SuperConstructorInvocation.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SuperConstructorInvocation.accept
(Visitor.ConstructorInvocationVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SwitchStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.SynchronizedStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.TextBlock.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ThisReference.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.ThrowStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.TryStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.TryStatement.LocalVariableDeclaratorResource.accept
(Visitor.TryStatementResourceVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.TryStatement.Resource.accept
(Visitor.TryStatementResourceVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.TryStatementResourceVisitor
for the concreteJava.TryStatement.Resource
type.<R,
EX extends Throwable>
RJava.TryStatement.VariableAccessResource.accept
(Visitor.TryStatementResourceVisitor<R, EX> visitor) abstract <R,
EX extends Throwable>
RJava.Type.accept
(Visitor.TypeVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.TypeArgument.accept
(Visitor.TypeArgumentVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.TypeArgumentVisitor
for the concreteJava.TypeArgument
type.<R,
EX extends Throwable>
RJava.TypeBodyDeclaration.accept
(Visitor.TypeBodyDeclarationVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.TypeBodyDeclarationVisitor
for the concreteJava.TypeBodyDeclaration
type.<R,
EX extends Throwable>
RJava.TypeDeclaration.accept
(Visitor.TypeDeclarationVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.TypeDeclarationVisitor
for the concreteJava.TypeDeclaration
type.<R,
EX extends Throwable>
RJava.UnaryOperation.accept
(Visitor.RvalueVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.UsesModuleDirective.accept
(Visitor.ModuleDirectiveVisitor<R, EX> visitor) <R,
EX extends Throwable>
RJava.WhileStatement.accept
(Visitor.BlockStatementVisitor<R, EX> visitor) final <R,
EX extends Throwable>
RJava.Wildcard.accept
(Visitor.TypeArgumentVisitor<R, EX> visitor) Parser.doc()
Gets the text of the doc comment (a.k.a.TokenStreamImpl.doc()
Gets the text of the doc comment (a.k.a.ExpressionEvaluator.evaluate()
ScriptEvaluator.evaluate()
Finds one class or interface declaration in this compilation unit and resolves it into anIClass
.protected Java.AbstractCompilationUnit
JavaSourceIClassLoader.findCompilationUnit
(String className) Finds the Java source file for the named class through the configured 'source resource finder' and parses it.protected IClass
ClassLoaderIClassLoader.findIClass
(String descriptor) protected abstract IClass
IClassLoader.findIClass
(String descriptor) Finds a newIClass
by descriptor and callsIClassLoader.defineIClass(IClass)
.JavaSourceIClassLoader.findIClass
(String fieldDescriptor) protected IClass
ResourceFinderIClassLoader.findIClass
(String descriptor) final IClass.IConstructor
IClass.findIConstructor
(IClass[] parameterTypes) final IClass.IMethod
IClass.findIMethod
(String methodName, IClass[] parameterTypes) Java.BlockStatement.findLocalVariable
(String name) Java.ConstructorInvocation.findLocalVariable
(String name) Java.Initializer.findLocalVariable
(String name) Java.Statement.findLocalVariable
(String name) UnitCompiler.findMostSpecificIInvocable
(Java.Locatable locatable, IClass.IInvocable[] iInvocables, IClass[] argumentTypes, boolean boxingPermitted, Java.Scope contextScope) Determines the applicable invocables and choose the most specific invocable.CachingJavaSourceClassLoader.generateBytecodes
(String className) OverridesJavaSourceClassLoader.generateBytecodes(String)
to implement class file caching.JavaSourceClassLoader.generateBytecodes
(String name) Finds, scans, parses the right compilation unit.final IClass
IClass.getComponentType()
protected IClass
ClassFileIClass.getComponentType2()
protected abstract IClass
IClass.getComponentType2()
abstract Object
IClass.IField.getConstantValue()
Returns the value of the field if it is a compile-time constant value, i.e.final Object
UnitCompiler.getConstantValue
(Java.ArrayInitializerOrRvalue rv) Attempts to evaluate as a constant expression.final Object
UnitCompiler.getConstantValue
(Java.Rvalue rv) Attempts to evaluate as a constant expression.final IClass.IField
IClass.getDeclaredIField
(String name) Returns the namedIClass.IField
declared in thisIClass
(does not work for inherited fields).final IClass
IClass.getDeclaringIClass()
protected IClass
ClassFileIClass.getDeclaringIClass2()
protected abstract IClass
IClass.getDeclaringIClass2()
Java.DocCommentable.getDocComment()
Java.EnumConstant.getDocComment()
Java.FieldDeclaration.getDocComment()
Java.FunctionDeclarator.getDocComment()
Java.InterfaceDeclaration.getDocComment()
Java.NamedClassDeclaration.getDocComment()
Java.Rvalue.getEnclosingScopeOrNull()
Java.LocalVariableSlot.getEnd()
Scanner.getFileName()
IWildcardType.getLowerBound()
Java.AbstractTypeDeclaration.getMemberTypeDeclaration
(String name) Java.TypeDeclaration.getMemberTypeDeclaration
(String name) Returns the member type with the given name.Java.AbstractTypeDeclaration.getMethodDeclaration
(String name) Java.TypeDeclaration.getMethodDeclaration
(String name) Returns the first method declared with the given name.Java.LocalVariableSlot.getName()
Java.AbstractTypeDeclaration.getOptionalTypeParameters()
Java.NamedTypeDeclaration.getOptionalTypeParameters()
final IClass
IClass.getOuterIClass()
The following types have an "outer class": Anonymous classes declared in a non-static method of a class Local classes declared in a non-static method of a class Non-static member classesprotected IClass
ClassFileIClass.getOuterIClass2()
protected abstract IClass
IClass.getOuterIClass2()
Java.CompilationUnit.getPackageMemberTypeDeclaration
(String name) Returns the package member class or interface declared with the given name.static String
Descriptor.getPackageName
(String d) Returns the package name of a class or interface reference descriptor, ornull
iff the class or interface is declared in the default package.protected final Class
<?> ScriptEvaluator.getReturnType
(int index) String[]
UnitCompiler.getSingleTypeImport
(String name, Location location) Checks if the given simple name was imported through a single type import.Java.LocalVariableSlot.getStart()
final IClass
IClass.getSuperclass()
Returns the superclass of the class.protected IClass
ClassFileIClass.getSuperclass2()
protected abstract IClass
IClass.getSuperclass2()
UnitCompiler.importTypeOnDemand
(String simpleTypeName, Location location) 6.5.2.BL1.B1.B5, 6.5.2.BL1.B1.B6 Type-import-on-demand.
6.5.5.1.6 Type-import-on-demand declaration.final IClass
IClassLoader.loadIClass
(String fieldDescriptor) Gets anIClass
by field descriptor.protected ClassFile.LocalVariableTableAttribute
CodeContext.newLocalVariableTableAttribute()
protected Java.Type
ClassBodyEvaluator.optionalClassToType
(Location location, Class<?> clazz) protected Java.Type
ExpressionEvaluator.optionalClassToType
(Location location, Class<?> clazz) protected Java.Type
ScriptEvaluator.optionalClassToType
(Location loc, Class<?> clazz) protected Java.Type
SimpleCompiler.optionalClassToType
(Location location, Class<?> clazz) Parser.parseOptionalModifier()
Modifier := Annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' | 'default'Checks whether the type of the next token is the suspected; if so, consumes the token.Java.AmbiguousName.toLvalue()
Java.Atom.toLvalue()
Java.Lvalue.toLvalue()
Java.AmbiguousName.toRvalue()
Java.Atom.toRvalue()
Java.Rvalue.toRvalue()
Java.Atom.toType()
Visitor.ModifierVisitor.visitAccessModifier
(Java.AccessModifier am) Visitor.BlockStatementVisitor.visitAlternateConstructorInvocation
(Java.AlternateConstructorInvocation aci) Visitor.ConstructorInvocationVisitor.visitAlternateConstructorInvocation
(Java.AlternateConstructorInvocation aci) Visitor.LvalueVisitor.visitAmbiguousName
(Java.AmbiguousName an) Visitor.ElementValueVisitor.visitAnnotation
(Java.Annotation a) Visitor.TypeDeclarationVisitor.visitAnonymousClassDeclaration
(Java.AnonymousClassDeclaration acd) Visitor.LvalueVisitor.visitArrayAccessExpression
(Java.ArrayAccessExpression aae) Visitor.RvalueVisitor.visitArrayCreationReference
(Java.ArrayCreationReference acr) Visitor.ArrayInitializerOrRvalueVisitor.visitArrayInitializer
(Java.ArrayInitializer ai) Visitor.RvalueVisitor.visitArrayLength
(Java.ArrayLength al) Visitor.TypeArgumentVisitor.visitArrayType
(Java.ArrayType arrayType) Visitor.TypeVisitor.visitArrayType
(Java.ArrayType at) Invoked byJava.ArrayType.accept(Visitor.TypeVisitor)
Visitor.BlockStatementVisitor.visitAssertStatement
(Java.AssertStatement as) Visitor.RvalueVisitor.visitAssignment
(Java.Assignment a) Visitor.RvalueVisitor.visitBinaryOperation
(Java.BinaryOperation bo) Visitor.BlockStatementVisitor.visitBlock
(Java.Block b) Visitor.LambdaBodyVisitor.visitBlockLambdaBody
(Java.BlockLambdaBody blockLambdaBody) Visitor.RvalueVisitor.visitBooleanLiteral
(Java.BooleanLiteral bl) Visitor.BlockStatementVisitor.visitBreakStatement
(Java.BreakStatement bs) Invoked byJava.Cast.accept(Visitor.RvalueVisitor)
Visitor.RvalueVisitor.visitCharacterLiteral
(Java.CharacterLiteral cl) Visitor.RvalueVisitor.visitClassLiteral
(Java.ClassLiteral cl) Visitor.AbstractCompilationUnitVisitor.visitCompilationUnit
(Java.CompilationUnit cu) Visitor.RvalueVisitor.visitConditionalExpression
(Java.ConditionalExpression ce) Visitor.FunctionDeclaratorVisitor.visitConstructorDeclarator
(Java.ConstructorDeclarator cd) Visitor.AtomVisitor.visitConstructorInvocation
(Java.ConstructorInvocation ci) Visitor.BlockStatementVisitor.visitContinueStatement
(Java.ContinueStatement cs) Visitor.RvalueVisitor.visitCrement
(Java.Crement c) Invoked byJava.Crement.accept(Visitor.RvalueVisitor)
Visitor.BlockStatementVisitor.visitDoStatement
(Java.DoStatement ds) Visitor.ElementValueVisitor.visitElementValueArrayInitializer
(Java.ElementValueArrayInitializer evai) Visitor.BlockStatementVisitor.visitEmptyStatement
(Java.EmptyStatement es) Visitor.TypeDeclarationVisitor.visitEnumConstant
(Java.EnumConstant ec) Visitor.ModuleDirectiveVisitor.visitExportsModuleDirective
(Java.ExportsModuleDirective emd) Visitor.LambdaBodyVisitor.visitExpressionLambdaBody
(Java.ExpressionLambdaBody expressionLambdaBody) Visitor.BlockStatementVisitor.visitExpressionStatement
(Java.ExpressionStatement es) Visitor.LvalueVisitor.visitFieldAccess
(Java.FieldAccess fa) Visitor.LvalueVisitor.visitFieldAccessExpression
(Java.FieldAccessExpression fae) Visitor.FieldDeclarationOrInitializerVisitor.visitFieldDeclaration
(Java.FieldDeclaration fd) Visitor.TypeBodyDeclarationVisitor.visitFieldDeclaration
(Java.FieldDeclaration fd) Visitor.RvalueVisitor.visitFloatingPointLiteral
(Java.FloatingPointLiteral fpl) Visitor.BlockStatementVisitor.visitForEachStatement
(Java.ForEachStatement forEachStatement) Visitor.LambdaParametersVisitor.visitFormalLambdaParameters
(Java.FormalLambdaParameters flp) Visitor.BlockStatementVisitor.visitForStatement
(Java.ForStatement fs) Visitor.TypeBodyDeclarationVisitor.visitFunctionDeclarator
(Java.FunctionDeclarator fd) Visitor.LambdaParametersVisitor.visitIdentifierLambdaParameters
(Java.IdentifierLambdaParameters ilp) Visitor.BlockStatementVisitor.visitIfStatement
(Java.IfStatement is) Visitor.LambdaParametersVisitor.visitInferredLambdaParameters
(Java.InferredLambdaParameters ilp) Visitor.FieldDeclarationOrInitializerVisitor.visitInitializer
(Java.Initializer i) Visitor.TypeBodyDeclarationVisitor.visitInitializer
(Java.Initializer i) Visitor.RvalueVisitor.visitInstanceCreationReference
(Java.ClassInstanceCreationReference cicr) Visitor.RvalueVisitor.visitInstanceof
(Java.Instanceof io) Visitor.RvalueVisitor.visitIntegerLiteral
(Java.IntegerLiteral il) Visitor.BlockStatementVisitor.visitLabeledStatement
(Java.LabeledStatement ls) Visitor.RvalueVisitor.visitLambdaExpression
(Java.LambdaExpression le) Visitor.TypeDeclarationVisitor.visitLocalClassDeclaration
(Java.LocalClassDeclaration lcd) Visitor.BlockStatementVisitor.visitLocalClassDeclarationStatement
(Java.LocalClassDeclarationStatement lcds) Visitor.LvalueVisitor.visitLocalVariableAccess
(Java.LocalVariableAccess lva) Visitor.BlockStatementVisitor.visitLocalVariableDeclarationStatement
(Java.LocalVariableDeclarationStatement lvds) Visitor.TryStatementResourceVisitor.visitLocalVariableDeclaratorResource
(Java.TryStatement.LocalVariableDeclaratorResource lvdr) Visitor.RvalueVisitor.visitLvalue
(Java.Lvalue lv) Invoked byJava.Lvalue.accept(Visitor.RvalueVisitor)
Visitor.AnnotationVisitor.visitMarkerAnnotation
(Java.MarkerAnnotation ma) Visitor.TypeBodyDeclarationVisitor.visitMemberAnnotationTypeDeclaration
(Java.MemberAnnotationTypeDeclaration matd) Visitor.TypeDeclarationVisitor.visitMemberAnnotationTypeDeclaration
(Java.MemberAnnotationTypeDeclaration matd) Visitor.TypeBodyDeclarationVisitor.visitMemberClassDeclaration
(Java.MemberClassDeclaration mcd) Visitor.TypeDeclarationVisitor.visitMemberClassDeclaration
(Java.MemberClassDeclaration mcd) Visitor.TypeBodyDeclarationVisitor.visitMemberEnumDeclaration
(Java.MemberEnumDeclaration med) Visitor.TypeDeclarationVisitor.visitMemberEnumDeclaration
(Java.MemberEnumDeclaration med) Visitor.TypeBodyDeclarationVisitor.visitMemberInterfaceDeclaration
(Java.MemberInterfaceDeclaration mid) Visitor.TypeDeclarationVisitor.visitMemberInterfaceDeclaration
(Java.MemberInterfaceDeclaration mid) Visitor.FunctionDeclaratorVisitor.visitMethodDeclarator
(Java.MethodDeclarator md) Visitor.RvalueVisitor.visitMethodInvocation
(Java.MethodInvocation mi) Visitor.RvalueVisitor.visitMethodReference
(Java.MethodReference mr) Visitor.AbstractCompilationUnitVisitor.visitModularCompilationUnit
(Java.ModularCompilationUnit mcu) Visitor.RvalueVisitor.visitNewAnonymousClassInstance
(Java.NewAnonymousClassInstance naci) Visitor.RvalueVisitor.visitNewArray
(Java.NewArray na) Invoked byJava.NewArray.accept(Visitor.RvalueVisitor)
Visitor.RvalueVisitor.visitNewClassInstance
(Java.NewClassInstance nci) Visitor.RvalueVisitor.visitNewInitializedArray
(Java.NewInitializedArray nia) Visitor.AnnotationVisitor.visitNormalAnnotation
(Java.NormalAnnotation na) Visitor.RvalueVisitor.visitNullLiteral
(Java.NullLiteral nl) Visitor.ModuleDirectiveVisitor.visitOpensModuleDirective
(Java.OpensModuleDirective omd) Visitor.AtomVisitor.visitPackage
(Java.Package p) Invoked byJava.Package.accept(Visitor.AtomVisitor)
.Visitor.TypeDeclarationVisitor.visitPackageMemberAnnotationTypeDeclaration
(Java.PackageMemberAnnotationTypeDeclaration pmatd) Visitor.TypeDeclarationVisitor.visitPackageMemberClassDeclaration
(Java.PackageMemberClassDeclaration pmcd) Visitor.TypeDeclarationVisitor.visitPackageMemberEnumDeclaration
(Java.PackageMemberEnumDeclaration pmed) Visitor.TypeDeclarationVisitor.visitPackageMemberInterfaceDeclaration
(Java.PackageMemberInterfaceDeclaration pmid) Visitor.RvalueVisitor.visitParameterAccess
(Java.ParameterAccess pa) Visitor.LvalueVisitor.visitParenthesizedExpression
(Java.ParenthesizedExpression pe) Visitor.TypeVisitor.visitPrimitiveType
(Java.PrimitiveType bt) Visitor.ModuleDirectiveVisitor.visitProvidesModuleDirective
(Java.ProvidesModuleDirective pmd) Visitor.RvalueVisitor.visitQualifiedThisReference
(Java.QualifiedThisReference qtr) Visitor.TypeArgumentVisitor.visitReferenceType
(Java.ReferenceType rt) Visitor.TypeVisitor.visitReferenceType
(Java.ReferenceType rt) Visitor.ModuleDirectiveVisitor.visitRequiresModuleDirective
(Java.RequiresModuleDirective rmd) Visitor.BlockStatementVisitor.visitReturnStatement
(Java.ReturnStatement rs) Visitor.ArrayInitializerOrRvalueVisitor.visitRvalue
(Java.Rvalue rvalue) Visitor.AtomVisitor.visitRvalue
(Java.Rvalue rv) Invoked byJava.Rvalue.accept(Visitor.AtomVisitor)
.Visitor.ElementValueVisitor.visitRvalue
(Java.Rvalue rv) Visitor.TypeVisitor.visitRvalueMemberType
(Java.RvalueMemberType rmt) Visitor.RvalueVisitor.visitSimpleConstant
(Java.SimpleConstant sl) Visitor.TypeVisitor.visitSimpleType
(Java.SimpleType st) Invoked byJava.SimpleType.accept(Visitor.TypeVisitor)
Visitor.AnnotationVisitor.visitSingleElementAnnotation
(Java.SingleElementAnnotation sea) Visitor.ImportVisitor.visitSingleStaticImportDeclaration
(Java.AbstractCompilationUnit.SingleStaticImportDeclaration ssid) Visitor.ImportVisitor.visitSingleTypeImportDeclaration
(Java.AbstractCompilationUnit.SingleTypeImportDeclaration stid) Visitor.ImportVisitor.visitStaticImportOnDemandDeclaration
(Java.AbstractCompilationUnit.StaticImportOnDemandDeclaration siodd) Visitor.RvalueVisitor.visitStringLiteral
(Java.StringLiteral sl) Visitor.LvalueVisitor.visitSuperclassFieldAccessExpression
(Java.SuperclassFieldAccessExpression scfae) Visitor.RvalueVisitor.visitSuperclassMethodInvocation
(Java.SuperclassMethodInvocation smi) Visitor.BlockStatementVisitor.visitSuperConstructorInvocation
(Java.SuperConstructorInvocation sci) Visitor.ConstructorInvocationVisitor.visitSuperConstructorInvocation
(Java.SuperConstructorInvocation sci) Visitor.BlockStatementVisitor.visitSwitchStatement
(Java.SwitchStatement ss) Visitor.BlockStatementVisitor.visitSynchronizedStatement
(Java.SynchronizedStatement ss) Visitor.RvalueVisitor.visitTextBlock
(Java.TextBlock tb) Invoked byJava.TextBlock.accept(Visitor.RvalueVisitor)
Visitor.RvalueVisitor.visitThisReference
(Java.ThisReference tr) Visitor.BlockStatementVisitor.visitThrowStatement
(Java.ThrowStatement ts) Visitor.BlockStatementVisitor.visitTryStatement
(Java.TryStatement ts) Invoked byJava.Atom.accept(Visitor.AtomVisitor)
.Visitor.ImportVisitor.visitTypeImportOnDemandDeclaration
(Java.AbstractCompilationUnit.TypeImportOnDemandDeclaration tiodd) Visitor.RvalueVisitor.visitUnaryOperation
(Java.UnaryOperation uo) Visitor.ModuleDirectiveVisitor.visitUsesModuleDirective
(Java.UsesModuleDirective umd) Visitor.TryStatementResourceVisitor.visitVariableAccessResource
(Java.TryStatement.VariableAccessResource var) Visitor.BlockStatementVisitor.visitWhileStatement
(Java.WhileStatement ws) Visitor.TypeArgumentVisitor.visitWildcard
(Java.Wildcard w) Method parameters in org.codehaus.janino with annotations of type NullableModifier and TypeMethodDescriptionvoid
CodeContext.addExceptionTableEntry
(CodeContext.Offset startPc, CodeContext.Offset endPc, CodeContext.Offset handlerPc, String catchTypeFd) Adds another entry to the "exception_table" of this code attribute (see JVMS 4.7.3).CodeContext.allocateLocalVariable
(short size, String name, IType type) Allocates space for a local variable of the given size (1 or 2) on the local variable array.CodeContext.allocateLocalVariable
(short size, String name, IType type) Allocates space for a local variable of the given size (1 or 2) on the local variable array.protected Java.Type[]
ExpressionEvaluator.classesToTypes
(Location location, Class<?>... classes) protected Java.Type[]
SimpleCompiler.classesToTypes
(Location location, Class<?>[] classes) final void
void
void
final void
Scans, parses and compiles a given compilation unit from the givenReader
.static Object
ClassBodyEvaluator.createFastClassBodyEvaluator
(Scanner scanner, Class<?> baseType, ClassLoader parentClassLoader) Deprecated.UseClassBodyEvaluator.createInstance(Reader)
insteadstatic Object
ClassBodyEvaluator.createFastClassBodyEvaluator
(Scanner scanner, Class<?> baseType, ClassLoader parentClassLoader) Deprecated.UseClassBodyEvaluator.createInstance(Reader)
insteadstatic Object
ClassBodyEvaluator.createFastClassBodyEvaluator
(Scanner scanner, String className, Class<?> extendedClass, Class<?>[] implementedInterfaces, ClassLoader parentClassLoader) Deprecated.UseClassBodyEvaluator.createInstance(Reader)
insteadstatic Object
ClassBodyEvaluator.createFastClassBodyEvaluator
(Scanner scanner, String className, Class<?> extendedClass, Class<?>[] implementedInterfaces, ClassLoader parentClassLoader) Deprecated.UseClassBodyEvaluator.createInstance(Reader)
insteadstatic Object
ExpressionEvaluator.createFastExpressionEvaluator
(String expression, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ExpressionEvaluator.createFastExpressionEvaluator
(Scanner scanner, String[] defaultImports, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ExpressionEvaluator.createFastExpressionEvaluator
(Scanner scanner, String[] defaultImports, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ExpressionEvaluator.createFastExpressionEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ExpressionEvaluator.createFastExpressionEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ScriptEvaluator.createFastScriptEvaluator
(Scanner scanner, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ScriptEvaluator.createFastScriptEvaluator
(Scanner scanner, String[] defaultImports, String className, Class<?> extendedClass, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ScriptEvaluator.createFastScriptEvaluator
(Scanner scanner, String[] defaultImports, String className, Class<?> extendedClass, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ScriptEvaluator.createFastScriptEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static Object
ScriptEvaluator.createFastScriptEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static IClassLoader
IClassLoader.createJavacLikePathIClassLoader
(File[] bootClassPath, File[] extDirs, File[] classPath) Creates anIClassLoader
that looks for classes in the given "boot class path", then in the given "extension directories", and then in the given "class path".static IClassLoader
IClassLoader.createJavacLikePathIClassLoader
(File[] bootClassPath, File[] extDirs, File[] classPath) Creates anIClassLoader
that looks for classes in the given "boot class path", then in the given "extension directories", and then in the given "class path".boolean
boolean
TwoSimpleCompiler
s are regarded equal iff Both are objects of the same class (e.g.protected Class
<?> Implementation ofClassLoader.findClass(String)
.static File
Compiler.getClassFile
(String className, File sourceFile, File destinationDirectory) Constructs the name of a file that could store the byte code of the class with the given name.void
FilterWarningHandler.handleWarning
(String handle, String message, Location location) void
FilterWarningHandler.handleWarning
(String handle, String message, Location location) protected Java.Type
ClassBodyEvaluator.optionalClassToType
(Location location, Class<?> clazz) protected Java.Type
ExpressionEvaluator.optionalClassToType
(Location location, Class<?> clazz) protected Java.Type
ScriptEvaluator.optionalClassToType
(Location loc, Class<?> clazz) protected Java.Type
SimpleCompiler.optionalClassToType
(Location location, Class<?> clazz) Parser.parseAnnotationTypeDeclarationRest
(String docComment, Java.Modifier[] modifiers, Parser.InterfaceDeclarationContext context) AnnotationTypeDeclarationRest := Identifier AnnotationTypeBodyParser.parseClassDeclarationRest
(String docComment, Java.Modifier[] modifiers, Parser.ClassDeclarationContext context) ClassDeclarationRest := Identifier [ typeParameters ] [ 'extends' ReferenceType ] [ 'implements' ReferenceTypeList ] ClassBodyParser.parseConstructorDeclarator
(String docComment, Java.Modifier[] modifiers) ConstructorDeclarator := Identifier FormalParameters [ 'throws' ReferenceTypeList ] '{' [ 'this' Arguments ';' | 'super' Arguments ';' | Primary '.' 'super' Arguments ';' ] BlockStatements '}'Parser.parseEnumDeclarationRest
(String docComment, Java.Modifier[] modifiers, Parser.ClassDeclarationContext context) EnumDeclarationRest := Identifier [ 'implements' ReferenceTypeList ] EnumBodyParser.parseInterfaceDeclarationRest
(String docComment, Java.Modifier[] modifiers, Parser.InterfaceDeclarationContext context) InterfaceDeclarationRest := Identifier [ typeParameters ] [ 'extends' ReferenceTypeList ] InterfaceBodyParser.parseMethodDeclarationRest
(String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, boolean allowDefaultClause, Parser.MethodDeclarationContext context) MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] [ 'default' expression ] ( ';' | MethodBody )Parser.parseMethodDeclarationRest
(String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, boolean allowDefaultClause, Parser.MethodDeclarationContext context) MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] [ 'default' expression ] ( ';' | MethodBody )Parser.parsePackageDeclarationRest
(String docComment, Java.Modifier[] modifiers) PackageDeclaration := { PackageModifier } 'package' identifier { '.' identifier} ';'int
UnicodeUnescapeReader.read
(char[] cbuf, int off, int len) OverridesFilterReader.read(char[], int, int)
.void
JavaSourceIClassLoader.setCharacterEncoding
(String sourceCharsetName) Deprecated.UseJavaSourceIClassLoader.setSourceCharset(Charset)
insteadvoid
ClassBodyEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ExpressionEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
JavaSourceClassLoader.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
JavaSourceIClassLoader.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ScriptEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
SimpleCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
UnitCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) By default,CompileException
s are thrown on compile errors, but an application my install its own (thread-local)ErrorHandler
.void
ClassBodyEvaluator.setExtendedClass
(Class<?> extendedType) void
ExpressionEvaluator.setExtendedClass
(Class<?> extendedType) void
ScriptEvaluator.setExtendedClass
(Class<?> extendedType) void
ClassBodyEvaluator.setExtendedType
(Class<?> extendedClass) void
ScriptEvaluator.setMethodName
(String methodName) void
Java.CompilationUnit.setPackageDeclaration
(Java.PackageDeclaration packageDeclaration) Sets the package declaration of this compilation unit.void
ClassBodyEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) void
ExpressionEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) void
ScriptEvaluator.setParentClassLoader
(ClassLoader parentClassLoader) void
SimpleCompiler.setParentClassLoader
(ClassLoader parentClassLoader) void
ScriptEvaluator.setReturnType
(Class<?> returnType) void
ClassBodyEvaluator.setWarningHandler
(WarningHandler warningHandler) void
ExpressionEvaluator.setWarningHandler
(WarningHandler warningHandler) void
JavaSourceClassLoader.setWarningHandler
(WarningHandler warningHandler) void
JavaSourceIClassLoader.setWarningHandler
(WarningHandler warningHandler) void
Parser.setWarningHandler
(WarningHandler warningHandler) By default, warnings are discarded, but an application my install aWarningHandler
.void
ScriptEvaluator.setWarningHandler
(WarningHandler warningHandler) void
SimpleCompiler.setWarningHandler
(WarningHandler warningHandler) void
TokenStream.setWarningHandler
(WarningHandler warningHandler) By default, warnings are discarded, but an application my install aWarningHandler
.void
TokenStreamImpl.setWarningHandler
(WarningHandler warningHandler) void
UnitCompiler.setWarningHandler
(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler
.Constructor parameters in org.codehaus.janino with annotations of type NullableModifierConstructorDescriptionAbstractClassDeclaration
(Location location, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters) AbstractCompilationUnit
(String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations) AbstractTypeDeclaration
(Location location, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters) AssertStatement
(Location location, Java.Rvalue expression1, Java.Rvalue expression2) BreakStatement
(Location location, String label) CachingJavaSourceClassLoader
(ClassLoader parentClassLoader, File[] sourcePath, String characterEncoding, File cacheDirectory) CachingJavaSourceClassLoader
(ClassLoader parentClassLoader, File[] sourcePath, String characterEncoding, File cacheDirectory) CachingJavaSourceClassLoader
(ClassLoader parentClassLoader, ResourceFinder sourceFinder, String characterEncoding, ResourceFinder classFileCacheResourceFinder, ResourceCreator classFileCacheResourceCreator) Notice that this class is thread-safe if and only if the classFileCacheResourceCreator stores its data atomically, i.e.ClassBodyEvaluator
(String fileName, InputStream is) Equivalent toClassBodyEvaluator
(String fileName, Reader reader) Equivalent toClassBodyEvaluator
(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toClassBodyEvaluator
(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toClassBodyEvaluator
(Scanner scanner, ClassLoader parentClassLoader) Equivalent toClassBodyEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toClassBodyEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toClassInstanceCreationReference
(Location location, Java.Type type, Java.TypeArgument[] typeArguments) CompilationUnit
(String fileName) CompilationUnit
(String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations) Compiler
(File[] sourcePath, File[] classPath, File[] extDirs, File[] bootClassPath, File destinationDirectory, String characterEncoding, boolean verbose, boolean debugSource, boolean debugLines, boolean debugVars, StringPattern[] warningHandlePatterns, boolean rebuild) Deprecated.UseCompiler()
and the various configuration setters insteadCompiler
(File[] sourcePath, File[] classPath, File[] extDirs, File[] bootClassPath, File destinationDirectory, String characterEncoding, boolean verbose, boolean debugSource, boolean debugLines, boolean debugVars, StringPattern[] warningHandlePatterns, boolean rebuild) Deprecated.UseCompiler()
and the various configuration setters insteadCompiler
(File[] sourcePath, File[] classPath, File[] extDirs, File[] bootClassPath, File destinationDirectory, String characterEncoding, boolean verbose, boolean debugSource, boolean debugLines, boolean debugVars, StringPattern[] warningHandlePatterns, boolean rebuild) Deprecated.UseCompiler()
and the various configuration setters insteadCompiler
(File[] sourcePath, File[] classPath, File[] extDirs, File[] bootClassPath, File destinationDirectory, String characterEncoding, boolean verbose, boolean debugSource, boolean debugLines, boolean debugVars, StringPattern[] warningHandlePatterns, boolean rebuild) Deprecated.UseCompiler()
and the various configuration setters insteadConstructorDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ConstructorInvocation constructorInvocation, List<? extends Java.BlockStatement> statements) ConstructorDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ConstructorInvocation constructorInvocation, List<? extends Java.BlockStatement> statements) ContinueStatement
(Location location, String label) EnumConstant
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Rvalue[] arguments) EnumConstant
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Rvalue[] arguments) protected
ExportsModuleDirective
(Location location, String[] packageName, String[][] toModuleNames) ExpressionEvaluator
(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, Class<?> extendedClass, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator
(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> expressionType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Creates an expression evaluator with the full configurability.ExpressionEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> expressionType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Creates an expression evaluator with the full configurability.FieldDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators) ForStatement
(Location location, Java.BlockStatement init, Java.Rvalue condition, Java.Rvalue[] update, Java.BlockStatement body) ForStatement
(Location location, Java.BlockStatement init, Java.Rvalue condition, Java.Rvalue[] update, Java.BlockStatement body) ForStatement
(Location location, Java.BlockStatement init, Java.Rvalue condition, Java.Rvalue[] update, Java.BlockStatement body) FunctionDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, List<? extends Java.BlockStatement> statements) FunctionDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, List<? extends Java.BlockStatement> statements) IClassLoader
(IClassLoader parentIClassLoader) IfStatement
(Location location, Java.Rvalue condition, Java.BlockStatement thenStatement, Java.BlockStatement elseStatement) protected
InterfaceDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes) protected
InterfaceDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes) JavaSourceClassLoader
(ClassLoader parentClassLoader, File[] sourcePath, String characterEncoding) Sets up aJavaSourceClassLoader
that finds Java source code in a file that resides in either of the directories specified by the given source path.JavaSourceClassLoader
(ClassLoader parentClassLoader, File[] sourcePath, String characterEncoding) Sets up aJavaSourceClassLoader
that finds Java source code in a file that resides in either of the directories specified by the given source path.JavaSourceClassLoader
(ClassLoader parentClassLoader, ResourceFinder sourceFinder, String characterEncoding) Constructs aJavaSourceClassLoader
that finds Java source code through a givenResourceFinder
.JavaSourceIClassLoader
(ResourceFinder sourceFinder, String sourceCharsetName, IClassLoader parentIClassLoader) JavaSourceIClassLoader
(ResourceFinder sourceFinder, String sourceCharsetName, IClassLoader parentIClassLoader) LocalClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) LocalClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) LocalClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) LocalVariableSlot
(String name, short slotNumber, IType type) LocalVariableSlot
(String name, short slotNumber, IType type) MemberAnnotationTypeDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name) MemberClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) MemberClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) MemberClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) MemberEnumDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Type[] implementedTypes) MemberInterfaceDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes) MemberInterfaceDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes) MethodDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ElementValue defaultValue, List<? extends Java.BlockStatement> statements) MethodDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ElementValue defaultValue, List<? extends Java.BlockStatement> statements) MethodDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ElementValue defaultValue, List<? extends Java.BlockStatement> statements) MethodDeclarator
(Location location, String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ElementValue defaultValue, List<? extends Java.BlockStatement> statements) MethodInvocation
(Location location, Java.Atom target, String methodName, Java.Rvalue[] arguments) ModularCompilationUnit
(String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations, Java.ModuleDeclaration moduleDeclaration) NamedClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) NamedClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) NamedClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) NewAnonymousClassInstance
(Location location, Java.Rvalue qualification, Java.AnonymousClassDeclaration anonymousClassDeclaration, Java.Rvalue[] arguments) NewClassInstance
(Location location, Java.Rvalue qualification, IType iType, Java.Rvalue[] arguments) NewClassInstance
(Location location, Java.Rvalue qualification, Java.Type type, Java.Rvalue[] arguments) NewInitializedArray
(Location location, Java.ArrayType arrayType, Java.ArrayInitializer arrayInitializer) protected
OpensModuleDirective
(Location location, String[] packageName, String[][] toModuleNames) PackageMemberAnnotationTypeDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name) PackageMemberClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) PackageMemberClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) PackageMemberClassDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes) PackageMemberEnumDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Type[] implementedTypes) PackageMemberInterfaceDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes) PackageMemberInterfaceDeclaration
(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes) ReferenceType
(Location location, Java.Annotation[] annotations, String[] identifiers, Java.TypeArgument[] typeArguments) ResourceFinderIClassLoader
(ResourceFinder resourceFinder, IClassLoader parentIClassLoader) ReturnStatement
(Location location, Java.Rvalue returnValue) Deprecated.This method is deprecated because it leaves the input file openScanner
(String fileName, InputStream is) Sets up a scanner that reads tokens from the givenInputStream
in the platform default encoding.Scanner
(String fileName, InputStream is, String encoding) Sets up a scanner that reads tokens from the givenInputStream
with the given encoding (null
means platform default encoding).Scanner
(String fileName, InputStream is, String encoding) Sets up a scanner that reads tokens from the givenInputStream
with the given encoding (null
means platform default encoding).Sets up a scanner that reads tokens from the givenReader
.Creates aScanner
that counts lines and columns from non-default initial values.ScriptEvaluator
(String fileName, InputStream is, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(String fileName, InputStream is, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(String fileName, Reader reader, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(String fileName, Reader reader, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(Scanner scanner, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> returnType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator
(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> returnType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toSimpleCompiler
(String fileName, InputStream is) Equivalent toSimpleCompiler
(String fileName, Reader in) Equivalent toSimpleCompiler
(Scanner scanner, ClassLoader parentClassLoader) Equivalent toSuperclassFieldAccessExpression
(Location location, Java.Type qualification, String fieldName) SuperConstructorInvocation
(Location location, Java.Rvalue qualification, Java.Rvalue[] arguments) TryStatement
(Location location, List<Java.TryStatement.Resource> resources, Java.BlockStatement body, List<Java.CatchClause> catchClauses, Java.Block finallY) TypeParameter
(String name, Java.ReferenceType[] bound) VariableDeclarator
(Location location, String name, int brackets, Java.ArrayInitializerOrRvalue initializer) Wildcard
(int bounds, Java.ReferenceType referenceType) -
Uses of Nullable in org.codehaus.janino.util
Methods in org.codehaus.janino.util with annotations of type NullableModifier and TypeMethodDescription<R,
EX extends Throwable>
RClassFile.Annotation.accept
(ClassFile.ElementValue.Visitor<R, EX> visitor) <R,
EX extends Throwable>
RClassFile.ArrayElementValue.accept
(ClassFile.ElementValue.Visitor<R, EX> visitor) protected abstract <R,
EX extends Throwable>
RClassFile.ConstantElementValue.accept
(ClassFile.ConstantElementValue.Visitor<R, EX> visitor) Invokes the respective method of theClassFile.ConstantElementValue.Visitor
.<R,
EX extends Throwable>
RClassFile.ConstantElementValue.accept
(ClassFile.ElementValue.Visitor<R, EX> visitor) <R,
EX extends Throwable>
RClassFile.ElementValue.accept
(ClassFile.ElementValue.Visitor<R, EX> visitor) Invokes the respective method of theClassFile.ElementValue.Visitor
.<R,
EX extends Throwable>
RClassFile.EnumConstValue.accept
(ClassFile.ElementValue.Visitor<R, EX> visitor) DeepCopier.copyOptionalArrayInitializer
(Java.ArrayInitializer subject) DeepCopier.copyOptionalArrayInitializerOrRvalue
(Java.ArrayInitializerOrRvalue subject) DeepCopier.copyOptionalArrayType
(Java.ArrayType subject) DeepCopier.copyOptionalAtom
(Java.Atom subject) DeepCopier.copyOptionalBlock
(Java.Block subject) DeepCopier.copyOptionalBlockStatement
(Java.BlockStatement subject) DeepCopier.copyOptionalConstructorInvocation
(Java.ConstructorInvocation subject) DeepCopier.copyOptionalElementValue
(Java.ElementValue subject) DeepCopier.copyOptionalPackageDeclaration
(Java.PackageDeclaration subject) DeepCopier.copyOptionalReferenceType
(Java.ReferenceType subject) DeepCopier.copyOptionalReferenceTypes
(Java.ReferenceType[] subject) DeepCopier.copyOptionalRvalue
(Java.Rvalue subject) DeepCopier.copyOptionalRvalues
(Java.Rvalue[] subject) DeepCopier.copyOptionalStatements
(Collection<? extends Java.BlockStatement> subject) DeepCopier.copyOptionalType
(Java.Type subject) DeepCopier.copyOptionalTypeArguments
(Java.TypeArgument[] subject) DeepCopier.copyOptionalTypeParameters
(Java.TypeParameter[] subject) ClassFile.getInnerClassesAttribute()
Finds theInnerClasses
attribute of this class file.ClassFile.getSignatureAttribute()
Method parameters in org.codehaus.janino.util with annotations of type NullableModifier and TypeMethodDescriptionClassFile.addFieldInfo
(short accessFlags, String fieldName, String fieldTypeFd, Object constantValue) Creates aClassFile.FieldInfo
and adds it to this class.DeepCopier.copyOptionalArrayInitializer
(Java.ArrayInitializer subject) DeepCopier.copyOptionalArrayInitializerOrRvalue
(Java.ArrayInitializerOrRvalue subject) DeepCopier.copyOptionalArrayType
(Java.ArrayType subject) DeepCopier.copyOptionalAtom
(Java.Atom subject) DeepCopier.copyOptionalBlock
(Java.Block subject) DeepCopier.copyOptionalBlockStatement
(Java.BlockStatement subject) DeepCopier.copyOptionalConstructorInvocation
(Java.ConstructorInvocation subject) DeepCopier.copyOptionalElementValue
(Java.ElementValue subject) DeepCopier.copyOptionalPackageDeclaration
(Java.PackageDeclaration subject) DeepCopier.copyOptionalReferenceType
(Java.ReferenceType subject) DeepCopier.copyOptionalReferenceTypes
(Java.ReferenceType[] subject) DeepCopier.copyOptionalRvalue
(Java.Rvalue subject) DeepCopier.copyOptionalRvalues
(Java.Rvalue[] subject) DeepCopier.copyOptionalStatements
(Collection<? extends Java.BlockStatement> subject) DeepCopier.copyOptionalType
(Java.Type subject) DeepCopier.copyOptionalTypeArguments
(Java.TypeArgument[] subject) DeepCopier.copyOptionalTypeParameters
(Java.TypeParameter[] subject) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
AutoIndentWriter.write
(char[] cbuf, int off, int len) void
Constructor parameters in org.codehaus.janino.util with annotations of type Nullable -
Uses of Nullable in org.codehaus.janino.util.signature
Fields in org.codehaus.janino.util.signature with annotations of type NullableModifier and TypeFieldDescriptionSignatureParser.FormalTypeParameter.classBound
The class that this formal type parameter (optionally) extends.SignatureParser.TypeArgument.fieldTypeSignature
Must be forSignatureParser.TypeArgument.Mode.ANY
, non-null
otherwise.Constructor parameters in org.codehaus.janino.util.signature with annotations of type NullableModifierConstructorDescriptionFormalTypeParameter
(String identifier, SignatureParser.FieldTypeSignature classBound, List<SignatureParser.FieldTypeSignature> interfaceBounds) TypeArgument
(org.codehaus.janino.util.signature.SignatureParser.TypeArgument.Mode mode, SignatureParser.FieldTypeSignature fieldTypeSignature)
ICompiler.setSourceCharset(Charset)
instead