Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
V
W
A
assert(boolean)
- Static method in class gnu.jel.debug.
Debug
Checks for the condition.
assert(boolean, String)
- Static method in class gnu.jel.debug.
Debug
Checks for the condition.
B
Boolean
- interface gnu.jel.reflect.
Boolean
.
Denotes the object as being automatically convertible to java boolean type.
Byte
- interface gnu.jel.reflect.
Byte
.
Denotes the object as being automatically convertible to java byte type.
C
c
- Variable in class gnu.jel.
Parser
cf_orig
- Static variable in class gnu.jel.
Evaluator
Character
- interface gnu.jel.reflect.
Character
.
Denotes the object as being automatically convertible to java char type.
chi
- Variable in class gnu.jel.
OP
Holds references to children of this node
ClassFile
- class gnu.jel.
ClassFile
.
This class represents a classfile image in JEL.
ClassFile(int, String, Class, Class[], LocalField[])
- Constructor for class gnu.jel.
ClassFile
Starts creation of a new class file.
clone()
- Method in class gnu.jel.
ClassFile
Makes a clone of this object.
cnmap
- Variable in class gnu.jel.
Library
code
- Variable in class gnu.jel.
OPunary
code of this operation
code
- Variable in class gnu.jel.
OPbinary
code of this operation
code(long)
- Method in class gnu.jel.
ClassFile
code up to 8 operations.
codeB(long)
- Method in class gnu.jel.
ClassFile
codeLDC(Object, int)
- Method in class gnu.jel.
ClassFile
generates code for code loading constant of primitive type or string.
codeM(Member)
- Method in class gnu.jel.
ClassFile
col
- Variable in class gnu.jel.
CompilationException
compare(boolean)
- Method in class gnu.jel.debug.
Tester
compare(byte[], byte[])
- Method in class gnu.jel.debug.
Tester
compare(int, int)
- Method in class gnu.jel.debug.
Tester
compare(Object, Object)
- Method in class gnu.jel.debug.
Tester
compare(String, String)
- Static method in class gnu.jel.
CompiledExpression
CompilationException
- exception gnu.jel.
CompilationException
.
Represents an error encountered during the compilation.
CompilationException(int, Object)
- Constructor for class gnu.jel.
CompilationException
Constructs new CompilationException with a single formatting parameter.
CompilationException(int, Object[])
- Constructor for class gnu.jel.
CompilationException
Constructs new CompilationException with a several formatting parameter.
compile(ClassFile)
- Method in class gnu.jel.
OP
Called to generate the code implementing this OP.
compile(ClassFile)
- Method in class gnu.jel.
OPcall
compile(ClassFile)
- Method in class gnu.jel.
OPload
compile(ClassFile)
- Method in class gnu.jel.
OPcondtnl
compile(ClassFile)
- Method in class gnu.jel.
OPunary
compile(ClassFile)
- Method in class gnu.jel.
OPbinary
compile(String, Library)
- Static method in class gnu.jel.
Evaluator
Compiles expression, resolving the function names in the library.
compile(String, Library, Class)
- Static method in class gnu.jel.
Evaluator
Compiles expression, resolving the function names in the library.
compileBits(String, Library)
- Static method in class gnu.jel.
Evaluator
Compiles expression, resolving the function names in the library.
compileBits(String, Library, Class)
- Static method in class gnu.jel.
Evaluator
Compiles expression, resolving the function names in the library.
CompiledExpression
- class gnu.jel.
CompiledExpression
.
The superclass of every compiled expression.
CompiledExpression()
- Constructor for class gnu.jel.
CompiledExpression
consume(int)
- Method in class gnu.jel.
Parser
ct_column
- Variable in class gnu.jel.
Parser
Column, where the current token started
ct_line
- Variable in class gnu.jel.
Parser
Line, where the current token started
D
Debug
- class gnu.jel.debug.
Debug
.
This class used for incorporating internal checks and assertions into the code.
Debug()
- Constructor for class gnu.jel.debug.
Debug
describe(String, Class[])
- Static method in class gnu.jel.
Library
Double
- interface gnu.jel.reflect.
Double
.
Denotes the object as being automatically convertible to java double type.
DVMap
- class gnu.jel.
DVMap
.
Provides the information about defined dynamic variables.
DVMap()
- Constructor for class gnu.jel.
DVMap
DVResolver
- interface gnu.jel.
DVResolver
.
Deprecated.
Please use the DVMap interface instead, DVResolver is scheduled for removal in JEL 1.0
E
enabled
- Static variable in class gnu.jel.debug.
Debug
Determines if debugging is enabled in current compilation.
eval_methods
- Static variable in class gnu.jel.
Evaluator
eval()
- Method in class gnu.jel.
OP
Called to evaluate this node and all its sub-nodes.
eval()
- Method in class gnu.jel.
OPcall
Attempts to evaluate this function.
eval()
- Method in class gnu.jel.
OPload
eval()
- Method in class gnu.jel.
OPcondtnl
eval()
- Method in class gnu.jel.
OPunary
eval()
- Method in class gnu.jel.
OPbinary
evaluate_boolean(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
boolean
.
evaluate_byte(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
byte
.
evaluate_char(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
char
.
evaluate_double(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
double
.
evaluate_float(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
float
.
evaluate_int(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
int
.
evaluate_long(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
long
.
evaluate_short(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression whose result has type
short
.
evaluate(Object[])
- Method in class gnu.jel.
CompiledExpression
Evaluates the expression, representing result as an object.
Evaluator
- class gnu.jel.
Evaluator
.
This is the main front end to JEL.
Evaluator()
- Constructor for class gnu.jel.
Evaluator
F
Float
- interface gnu.jel.reflect.
Float
.
Denotes the object as being automatically convertible to java float type.
G
getColumn()
- Method in class gnu.jel.
CompilationException
Used to obtain the column, where error have occurred.
getConstValue()
- Method in class gnu.jel.
LocalField
Returns a value of the public static final field.
getDeclaringClass()
- Method in class gnu.jel.
LocalField
getDynamicMethodClassID(Member)
- Method in class gnu.jel.
Library
Returns ID(position in the object array) of the dynamic Method.
getExceptionTypes()
- Method in class gnu.jel.
LocalMethod
Used to get checked exceptions thrown by this method
getImage()
- Method in class gnu.jel.
ClassFile
Finishes class and returns the resulting bytecode.
getImage(OP)
- Static method in class gnu.jel.
Evaluator
getIndex(Object, int)
- Method in class gnu.jel.
ClassFile
Used to determine an old CP index or to create a new one for an item.
getMember(Class, String, Class[])
- Method in class gnu.jel.
Library
Searches the namespace defined by this library object for method or field.
getMessage()
- Method in class gnu.jel.
CompilationException
Used to obtain the formatted error message.
getModifiers()
- Method in class gnu.jel.
LocalField
getMsg(int, Object[])
- Static method in class gnu.jel.
TableKeeper
getName()
- Method in class gnu.jel.
LocalField
getParameters()
- Method in class gnu.jel.
CompilationException
Used to obtain the parameters for this error.
getParameterTypes()
- Method in class gnu.jel.
LocalMethod
Used to obtain types of formal parameters of this method.
getParameterTypes(Member)
- Static method in class gnu.jel.
Library
Used to get types of formal parameters of a member.
getSignature(Class)
- Static method in class gnu.jel.
Library
Computes the signature of the given class.
getSignature(Member)
- Static method in class gnu.jel.
Library
Computes signature of the given member.
getTable(String)
- Static method in class gnu.jel.
TableKeeper
Used to get a reference to the named int[][] table.
getType()
- Method in class gnu.jel.
LocalField
getType()
- Method in class gnu.jel.
CompiledExpression
Returns type of the expression result.
getType()
- Method in class gnu.jel.
CompilationException
Used to obtain the error code.
getType(Member)
- Static method in class gnu.jel.
Library
Used to get return type of a class member.
getTypeName(String)
- Method in interface gnu.jel.
DVResolver
Deprecated.
This method returns the name of the type of the named property.
getValue()
- Method in interface gnu.jel.reflect.
Character
getValue()
- Method in interface gnu.jel.reflect.
Integer
getValue()
- Method in interface gnu.jel.reflect.
Float
getValue()
- Method in interface gnu.jel.reflect.
Byte
getValue()
- Method in interface gnu.jel.reflect.
Boolean
getValue()
- Method in interface gnu.jel.reflect.
Double
getValue()
- Method in interface gnu.jel.reflect.
Long
getValue()
- Method in interface gnu.jel.reflect.
Short
gnu.jel
- package gnu.jel
gnu.jel.debug
- package gnu.jel.debug
gnu.jel.reflect
- package gnu.jel.reflect
I
ImageLoader
- class gnu.jel.
ImageLoader
.
Loads the JEL generated classes into memory.
Integer
- interface gnu.jel.reflect.
Integer
.
Denotes the object as being automatically convertible to java int type.
isCast()
- Method in class gnu.jel.
Parser
isField(Member)
- Static method in class gnu.jel.
Library
isStateless(Member)
- Method in class gnu.jel.
Library
Used to check if the given method is stateless.
isWidening(Class, Class)
- Static method in class gnu.jel.
OP
Used to find out if the conversion t1->t2 is widening.
isWidening(int, Class, int, Class)
- Static method in class gnu.jel.
OP
Used to find out if the conversion t1->t2 is widening.
L
Library
- class gnu.jel.
Library
.
A namespace for JEL expressions.
Library(Class[], Class[])
- Constructor for class gnu.jel.
Library
Deprecated.
Please us 5 argument constructor with unused arguments set to
null
. This constructor is scheduled for removal in JEL 1.0.
Library(Class[], Class[], Class[])
- Constructor for class gnu.jel.
Library
Deprecated.
Please us 5 argument constructor with unused arguments set to
null
. This constructor is scheduled for removal in JEL 1.0.
Library(Class[], Class[], Class[], DVResolver)
- Constructor for class gnu.jel.
Library
Deprecated.
Please us 5 argument constructor with unused arguments set to
null
. This constructor is scheduled for removal in JEL 1.0.
Library(Class[], Class[], Class[], DVResolver, Hashtable)
- Constructor for class gnu.jel.
Library
Creates a library for JEL.
load(byte[])
- Static method in class gnu.jel.
ImageLoader
Loads given JEL-generated image under its own name.
loadClass(String, boolean)
- Method in class gnu.jel.
ImageLoader
LocalField
- class gnu.jel.
LocalField
.
Represents a field local to the class being compiled.
LocalField(int, Class, String, Object)
- Constructor for class gnu.jel.
LocalField
Constructs a new local field.
LocalMethod
- class gnu.jel.
LocalMethod
.
Represents a method local to the class being compiled.
LocalMethod(int, Class, String, Class[], Class[])
- Constructor for class gnu.jel.
LocalMethod
Constructs a new local method.
Long
- interface gnu.jel.reflect.
Long
.
Denotes the object as being automatically convertible to java long type.
M
m
- Variable in class gnu.jel.
OPcall
Holds method to be executed
main(String[])
- Static method in class gnu.jel.debug.
Tester
markStateDependent(String, Class[])
- Method in class gnu.jel.
Library
This method marks a static member as having the internal state.
N
narrow(Number, int)
- Static method in class gnu.jel.
OP
Narrows the value back to desired primitiva type.
newMethod(LocalMethod, Class[])
- Method in class gnu.jel.
ClassFile
Starts a new method of this class.
nextToken()
- Method in class gnu.jel.
Parser
noteStk(int, int)
- Method in class gnu.jel.
ClassFile
Notes removal of typeID s and subsequent addition of typeID a to Java stack.
nplv
- Variable in class gnu.jel.
OPcall
local variable number (in case m=null), number of formal parameters of the method to call otherwise.
O
OP
- class gnu.jel.
OP
.
A tree node, representing an operation.
OP()
- Constructor for class gnu.jel.
OP
OPbinary
- class gnu.jel.
OPbinary
.
A tree node, representing binary operation.
OPbinary(Stack, int)
- Constructor for class gnu.jel.
OPbinary
Constructs a new binary operation.
OPcall
- class gnu.jel.
OPcall
.
A tree node, representing a method call (field/local variable load).
OPcall(int, Class)
- Constructor for class gnu.jel.
OPcall
Prepares access to the local variable (formal parameter) of method.
OPcall(Stack, Member, boolean)
- Constructor for class gnu.jel.
OPcall
Prepares a new method/field call/get operation to be added to the code.
OPcondtnl
- class gnu.jel.
OPcondtnl
.
A tree node, representing conditional.
OPcondtnl(Stack)
- Constructor for class gnu.jel.
OPcondtnl
Creates conditional operator.
OPload
- class gnu.jel.
OPload
.
A tree node, representing loading of a constant.
OPload(Object)
- Constructor for class gnu.jel.
OPload
Creates an OP, loading a constant.
OPload(OP, Object)
- Constructor for class gnu.jel.
OPload
Creates an OP, loading a constant to be put instead of another OP.
OPunary
- class gnu.jel.
OPunary
.
A tree node, representing unary operation.
OPunary(Stack, int)
- Constructor for class gnu.jel.
OPunary
Constructs a new unary operation.
OPunary(Stack, int, Class, boolean)
- Constructor for class gnu.jel.
OPunary
Creates conversion operation to the given class.
P
parse(Class)
- Method in class gnu.jel.
Parser
Parses expression.
parse(String, Library, Class)
- Static method in class gnu.jel.
Evaluator
Parser
- class gnu.jel.
Parser
.
Parser(String, Library)
- Constructor for class gnu.jel.
Parser
Initializes the parser.
print(Object)
- Method in class gnu.jel.debug.
Tester
printHexLine16(PrintWriter, byte[], int)
- Method in class gnu.jel.debug.
Tester
println(Object)
- Method in class gnu.jel.debug.
Tester
println(String)
- Static method in class gnu.jel.debug.
Debug
Prints a line of the debug output.
promotions
- Static variable in class gnu.jel.
OPbinary
binary promotions of base types
R
read()
- Method in class gnu.jel.
Parser
Reads character from underlying Reader.
reportThrowable(Throwable)
- Static method in class gnu.jel.debug.
Debug
Reports an exception, which should not occur(i.e.
reportThrowable(Throwable, String)
- Static method in class gnu.jel.debug.
Debug
Reports an exception, which should not occur(i.e.
resID
- Variable in class gnu.jel.
OP
Holds type ID of the result of this OP
resolver
- Variable in class gnu.jel.
Library
resType
- Variable in class gnu.jel.
OP
Holds type of the result of this OP
retID_patchback
- Static variable in class gnu.jel.
Evaluator
S
Short
- interface gnu.jel.reflect.
Short
.
Denotes the object as being automatically convertible to java short type.
specialTypes
- Static variable in class gnu.jel.
OP
Classes of the special types by ID.
startTest(String)
- Method in class gnu.jel.debug.
Tester
String
- interface gnu.jel.reflect.
String
.
Denotes the object as being automatically convertible to java String type using its
.toString()
method.
summarize()
- Method in class gnu.jel.debug.
Tester
T
TableKeeper
- class gnu.jel.
TableKeeper
.
TableKeeper()
- Constructor for class gnu.jel.
TableKeeper
Tester
- class gnu.jel.debug.
Tester
.
Tester(OutputStream)
- Constructor for class gnu.jel.debug.
Tester
testFail()
- Method in class gnu.jel.debug.
Tester
testFailProgressing()
- Method in class gnu.jel.debug.
Tester
testOK()
- Method in class gnu.jel.debug.
Tester
toHistoricalForm(String)
- Static method in class gnu.jel.
Library
translate(String)
- Method in class gnu.jel.
DVMap
This method is used to translate the variable name of type String to a constant of another type.
type
- Variable in class gnu.jel.
Parser
type of the currect token
typeID(Class)
- Static method in class gnu.jel.
OP
Identifies the primitive type of the given class.
typeIDObject(Object)
- Static method in class gnu.jel.
OP
Identify the primitive type corresponding to the given reflection object.
U
unary_prmtns
- Static variable in class gnu.jel.
OPunary
unary promotions of base types
unwrapType
- Static variable in class gnu.jel.
OP
Unwraps the type ID.
V
val
- Variable in class gnu.jel.
Parser
value of the current
token wrapped into a reflection object
W
what
- Variable in class gnu.jel.
OPload
Holds an object to be loaded
widen(Object, int)
- Static method in class gnu.jel.
OP
Makes widest possible representation of a value of Java primitive type.
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES