public class BytecodeContext extends Object implements Context
Constructor and Description |
---|
BytecodeContext(BytecodeContext statConstr,
BytecodeContext constr,
List<LitString> keys,
BytecodeContext bc,
org.objectweb.asm.commons.GeneratorAdapter adapter,
org.objectweb.asm.commons.Method method) |
BytecodeContext(PageSource source,
BytecodeContext statConstr,
BytecodeContext constr,
Page page,
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 suppressWSbeforeArg,
boolean output) |
public BytecodeContext(PageSource source, BytecodeContext statConstr, BytecodeContext constr, Page page, 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 suppressWSbeforeArg, boolean output)
public BytecodeContext(BytecodeContext statConstr, BytecodeContext constr, List<LitString> keys, BytecodeContext bc, org.objectweb.asm.commons.GeneratorAdapter adapter, org.objectweb.asm.commons.Method method)
public int getCount()
public int incCount()
count
- the count to setpublic void resetCount()
public org.objectweb.asm.commons.GeneratorAdapter getAdapter()
public void setAdapter(BytecodeContext bc)
adapter
- the adapter to setpublic org.objectweb.asm.ClassWriter getClassWriter()
public void setClassWriter(org.objectweb.asm.ClassWriter classWriter)
classWriter
- the classWriter to setpublic String getClassName()
public void setClassName(String className)
className
- the className to setpublic int registerKey(LitString lit)
public void pushOnFinally(OnFinally onFinally)
public void popOnFinally()
public Stack<OnFinally> getOnFinallyStack()
public org.objectweb.asm.commons.Method getMethod()
public boolean doSubFunctions()
public boolean changeDoSubFunctions(boolean doSubFunctions)
doSubFunctions
- the doSubFunctions to setpublic int getCurrentTag()
public void setCurrentTag(int currentTag)
currentTag
- the currentTag to setpublic BytecodeContext getStaticConstructor()
public BytecodeContext getConstructor()
public void visitLineNumber(int line)
public int getLine()
public BytecodeContext getRoot()
public void setRoot(BytecodeContext root)
public boolean writeLog()
public boolean getSupressWSbeforeArg()
public boolean getOutput()
public PageSource getPageSource()
public void finallyPush(OnFinally onf)
public OnFinally finallyPop()
public boolean insideFinally(OnFinally onf)
Copyright © 2015 Lucee