[Java] Class WriterController
- org.codehaus.groovy.classgen.asm.WriterController
Field Summary
Modifiers | Name | Description |
---|---|---|
boolean | optimizeForInt |
Methods Summary
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public boolean optimizeForInt
Method Detail
public AsmClassGenerator getAcg()
public AssertionWriter getAssertionWriter()
public BinaryExpressionHelper getBinaryExpressionHelper()
public int getBytecodeVersion()
public CallSiteWriter getCallSiteWriter()
public String getClassName()
public ClassNode getClassNode()
public org.objectweb.asm.ClassVisitor getClassVisitor()
public ClosureWriter getClosureWriter()
public CompileStack getCompileStack()
public ConstructorNode getConstructorNode()
public GeneratorContext getContext()
public org.objectweb.asm.ClassVisitor getCv()
public InterfaceHelperClassNode getInterfaceClassLoadingClass()
public String getInternalBaseClassName()
public String getInternalClassName()
public InvocationWriter getInvocationWriter()
public int getLineNumber()
public MethodNode getMethodNode()
public org.objectweb.asm.MethodVisitor getMethodVisitor()
public int getNextHelperMethodIndex()
public OperandStack getOperandStack()
public ClassNode getOutermostClass()
public ClassNode getReturnType()
public SourceUnit getSourceUnit()
public StatementWriter getStatementWriter()
public List<String> getSuperMethodNames()
public TypeChooser getTypeChooser()
public UnaryExpressionHelper getUnaryExpressionHelper()
public void init(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn)
public boolean isConstructor()
public boolean isFastPath()
public boolean isInClosure()
public boolean isInClosureConstructor()
public boolean isInScriptBody()
- Returns:
- true if we are in a script body, where all variables declared are no longer local variables but are properties
public boolean isNotClinit()
public boolean isNotExplicitThisInClosure(boolean implicitThis)
public boolean isStaticConstructor()
public boolean isStaticContext()
public boolean isStaticMethod()
public void resetLineNumber()
public void setConstructorNode(ConstructorNode cn)
public void setInterfaceClassLoadingClass(InterfaceHelperClassNode ihc)
public void setLineNumber(int n)
public void setMethodNode(MethodNode mn)
public void setMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor)
public boolean shouldOptimizeForInt()
public void switchToFastPath()
public void switchToSlowPath()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/classgen/asm/WriterController.html