- saveLocalVariables() - Method in class org.codehaus.janino.CodeContext
-
Remembers the current size of the local variables array.
- sbsgs - Variable in class org.codehaus.janino.Java.SwitchStatement
-
The list of 'switch block statement groups' that pose the body of the SWITCH statement.
- Scanner - Class in org.codehaus.janino
-
Splits up a character stream into tokens and returns them as
String objects.
- Scanner(String) - Constructor for class org.codehaus.janino.Scanner
-
- Scanner(String, String) - Constructor for class org.codehaus.janino.Scanner
-
- Scanner(File) - Constructor for class org.codehaus.janino.Scanner
-
- Scanner(File, String) - Constructor for class org.codehaus.janino.Scanner
-
- Scanner(String, InputStream) - Constructor for class org.codehaus.janino.Scanner
-
Sets up a scanner that reads tokens from the given
InputStream in the platform default encoding.
- Scanner(String, InputStream, String) - Constructor for class org.codehaus.janino.Scanner
-
Sets up a scanner that reads tokens from the given
InputStream with the given
optionalEncoding (
null means platform default encoding).
- Scanner(String, Reader) - Constructor for class org.codehaus.janino.Scanner
-
Sets up a scanner that reads tokens from the given
Reader.
- Scanner(String, Reader, short, short) - Constructor for class org.codehaus.janino.Scanner
-
Creates a
Scanner that counts lines and columns from non-default initial values.
- Scanner.Token - Class in org.codehaus.janino
-
Representation of a Java token.
- Scanner.TokenType - Enum in org.codehaus.janino
-
Enumeration of the types of tokens that this scanner produces.
- ScriptDemo - Class in org.codehaus.commons.compiler.samples
-
A test program that allows you to play around with the
ScriptEvaluator
class.
- ScriptEvaluator - Class in org.codehaus.commons.compiler.jdk
-
- ScriptEvaluator(String) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.cook(script);
- ScriptEvaluator(String, Class<?>) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.cook(script);
- ScriptEvaluator(String, Class<?>, String[], Class<?>[]) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.cook(script);
- ScriptEvaluator(String, Class<?>, String[], Class<?>[], Class<?>[]) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.cook(script);
- ScriptEvaluator(String, InputStream, Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.setParentClassLoader(optionalParentClassLoader);
se.cook(optionalFileName, is);
- ScriptEvaluator(String, Reader, Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.setParentClassLoader(optionalParentClassLoader);
se.cook(reader);
- ScriptEvaluator() - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- ScriptEvaluator - Class in org.codehaus.janino
-
- ScriptEvaluator(String) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.cook(script);
- ScriptEvaluator(String, Class<?>) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.cook(script);
- ScriptEvaluator(String, Class<?>, String[], Class<?>[]) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.cook(script);
- ScriptEvaluator(String, Class<?>, String[], Class<?>[], Class<?>[]) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.cook(script);
- ScriptEvaluator(String, InputStream, Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.setParentClassLoader(optionalParentClassLoader);
se.cook(optionalFileName, is);
- ScriptEvaluator(String, Reader, Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.setParentClassLoader(optionalParentClassLoader);
se.cook(reader);
- ScriptEvaluator(Scanner, Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.setParentClassLoader(optionalParentClassLoader);
se.cook(scanner);
- ScriptEvaluator(Scanner, Class<?>, Class<?>[], Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setExtendedType(optionalExtendedType);
se.setImplementedTypes(implementedTypes);
se.setReturnType(returnType);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.setParentClassLoader(optionalParentClassLoader);
se.cook(scanner);
- ScriptEvaluator(Scanner, String, Class<?>, Class<?>[], boolean, Class<?>, String, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
ScriptEvaluator se = new ScriptEvaluator();
se.setClassName(className);
se.setExtendedType(optionalExtendedType);
se.setImplementedTypes(implementedTypes);
se.setStaticMethod(staticMethod);
se.setReturnType(returnType);
se.setMethodName(methodName);
se.setParameters(parameterNames, parameterTypes);
se.setThrownExceptions(thrownExceptions);
se.setParentClassLoader(optionalParentClassLoader);
se.cook(scanner);
- ScriptEvaluator() - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Constructs a script evaluator with all the default settings (return type void
- set() - Method in class org.codehaus.janino.CodeContext.Offset
-
Sets this "Offset" to the offset of the current inserter; inserts this "Offset" before the current inserter.
- set(T) - Method in class org.codehaus.janino.util.iterator.FilterListIterator
-
- setArgsNeedAdjust(boolean) - Method in class org.codehaus.janino.IClass.IInvocable
-
TODO
- setCharacterEncoding(String) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setClassName(String) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Sets the name of the generated class.
- setClassName(String) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setClassName(String) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setCompileErrorHandler(ErrorHandler) - Method in interface org.codehaus.commons.compiler.ICookable
-
- setCompileErrorHandler(ErrorHandler) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- setCompileErrorHandler(ErrorHandler) - Method in class org.codehaus.janino.Compiler
-
- setCompileErrorHandler(ErrorHandler) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setCompileErrorHandler(ErrorHandler) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setCompileErrorHandler(ErrorHandler) - Method in class org.codehaus.janino.SimpleCompiler
-
- setCompileErrorHandler(ErrorHandler) - Method in class org.codehaus.janino.UnitCompiler
-
- setCompilerOptions(String[]) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setDebuggingInfo(boolean, boolean, boolean) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setDebuggingInfo(boolean, boolean, boolean) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setDebuggingInfo(boolean, boolean, boolean) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setDebuggingInformation(boolean, boolean, boolean) - Method in interface org.codehaus.commons.compiler.ICookable
-
Determines what kind of debugging information is included in the generates classes.
- setDebuggingInformation(boolean, boolean, boolean) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- setDebuggingInformation(boolean, boolean, boolean) - Method in class org.codehaus.janino.SimpleCompiler
-
- setDeclaringCompilationUnit(Java.CompilationUnit) - Method in class org.codehaus.janino.Java.AbstractPackageMemberClassDeclaration
-
- setDeclaringCompilationUnit(Java.CompilationUnit) - Method in class org.codehaus.janino.Java.PackageMemberInterfaceDeclaration
-
- setDeclaringCompilationUnit(Java.CompilationUnit) - Method in interface org.codehaus.janino.Java.PackageMemberTypeDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.FieldDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.FunctionDeclarator
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.MemberClassDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.MemberInterfaceDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.MethodDeclarator
-
- setDeclaringType(Java.TypeDeclaration) - Method in interface org.codehaus.janino.Java.TypeBodyDeclaration
-
Sets the type declaration that this declaration belongs to.
- setDefaultImports(String[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
"Default imports" add to the system import "java.lang", i.e. the evaluator may refer to classes imported by
default imports without having to explicitly declare IMPORT statements.
- setDefaultImports(String[]) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setDefaultImports(String[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.AbstractAnnotation
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- setEnclosingScope(Java.Scope) - Method in interface org.codehaus.janino.Java.Annotation
-
Sets the enclosing scope for this annotation.
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.ArrayInitializer
-
- setEnclosingScope(Java.Scope) - Method in interface org.codehaus.janino.Java.ArrayInitializerOrRvalue
-
Sets the immediately enclosing scope for this array initializer or rvalue.
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.ArrayType
-
- setEnclosingScope(Java.Scope) - Method in interface org.codehaus.janino.Java.BlockStatement
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.ConstructorInvocation
-
- setEnclosingScope(Java.Scope) - Method in interface org.codehaus.janino.Java.ElementValue
-
In most cases, the scope is the enclosing
Java.BlockStatement, except for top-level class/interface
annotation class-literal element-value-pairs, where the enclosing scope is the compilation unit.
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.ElementValueArrayInitializer
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.FieldDeclaration
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.FunctionDeclarator
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.MethodDeclarator
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.Modifiers
-
Sets the enclosing scope of the annotations.
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.NormalAnnotation
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.Rvalue
-
Sets the enclosing scope for this object and all subordinate
Java.Rvalue objects.
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.SingleElementAnnotation
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.Statement
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.Type
-
Sets the enclosing scope for this object and all subordinate
Java.Type objects.
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.VariableDeclarator
-
Sets the immediately enclosing scope for the (optional) initializer.
- setEnclosingTryStatement(Java.TryStatement) - Method in class org.codehaus.janino.Java.CatchClause
-
Links this CATCH clause to the enclosing TRY statement.
- setEnd(CodeContext.Offset) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setExpectGreater(boolean) - Method in class org.codehaus.janino.Parser
-
While the scanner is in "expect greater mode", then the char sequence ">>" is scanned into two ">" tokens.
- setExpressionType(Class<?>) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
Defines the type of the expression.
- setExpressionType(Class<?>) - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- setExpressionType(Class<?>) - Method in class org.codehaus.janino.ExpressionEvaluator
-
- setExpressionTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
Configures the types of the expressions.
- setExpressionTypes(Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- setExpressionTypes(Class<?>[]) - Method in class org.codehaus.janino.ExpressionEvaluator
-
- setExtendedClass(Class<?>) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Sets a particular superclass that the generated class will extend.
- setExtendedClass(Class<?>) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setExtendedClass(Class<?>) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setExtendedType(Class<?>) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
- setExtendedType(Class<?>) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setExtendedType(Class<?>) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setIgnoreWhiteSpace(boolean) - Method in class org.codehaus.janino.Scanner
-
- setImplementedInterfaces(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Sets a particular set of interfaces that the generated class will implement.
- setImplementedInterfaces(Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setImplementedInterfaces(Class<?>[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setImplementedTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
- setImplementedTypes(Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setImplementedTypes(Class<?>[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setLastModified(long) - Method in class org.codehaus.janino.util.resource.MapResourceFinder
-
- setMethodName(String) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Defines the name of the generated method.
- setMethodName(String) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setMethodName(String) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setMethodNames(String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setMethodNames(String[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setMethodNames(String[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setName(String) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setOverrideMethod(boolean) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Defines whether the generated method overrides a methods declared in a supertype.
- setOverrideMethod(boolean[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setOverrideMethod(boolean) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setOverrideMethod(boolean[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setOverrideMethod(boolean) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setOverrideMethod(boolean[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setPackageDeclaration(Java.PackageDeclaration) - Method in class org.codehaus.janino.Java.CompilationUnit
-
Sets the package declaration of this CU.
- setParameters(String[], Class<?>[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Defines the names and types of the parameters of the generated method.
- setParameters(String[][], Class<?>[][]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setParameters(String[], Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setParameters(String[][], Class<?>[][]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setParameters(String[], Class<?>[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setParameters(String[][], Class<?>[][]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setParentClassLoader(ClassLoader) - Method in interface org.codehaus.commons.compiler.ICookable
-
The "parent class loader" is used to load referenced classes.
- setParentClassLoader(ClassLoader) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- setParentClassLoader(ClassLoader, Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- setParentClassLoader(ClassLoader) - Method in class org.codehaus.janino.SimpleCompiler
-
- setProtectionDomainFactory(AbstractJavaSourceClassLoader.ProtectionDomainFactory) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setReturnType(Class<?>) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
- setReturnType(Class<?>) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Defines the return type of the generated method.
- setReturnType(Class<?>) - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- setReturnType(Class<?>) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setReturnType(Class<?>) - Method in class org.codehaus.janino.ExpressionEvaluator
-
- setReturnType(Class<?>) - Method in class org.codehaus.janino.ScriptEvaluator
-
Defines the return types of the generated methods.
- setReturnTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
- setReturnTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Configures the return types of the generated methods.
- setReturnTypes(Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- setReturnTypes(Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setReturnTypes(Class<?>[]) - Method in class org.codehaus.janino.ExpressionEvaluator
-
- setReturnTypes(Class<?>[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
Defines the return types of the generated methods.
- setSlot(Java.LocalVariableSlot) - Method in class org.codehaus.janino.Java.LocalVariable
-
- setSlotIndex(short) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setSourceFileCharacterEncoding(String) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setSourceFileCharacterEncoding(String) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setSourceFileCharacterEncoding(String) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setSourceFinder(ResourceFinder) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setSourcePath(File[]) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setSourcePath(File[]) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setSourcePath(File[]) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setStart(CodeContext.Offset) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setStaticMethod(boolean) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Defines whether the generated method should be STATIC or not.
- setStaticMethod(boolean[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setStaticMethod(boolean) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setStaticMethod(boolean[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setStaticMethod(boolean) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setStaticMethod(boolean[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setThrownExceptions(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Defines sthe exceptions that the generated method may throw.
- setThrownExceptions(Class<?>[][]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setThrownExceptions(Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setThrownExceptions(Class<?>[][]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setThrownExceptions(Class<?>[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setThrownExceptions(Class<?>[][]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setVersion(short, short) - Method in class org.codehaus.janino.util.ClassFile
-
Sets the major and minor class file version numbers (JVMS 4.1).
- setWarningHandler(WarningHandler) - Method in interface org.codehaus.commons.compiler.ICookable
-
By default, warnings are discarded, but an application my install a custom
WarningHandler.
- setWarningHandler(WarningHandler) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.Compiler
-
By default, warnings are discarded, but an application my install a custom
WarningHandler.
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.Parser
-
By default, warnings are discarded, but an application my install a
WarningHandler.
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.SimpleCompiler
-
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.UnitCompiler
-
By default, warnings are discarded, but an application my install a custom
WarningHandler.
- ShippingCost - Class in org.codehaus.commons.compiler.samples
-
- SHORT - Static variable in class org.codehaus.janino.Descriptor
-
The field descriptor for the primitive type SHORT.
- SHORT - Static variable in class org.codehaus.janino.IClass
-
The
IClass object for the primitive type SHORT.
- ShortElementValue(short) - Constructor for class org.codehaus.janino.util.ClassFile.AnnotationsAttribute.ShortElementValue
-
- shortToString(short) - Static method in class org.codehaus.janino.Mod
-
Composes and returns a string that maps the given modifier as follows:
Value zero is mapped to "".
- SimpleCompiler - Class in org.codehaus.commons.compiler.jdk
-
- SimpleCompiler() - Constructor for class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- SimpleCompiler - Class in org.codehaus.janino
-
- SimpleCompiler(String, Reader) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
SimpleCompiler sc = new SimpleCompiler();
sc.cook(optionalFileName, in);
- SimpleCompiler(String, InputStream) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
SimpleCompiler sc = new SimpleCompiler();
sc.cook(optionalFileName, is);
- SimpleCompiler(String) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
SimpleCompiler sc = new SimpleCompiler();
sc.cook(fileName);
- SimpleCompiler(Scanner, ClassLoader) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
SimpleCompiler sc = new SimpleCompiler();
sc.setParentClassLoader(optionalParentClassLoader);
sc.cook(scanner);
- SimpleCompiler() - Constructor for class org.codehaus.janino.SimpleCompiler
-
- SimpleConstant(Location) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
Equivalent of the null literal.
- SimpleConstant(Location, byte) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
Equivalent of an literal, cast to byte.
- SimpleConstant(Location, short) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
Equivalent of an literal, cast to short.
- SimpleConstant(Location, int) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
- SimpleConstant(Location, long) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
- SimpleConstant(Location, float) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
- SimpleConstant(Location, double) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
- SimpleConstant(Location, char) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
- SimpleConstant(Location, boolean) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
- SimpleConstant(Location, String) - Constructor for class org.codehaus.janino.Java.SimpleConstant
-
- SimpleIField(IClass, String, IClass) - Constructor for class org.codehaus.janino.UnitCompiler.SimpleIField
-
- SimpleType(Location, IClass) - Constructor for class org.codehaus.janino.Java.SimpleType
-
- SimpleWarningHandler() - Constructor for class org.codehaus.janino.Compiler.SimpleWarningHandler
-
- SingleElementAnnotation(Java.ReferenceType, Java.ElementValue) - Constructor for class org.codehaus.janino.Java.SingleElementAnnotation
-
- SingleStaticImportDeclaration(Location, String[]) - Constructor for class org.codehaus.janino.Java.CompilationUnit.SingleStaticImportDeclaration
-
- SingleTypeImportDeclaration(Location, String[]) - Constructor for class org.codehaus.janino.Java.CompilationUnit.SingleTypeImportDeclaration
-
- size(String) - Static method in class org.codehaus.janino.Descriptor
-
- size() - Method in class org.codehaus.janino.util.iterator.IteratorCollection
-
- skip(long) - Method in class org.codehaus.commons.io.MultiReader
-
- slot - Variable in class org.codehaus.janino.Java.LocalVariable
-
The slot reserved for this local variable.
- SourceFileAttribute(short, short) - Constructor for class org.codehaus.janino.util.ClassFile.SourceFileAttribute
-
- startPC - Variable in class org.codehaus.janino.util.ClassFile.LineNumberTableAttribute.Entry
-
The fields of the entries in the line_number_table, as described in JVMS7 4.7.12.
- startPC - Variable in class org.codehaus.janino.util.ClassFile.LocalVariableTableAttribute.Entry
-
The fields of the entries in the local_variable_table, as described in JVMS7 4.7.13.
- Statement(Location) - Constructor for class org.codehaus.janino.Java.Statement
-
- statements - Variable in class org.codehaus.janino.Java.Block
-
The list of statements that comprise the body of the block.
- statiC - Variable in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
Whether this declaration has the STATIC modifier
- STATIC - Static variable in class org.codehaus.janino.Mod
-
This flag is set on class or interface initialization methods, STATIC class fields, all interface fields, STATIC
methods, and STATIC nested classes.
- StaticImportOnDemandDeclaration(Location, String[]) - Constructor for class org.codehaus.janino.Java.CompilationUnit.StaticImportOnDemandDeclaration
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AnnotationsAttribute.Annotation
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AnnotationsAttribute.ArrayElementValue
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AnnotationsAttribute.ConstantElementValue
-
- store(DataOutputStream) - Method in interface org.codehaus.janino.util.ClassFile.AnnotationsAttribute.ElementValue
-
Writes this element value in an element-value-type dependent way; see JVMS8 4.7.16.1.
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AnnotationsAttribute.EnumConstValue
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AttributeInfo
-
Writes this attribute to a
DataOutputStream, in the format described in JVMS7 4.7.
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantClassInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantFieldrefInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantInterfaceMethodrefInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantMethodrefInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantNameAndTypeInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantPoolInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantUtf8Info
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.FieldInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
-
- store(OutputStream) - Method in class org.codehaus.janino.util.ClassFile
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AnnotationsAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AttributeInfo
-
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.CodeAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantValueAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.DeprecatedAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ExceptionsAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.InnerClassesAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.LineNumberTableAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.LocalVariableTableAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.SourceFileAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.SyntheticAttribute
-
- storeClassFile(ClassFile, File) - Method in class org.codehaus.janino.Compiler
-
Stores the byte code of this
ClassFile in the file system.
- storeCodeAttributeBody(DataOutputStream, short, short) - Method in class org.codehaus.janino.CodeContext
-
- storeLocalVariableTable(DataOutputStream, short) - Method in class org.codehaus.janino.CodeContext
-
- STRICTFP - Static variable in class org.codehaus.janino.Mod
-
This flag is set on STRICTFP methods, and is mutually exclusive with
Mod.ABSTRACT.
- StringElementValue(short) - Constructor for class org.codehaus.janino.util.ClassFile.AnnotationsAttribute.StringElementValue
-
- StringLiteral(Location, String) - Constructor for class org.codehaus.janino.Java.StringLiteral
-
- StringPattern - Class in org.codehaus.janino.util
-
Implementation of a UNIX shell-like string pattern algorithm.
- StringPattern(int, String) - Constructor for class org.codehaus.janino.util.StringPattern
-
- StringPattern(String) - Constructor for class org.codehaus.janino.util.StringPattern
-
- stringToType(String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
-
- stringToTypes(String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
-
Converts the given comma-separated list of class names to an array of
Classes.
- SUPER - Static variable in class org.codehaus.janino.Mod
-
This flag is always set on classes, and never set on any other element.
- superclass - Variable in class org.codehaus.janino.util.ClassFile
-
- SuperclassFieldAccessExpression(Location, Java.Type, String) - Constructor for class org.codehaus.janino.Java.SuperclassFieldAccessExpression
-
- SuperclassMethodInvocation(Location, String, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.SuperclassMethodInvocation
-
- SuperConstructorInvocation(Location, Java.Rvalue, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.SuperConstructorInvocation
-
- SwitchBlockStatementGroup(Location, List<Java.Rvalue>, boolean, List<Java.BlockStatement>) - Constructor for class org.codehaus.janino.Java.SwitchStatement.SwitchBlockStatementGroup
-
- SwitchStatement(Location, Java.Rvalue, List<Java.SwitchStatement.SwitchBlockStatementGroup>) - Constructor for class org.codehaus.janino.Java.SwitchStatement
-
- SYNCHRONIZED - Static variable in class org.codehaus.janino.Mod
-
This flag is set on SYNCHRONIZED methods.
- SynchronizedStatement(Location, Java.Rvalue, Java.BlockStatement) - Constructor for class org.codehaus.janino.Java.SynchronizedStatement
-
- SYNTHETIC - Static variable in class org.codehaus.janino.Mod
-
This flag is set on classes, methods and fields that were generated by the compiler and do not appear in the
source code.
- SYSTEM_PROPERTY_SOURCE_DEBUGGING_DIR - Static variable in interface org.codehaus.commons.compiler.ICookable
-
If the source code is not read from a file, debuggers have a hard time locating the source file for source-level
debugging.
- SYSTEM_PROPERTY_SOURCE_DEBUGGING_ENABLE - Static variable in interface org.codehaus.commons.compiler.ICookable
-
Setting this system property to 'true' enables source-level debugging.