janino.net
A B C D E F G H I J L M N O P Q R S T U V W Z

S

saveLocalVariables() - Method in class org.codehaus.janino.CodeContext
Remember the current size of the local variables array.
sbsgs - Variable in class org.codehaus.janino.Java.SwitchStatement
 
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
Deprecated.  
Scanner(String, String) - Constructor for class org.codehaus.janino.Scanner
Deprecated.  
Scanner(File) - Constructor for class org.codehaus.janino.Scanner
Deprecated.  
Scanner(File, String) - Constructor for class org.codehaus.janino.Scanner
Deprecated.  
Scanner(String, InputStream) - Constructor for class org.codehaus.janino.Scanner
Set 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
Set 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
Set 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.EOFToken - Class in org.codehaus.janino
 
Scanner.EOFToken() - Constructor for class org.codehaus.janino.Scanner.EOFToken
 
Scanner.IdentifierToken - Class in org.codehaus.janino
 
Scanner.KeywordToken - Class in org.codehaus.janino
 
Scanner.LiteralToken - Class in org.codehaus.janino
The type of the value parameter determines the type of the literal token: Type/value returned by Scanner.LiteralToken.getLiteralValue()Literal StringSTRING literal CharacterCHAR literal IntegerINT literal LongLONG literal FloatFLOAT literal DoubleDOUBLE literal BooleanBOOLEAN literal nullNULL literal
Scanner.LiteralToken(Object) - Constructor for class org.codehaus.janino.Scanner.LiteralToken
 
Scanner.OperatorToken - Class in org.codehaus.janino
 
Scanner.ScanException - Exception in org.codehaus.janino
An exception that reflects an error during parsing.
Scanner.ScanException(String) - Constructor for exception org.codehaus.janino.Scanner.ScanException
 
Scanner.ScanException(String, Throwable) - Constructor for exception org.codehaus.janino.Scanner.ScanException
 
Scanner.Token - Class in org.codehaus.janino
 
ScriptDemo - Class in org.codehaus.janino.samples
A test program that allows you to play around with the ScriptEvaluator class.
ScriptEvaluator - Class in org.codehaus.janino
An engine that executes a script in JavaTM bytecode.
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
 
SERIALIZABLE - Static variable in class org.codehaus.janino.Descriptor
 
SERIALIZABLE - Variable in class org.codehaus.janino.IClassLoader
 
set() - Method in class org.codehaus.janino.CodeContext.Offset
Set this "Offset" to the offset of the current inserter; insert this "Offset" before the current inserter.
set(Object) - Method in class org.codehaus.janino.util.iterator.FilterListIterator
Calls FilterListIterator.delegate.
setClassName(String) - Method in class org.codehaus.janino.ClassBodyEvaluator
Set the name of the generated class.
setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.Compiler
Install a custom UnitCompiler.ErrorHandler.
setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.JavaSourceClassLoader
 
setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.JavaSourceIClassLoader
 
setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.UnitCompiler
By default, CompileExceptions are thrown on compile errors, but an application my install its own (thread-local) UnitCompiler.ErrorHandler.
setDeclaringCompilationUnit(Java.CompilationUnit) - Method in class org.codehaus.janino.Java.PackageMemberClassDeclaration
 
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.MemberClassDeclaration
 
setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.MemberInterfaceDeclaration
 
setDeclaringType(Java.TypeDeclaration) - Method in interface org.codehaus.janino.Java.TypeBodyDeclaration
 
setDefaultImports(String[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
"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.
setEnclosingBlockStatement(Java.BlockStatement) - Method in class org.codehaus.janino.Java.Rvalue
Sets enclosing block statement for this object and all subordinate Java.Rvalue objects.
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 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 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.
setEnclosingTryStatement(Java.TryStatement) - Method in class org.codehaus.janino.Java.CatchClause
 
setEnd(CodeContext.Offset) - Method in class org.codehaus.janino.Java.LocalVariableSlot
 
setExpressionType(Class) - Method in class org.codehaus.janino.ExpressionEvaluator
Define the type of the expression.
setExpressionTypes(Class[]) - Method in class org.codehaus.janino.ExpressionEvaluator
 
setExtendedType(Class) - Method in class org.codehaus.janino.ClassBodyEvaluator
Set a particular superclass that the generated class will extend.
setImplementedTypes(Class[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
Set a particular set of interfaces that the generated class will implement.
setLastModified(long) - Method in class org.codehaus.janino.util.resource.MapResourceFinder
 
setMethodName(String) - Method in class org.codehaus.janino.ScriptEvaluator
Define the name of the generated method.
setMethodNames(String[]) - Method in class org.codehaus.janino.ScriptEvaluator
Define the names of the generated methods.
setName(String) - Method in class org.codehaus.janino.Java.LocalVariableSlot
 
setName(String) - Method in class org.codehaus.janino.util.enumerator.EnumeratorSet
An EnumeratorSet can optionally be assigned a name, which is used by EnumeratorSet.toString().
setOut(OutputStream) - Method in class org.codehaus.janino.tools.Disassembler
 
setPackageDeclaration(Java.PackageDeclaration) - Method in class org.codehaus.janino.Java.CompilationUnit
 
setParameters(String[], Class[]) - Method in class org.codehaus.janino.ScriptEvaluator
Define the names and types of the parameters of the generated method.
setParameters(String[][], Class[][]) - Method in class org.codehaus.janino.ScriptEvaluator
Define the names and types of the parameters of the generated methods.
setParentClassLoader(ClassLoader) - Method in class org.codehaus.janino.SimpleCompiler
The "parent class loader" is used to load referenced classes.
setParentClassLoader(ClassLoader, Class[]) - Method in class org.codehaus.janino.SimpleCompiler
Allow references to the classes loaded through this parent class loader (@see SimpleCompiler.setParentClassLoader(ClassLoader)), plus the extra auxiliaryClasses.
setPrefix(String) - Method in class org.codehaus.janino.util.AutoIndentWriter
The prefix, if non-null, is printed between the indentation space and the line data.
setProtectionDomainFactory(JavaSourceClassLoader.ProtectionDomainFactory) - Method in class org.codehaus.janino.JavaSourceClassLoader
 
setReturnType(Class) - Method in class org.codehaus.janino.ScriptEvaluator
Define the return type of the generated method.
setReturnTypes(Class[]) - Method in class org.codehaus.janino.ScriptEvaluator
Define the return types of the scripts.
setSlot(Java.LocalVariableSlot) - Method in class org.codehaus.janino.Java.LocalVariable
 
setSlotIndex(short) - Method in class org.codehaus.janino.Java.LocalVariableSlot
 
setSourceDirectory(File) - Method in class org.codehaus.janino.tools.Disassembler
 
setStart(CodeContext.Offset) - Method in class org.codehaus.janino.Java.LocalVariableSlot
 
setStaticMethod(boolean) - Method in class org.codehaus.janino.ScriptEvaluator
Define whether the generated method should be STATIC or not.
setStaticMethod(boolean[]) - Method in class org.codehaus.janino.ScriptEvaluator
Define whether the methods implementing each script should be STATIC or not.
setThrownExceptions(Class[]) - Method in class org.codehaus.janino.ScriptEvaluator
Define the exceptions that the generated method may throw.
setThrownExceptions(Class[][]) - Method in class org.codehaus.janino.ScriptEvaluator
Define the exceptions that the generated methods may throw.
setUpClassLoaders() - Method in class org.codehaus.janino.SimpleCompiler
Initializes SimpleCompiler.classLoader and SimpleCompiler.iClassLoader from the configured SimpleCompiler.parentClassLoader and SimpleCompiler.optionalAuxiliaryClasses.
setVerbose(boolean) - Method in class org.codehaus.janino.tools.Disassembler
 
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 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.Scanner
By default, warnings are discarded, but an application my install a WarningHandler.
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.janino.samples
Sample application which demonstrates how to use the ExpressionEvaluator class.
ShippingCost() - Constructor for class org.codehaus.janino.samples.ShippingCost
 
SHORT - Static variable in class org.codehaus.janino.Descriptor
 
SHORT - Static variable in class org.codehaus.janino.IClass
 
SHORT - Variable in class org.codehaus.janino.IClassLoader
 
SHORT - Static variable in class org.codehaus.janino.Java.BasicType
 
SHORT_ - Static variable in class org.codehaus.janino.Descriptor
 
shortToString(short) - Static method in class org.codehaus.janino.Mod
 
SimpleCompiler - Class in org.codehaus.janino
A simplified version of Compiler that can compile only a single compilation unit.
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
 
size(String) - Static method in class org.codehaus.janino.Descriptor
 
size() - Method in class org.codehaus.janino.util.iterator.IteratorCollection
 
slot - Variable in class org.codehaus.janino.Java.LocalVariable
 
SOURCE - Static variable in class org.codehaus.janino.DebuggingInformation
 
startPC - Variable in class org.codehaus.janino.util.ClassFile.LineNumberTableAttribute.Entry
 
startPC - Variable in class org.codehaus.janino.util.ClassFile.LocalVariableTableAttribute.Entry
 
statements - Variable in class org.codehaus.janino.Java.Block
 
statiC - Variable in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
 
STATIC - Static variable in class org.codehaus.janino.Mod
 
store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AttributeInfo
 
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
Write this object to a DataOutputStream, in the format defined by the JVM specification.
store(OutputStream) - Method in class org.codehaus.janino.util.ClassFile
Write ClassFile to an OutputStream, in "class file" format.
storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AttributeInfo
 
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
Store 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
 
STRING - Static variable in class org.codehaus.janino.Descriptor
 
STRING - Variable in class org.codehaus.janino.IClassLoader
 
STRING_BUFFER - Static variable in class org.codehaus.janino.Descriptor
 
STRING_BUILDER - Static variable in class org.codehaus.janino.Descriptor
 
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.janino.samples.DemoBase
 
stringToTypes(String) - Static method in class org.codehaus.janino.samples.DemoBase
 
SUPER - Static variable in class org.codehaus.janino.Mod
 
superclass - Variable in class org.codehaus.janino.util.ClassFile
 
SYNCHRONIZED - Static variable in class org.codehaus.janino.Mod
 
SYNTHETIC - Static variable in class org.codehaus.janino.Mod
 

janino.net
A B C D E F G H I J L M N O P Q R S T U V W Z