|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bcel.classfile.AccessFlags
org.apache.bcel.generic.FieldGenOrMethodGen
org.apache.bcel.generic.MethodGen
org.apache.xalan.xsltc.compiler.util.MethodGenerator
org.apache.xalan.xsltc.compiler.util.TestGenerator
public final class TestGenerator
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.bcel.generic.InstructionConstants |
---|
org.apache.bcel.generic.InstructionConstants.Clinit |
Field Summary |
---|
Fields inherited from interface org.apache.bcel.generic.InstructionConstants |
---|
AALOAD, AASTORE, ACONST_NULL, ALOAD_0, ALOAD_1, ALOAD_2, ARETURN, ARRAYLENGTH, ASTORE_0, ASTORE_1, ASTORE_2, ATHROW, BALOAD, BASTORE, bla, CALOAD, CASTORE, D2F, D2I, D2L, DADD, DALOAD, DASTORE, DCMPG, DCMPL, DCONST_0, DCONST_1, DDIV, DMUL, DNEG, DREM, DRETURN, DSUB, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, F2D, F2I, F2L, FADD, FALOAD, FASTORE, FCMPG, FCMPL, FCONST_0, FCONST_1, FCONST_2, FDIV, FMUL, FNEG, FREM, FRETURN, FSUB, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IALOAD, IAND, IASTORE, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, ICONST_5, ICONST_M1, IDIV, ILOAD_0, ILOAD_1, ILOAD_2, IMUL, INEG, INSTRUCTIONS, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE_0, ISTORE_1, ISTORE_2, ISUB, IUSHR, IXOR, L2D, L2F, L2I, LADD, LALOAD, LAND, LASTORE, LCMP, LCONST_0, LCONST_1, LDIV, LMUL, LNEG, LOR, LREM, LRETURN, LSHL, LSHR, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, NOP, POP, POP2, RETURN, SALOAD, SASTORE, SWAP, THIS |
Constructor Summary | |
---|---|
TestGenerator(int access_flags,
org.apache.bcel.generic.Type return_type,
org.apache.bcel.generic.Type[] arg_types,
java.lang.String[] arg_names,
java.lang.String method_name,
java.lang.String class_name,
org.apache.bcel.generic.InstructionList il,
org.apache.bcel.generic.ConstantPoolGen cp)
|
Method Summary | |
---|---|
int |
getHandlerIndex()
|
int |
getIteratorIndex()
|
int |
getLocalIndex(java.lang.String name)
|
org.apache.bcel.generic.Instruction |
loadContextNode()
by default context node is the same as current node. |
org.apache.bcel.generic.Instruction |
loadCurrentNode()
|
org.apache.bcel.generic.Instruction |
loadDOM()
|
org.apache.bcel.generic.Instruction |
loadIterator()
|
void |
setDomIndex(int domIndex)
|
org.apache.bcel.generic.Instruction |
storeContextNode()
|
org.apache.bcel.generic.Instruction |
storeCurrentNode()
|
org.apache.bcel.generic.Instruction |
storeIterator()
|
Methods inherited from class org.apache.xalan.xsltc.compiler.util.MethodGenerator |
---|
addInstructionList, addLocalVariable, addLocalVariable2, attribute, endDocument, endElement, getInstructionList, getLocalVariable, loadHandler, namespace, nextNode, removeLocalVariable, reset, setMaxLocals, setStartNode, startDocument, startElement, storeDOM, storeHandler, uniqueAttribute |
Methods inherited from class org.apache.bcel.generic.MethodGen |
---|
addCodeAttribute, addException, addExceptionHandler, addLineNumber, addLocalVariable, addObserver, copy, getArgumentName, getArgumentNames, getArgumentType, getArgumentTypes, getClassName, getCodeAttributes, getExceptionHandlers, getExceptions, getInstructionList, getLineNumbers, getLineNumberTable, getLocalVariables, getLocalVariableTable, getMaxLocals, getMaxStack, getMaxStack, getMethod, getReturnType, getSignature, removeCodeAttribute, removeCodeAttributes, removeException, removeExceptionHandler, removeExceptionHandlers, removeExceptions, removeLineNumber, removeLineNumbers, removeLocalVariables, removeNOPs, removeObserver, setArgumentName, setArgumentNames, setArgumentType, setArgumentTypes, setClassName, setInstructionList, setMaxLocals, setMaxStack, setMaxStack, setReturnType, stripAttributes, toString, update |
Methods inherited from class org.apache.bcel.generic.FieldGenOrMethodGen |
---|
addAttribute, clone, getAttributes, getConstantPool, getName, getType, removeAttribute, removeAttributes, setConstantPool, setName, setType |
Methods inherited from class org.apache.bcel.classfile.AccessFlags |
---|
getAccessFlags, getModifiers, isAbstract, isAbstract, isFinal, isFinal, isInterface, isInterface, isNative, isNative, isPrivate, isPrivate, isProtected, isProtected, isPublic, isPublic, isStatic, isStatic, isStrictfp, isStrictfp, isSynchronized, isSynchronized, isTransient, isTransient, isVolatile, isVolatile, setAccessFlags, setModifiers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestGenerator(int access_flags, org.apache.bcel.generic.Type return_type, org.apache.bcel.generic.Type[] arg_types, java.lang.String[] arg_names, java.lang.String method_name, java.lang.String class_name, org.apache.bcel.generic.InstructionList il, org.apache.bcel.generic.ConstantPoolGen cp)
Method Detail |
---|
public int getHandlerIndex()
public int getIteratorIndex()
public void setDomIndex(int domIndex)
public org.apache.bcel.generic.Instruction loadDOM()
loadDOM
in class MethodGenerator
public org.apache.bcel.generic.Instruction loadCurrentNode()
loadCurrentNode
in class MethodGenerator
public org.apache.bcel.generic.Instruction loadContextNode()
loadContextNode
in class MethodGenerator
public org.apache.bcel.generic.Instruction storeContextNode()
storeContextNode
in class MethodGenerator
public org.apache.bcel.generic.Instruction storeCurrentNode()
storeCurrentNode
in class MethodGenerator
public org.apache.bcel.generic.Instruction storeIterator()
storeIterator
in class MethodGenerator
public org.apache.bcel.generic.Instruction loadIterator()
loadIterator
in class MethodGenerator
public int getLocalIndex(java.lang.String name)
getLocalIndex
in class MethodGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |