railo.transformer.bytecode
Class BytecodeContext

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean changeDoSubFunctions(boolean doSubFunctions)
           
 boolean doSubFunctions()
           
 org.objectweb.asm.commons.GeneratorAdapter getAdapter()
           
 String getClassName()
           
 org.objectweb.asm.ClassWriter getClassWriter()
           
 BytecodeContext getConstructor()
           
 int getCount()
           
 int getCurrentTag()
           
 String getId()
           
 List<LitString> getKeys()
           
 int getLine()
           
 org.objectweb.asm.commons.Method getMethod()
           
 Stack<OnFinally> getOnFinallyStack()
           
 Page getPage()
           
 BytecodeContext getRoot()
           
 BytecodeContext getStaticConstructor()
           
 StringExternalizerWriter getStringExternalizerWriter()
           
 boolean getSupressWSbeforeArg()
           
 int incCount()
           
 void popOnFinally()
           
 void pushOnFinally(OnFinally onFinally)
           
 int registerKey(LitString lit)
           
 void resetCount()
           
 void setAdapter(BytecodeContext bc)
           
 void setClassName(String className)
           
 void setClassWriter(org.objectweb.asm.ClassWriter classWriter)
           
 void setCurrentTag(int currentTag)
           
 void setRoot(BytecodeContext root)
           
 void visitLineNumber(int line)
           
 boolean writeLog()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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