public class DelegatingController extends WriterController
optimizeForInt
Constructor and Description |
---|
DelegatingController(WriterController normalController) |
public DelegatingController(WriterController normalController)
public void init(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn)
init
in class WriterController
public void setMethodNode(MethodNode mn)
setMethodNode
in class WriterController
public void setConstructorNode(ConstructorNode cn)
setConstructorNode
in class WriterController
public boolean isFastPath()
isFastPath
in class WriterController
public CallSiteWriter getCallSiteWriter()
getCallSiteWriter
in class WriterController
public StatementWriter getStatementWriter()
getStatementWriter
in class WriterController
public TypeChooser getTypeChooser()
getTypeChooser
in class WriterController
public AsmClassGenerator getAcg()
getAcg
in class WriterController
public AssertionWriter getAssertionWriter()
getAssertionWriter
in class WriterController
public BinaryExpressionHelper getBinaryExpressionHelper()
getBinaryExpressionHelper
in class WriterController
public UnaryExpressionHelper getUnaryExpressionHelper()
getUnaryExpressionHelper
in class WriterController
public String getClassName()
getClassName
in class WriterController
public ClassNode getClassNode()
getClassNode
in class WriterController
public org.objectweb.asm.ClassVisitor getClassVisitor()
getClassVisitor
in class WriterController
public ClosureWriter getClosureWriter()
getClosureWriter
in class WriterController
public CompileStack getCompileStack()
getCompileStack
in class WriterController
public ConstructorNode getConstructorNode()
getConstructorNode
in class WriterController
public GeneratorContext getContext()
getContext
in class WriterController
public org.objectweb.asm.ClassVisitor getCv()
getCv
in class WriterController
public InterfaceHelperClassNode getInterfaceClassLoadingClass()
getInterfaceClassLoadingClass
in class WriterController
public String getInternalBaseClassName()
getInternalBaseClassName
in class WriterController
public String getInternalClassName()
getInternalClassName
in class WriterController
public InvocationWriter getInvocationWriter()
getInvocationWriter
in class WriterController
public MethodNode getMethodNode()
getMethodNode
in class WriterController
public org.objectweb.asm.MethodVisitor getMethodVisitor()
getMethodVisitor
in class WriterController
public OperandStack getOperandStack()
getOperandStack
in class WriterController
public ClassNode getOutermostClass()
getOutermostClass
in class WriterController
public ClassNode getReturnType()
getReturnType
in class WriterController
public SourceUnit getSourceUnit()
getSourceUnit
in class WriterController
public boolean isConstructor()
isConstructor
in class WriterController
public boolean isInClosure()
isInClosure
in class WriterController
public boolean isInClosureConstructor()
isInClosureConstructor
in class WriterController
public boolean isNotClinit()
isNotClinit
in class WriterController
public boolean isInScriptBody()
isInScriptBody
in class WriterController
public boolean isNotExplicitThisInClosure(boolean implicitThis)
isNotExplicitThisInClosure
in class WriterController
public boolean isStaticConstructor()
isStaticConstructor
in class WriterController
public boolean isStaticContext()
isStaticContext
in class WriterController
public boolean isStaticMethod()
isStaticMethod
in class WriterController
public void setInterfaceClassLoadingClass(InterfaceHelperClassNode ihc)
setInterfaceClassLoadingClass
in class WriterController
public void setMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor)
setMethodVisitor
in class WriterController
public boolean shouldOptimizeForInt()
shouldOptimizeForInt
in class WriterController
public void switchToFastPath()
switchToFastPath
in class WriterController
public void switchToSlowPath()
switchToSlowPath
in class WriterController
public int getBytecodeVersion()
getBytecodeVersion
in class WriterController
public void setLineNumber(int n)
setLineNumber
in class WriterController
public int getLineNumber()
getLineNumber
in class WriterController
public void resetLineNumber()
resetLineNumber
in class WriterController