public class WriterController extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
optimizeForInt |
Constructor and Description |
---|
WriterController() |
public void init(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn)
public AsmClassGenerator getAcg()
@Deprecated public org.objectweb.asm.ClassVisitor getCv()
public org.objectweb.asm.ClassVisitor getClassVisitor()
public org.objectweb.asm.MethodVisitor getMethodVisitor()
public void setMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor)
public GeneratorContext getContext()
public CompileStack getCompileStack()
public OperandStack getOperandStack()
public SourceUnit getSourceUnit()
public TypeChooser getTypeChooser()
public UnaryExpressionHelper getUnaryExpressionHelper()
public BinaryExpressionHelper getBinaryExpressionHelper()
public AssertionWriter getAssertionWriter()
public CallSiteWriter getCallSiteWriter()
public ClosureWriter getClosureWriter()
public LambdaWriter getLambdaWriter()
public StatementWriter getStatementWriter()
public InvocationWriter getInvocationWriter()
public MethodPointerExpressionWriter getMethodPointerExpressionWriter()
public MethodReferenceExpressionWriter getMethodReferenceExpressionWriter()
public String getClassName()
public ClassNode getClassNode()
public MethodNode getMethodNode()
public void setMethodNode(MethodNode methodNode)
public ConstructorNode getConstructorNode()
public void setConstructorNode(ConstructorNode constructorNode)
public ClassNode getReturnType()
public ClassNode getOutermostClass()
public String getInternalClassName()
public String getInternalBaseClassName()
public InterfaceHelperClassNode getInterfaceClassLoadingClass()
public void setInterfaceClassLoadingClass(InterfaceHelperClassNode ihc)
public boolean isStaticContext()
public boolean isStaticMethod()
public boolean isNotClinit()
public boolean isStaticConstructor()
public boolean isConstructor()
public boolean isInGeneratedFunction()
public boolean isInGeneratedFunctionConstructor()
public boolean isInScriptBody()
public boolean shouldOptimizeForInt()
public void switchToFastPath()
public void switchToSlowPath()
public boolean isFastPath()
public int getLineNumber()
public void setLineNumber(int lineNumber)
public void resetLineNumber()
public int getBytecodeVersion()
public int getNextHelperMethodIndex()