railo.transformer.bytecode
Class BytecodeContext
java.lang.Object
railo.transformer.bytecode.BytecodeContext
- All Implemented Interfaces:
- Context
public class BytecodeContext
- extends Object
- implements Context
Constructor Summary |
BytecodeContext(BytecodeContext statConstr,
BytecodeContext constr,
List<LitString> keys,
BytecodeContext bc,
org.objectweb.asm.commons.GeneratorAdapter adapter,
org.objectweb.asm.commons.Method method)
|
BytecodeContext(BytecodeContext statConstr,
BytecodeContext constr,
Page page,
StringExternalizerWriter externalizer,
List<LitString> keys,
org.objectweb.asm.ClassWriter classWriter,
String className,
org.objectweb.asm.commons.GeneratorAdapter adapter,
org.objectweb.asm.commons.Method method,
boolean writeLog,
boolean supressWSbeforeArg)
|
BytecodeContext
public BytecodeContext(BytecodeContext statConstr,
BytecodeContext constr,
Page page,
StringExternalizerWriter externalizer,
List<LitString> keys,
org.objectweb.asm.ClassWriter classWriter,
String className,
org.objectweb.asm.commons.GeneratorAdapter adapter,
org.objectweb.asm.commons.Method method,
boolean writeLog,
boolean supressWSbeforeArg)
BytecodeContext
public BytecodeContext(BytecodeContext statConstr,
BytecodeContext constr,
List<LitString> keys,
BytecodeContext bc,
org.objectweb.asm.commons.GeneratorAdapter adapter,
org.objectweb.asm.commons.Method method)
getId
public String getId()
- Returns:
- the id
getCount
public int getCount()
- Returns:
- the count
incCount
public int incCount()
- Parameters:
count
- the count to set
resetCount
public void resetCount()
getAdapter
public org.objectweb.asm.commons.GeneratorAdapter getAdapter()
- Returns:
- the adapter
setAdapter
public void setAdapter(BytecodeContext bc)
- Parameters:
adapter
- the adapter to set
getClassWriter
public org.objectweb.asm.ClassWriter getClassWriter()
- Returns:
- the classWriter
setClassWriter
public void setClassWriter(org.objectweb.asm.ClassWriter classWriter)
- Parameters:
classWriter
- the classWriter to set
getClassName
public String getClassName()
- Returns:
- the className
setClassName
public void setClassName(String className)
- Parameters:
className
- the className to set
registerKey
public int registerKey(LitString lit)
getKeys
public List<LitString> getKeys()
pushOnFinally
public void pushOnFinally(OnFinally onFinally)
popOnFinally
public void popOnFinally()
getOnFinallyStack
public Stack<OnFinally> getOnFinallyStack()
getMethod
public org.objectweb.asm.commons.Method getMethod()
- Returns:
- the method
doSubFunctions
public boolean doSubFunctions()
- Returns:
- the doSubFunctions
changeDoSubFunctions
public boolean changeDoSubFunctions(boolean doSubFunctions)
- Parameters:
doSubFunctions
- the doSubFunctions to set
- Returns:
getCurrentTag
public int getCurrentTag()
- Returns:
- the currentTag
setCurrentTag
public void setCurrentTag(int currentTag)
- Parameters:
currentTag
- the currentTag to set
getStaticConstructor
public BytecodeContext getStaticConstructor()
getConstructor
public BytecodeContext getConstructor()
visitLineNumber
public void visitLineNumber(int line)
getLine
public int getLine()
getRoot
public BytecodeContext getRoot()
setRoot
public void setRoot(BytecodeContext root)
writeLog
public boolean writeLog()
getStringExternalizerWriter
public StringExternalizerWriter getStringExternalizerWriter()
getPage
public Page getPage()
getSupressWSbeforeArg
public boolean getSupressWSbeforeArg()
Copyright © 2012 Railo