Package org.codehaus.groovy.classgen.asm
Class WriterController
- java.lang.Object
- 
- org.codehaus.groovy.classgen.asm.WriterController
 
- 
- Direct Known Subclasses:
- DelegatingController
 
 public class WriterController extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description booleanoptimizeForInt
 - 
Constructor SummaryConstructors Constructor Description WriterController()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
initpublic void init(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn) 
 - 
getAcgpublic AsmClassGenerator getAcg() 
 - 
getCv@Deprecated public org.objectweb.asm.ClassVisitor getCv() Deprecated.
 - 
getClassVisitorpublic org.objectweb.asm.ClassVisitor getClassVisitor() 
 - 
getMethodVisitorpublic org.objectweb.asm.MethodVisitor getMethodVisitor() 
 - 
setMethodVisitorpublic void setMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor) 
 - 
getContextpublic GeneratorContext getContext() 
 - 
getCompileStackpublic CompileStack getCompileStack() 
 - 
getOperandStackpublic OperandStack getOperandStack() 
 - 
getSourceUnitpublic SourceUnit getSourceUnit() 
 - 
getTypeChooserpublic TypeChooser getTypeChooser() 
 - 
getUnaryExpressionHelperpublic UnaryExpressionHelper getUnaryExpressionHelper() 
 - 
getBinaryExpressionHelperpublic BinaryExpressionHelper getBinaryExpressionHelper() 
 - 
getAssertionWriterpublic AssertionWriter getAssertionWriter() 
 - 
getCallSiteWriterpublic CallSiteWriter getCallSiteWriter() 
 - 
getClosureWriterpublic ClosureWriter getClosureWriter() 
 - 
getStatementWriterpublic StatementWriter getStatementWriter() 
 - 
getInvocationWriterpublic InvocationWriter getInvocationWriter() 
 - 
getClassNamepublic java.lang.String getClassName() 
 - 
getClassNodepublic ClassNode getClassNode() 
 - 
getMethodNodepublic MethodNode getMethodNode() 
 - 
setMethodNodepublic void setMethodNode(MethodNode methodNode) 
 - 
getConstructorNodepublic ConstructorNode getConstructorNode() 
 - 
setConstructorNodepublic void setConstructorNode(ConstructorNode constructorNode) 
 - 
getReturnTypepublic ClassNode getReturnType() 
 - 
getOutermostClasspublic ClassNode getOutermostClass() 
 - 
getInternalClassNamepublic java.lang.String getInternalClassName() 
 - 
getInternalBaseClassNamepublic java.lang.String getInternalBaseClassName() 
 - 
getSuperMethodNamespublic java.util.List<java.lang.String> getSuperMethodNames() 
 - 
getInterfaceClassLoadingClasspublic InterfaceHelperClassNode getInterfaceClassLoadingClass() 
 - 
setInterfaceClassLoadingClasspublic void setInterfaceClassLoadingClass(InterfaceHelperClassNode ihc) 
 - 
isStaticContextpublic boolean isStaticContext() 
 - 
isStaticMethodpublic boolean isStaticMethod() 
 - 
isNotClinitpublic boolean isNotClinit() 
 - 
isStaticConstructorpublic boolean isStaticConstructor() 
 - 
isConstructorpublic boolean isConstructor() 
 - 
isInClosurepublic boolean isInClosure() 
 - 
isInClosureConstructorpublic boolean isInClosureConstructor() 
 - 
isNotExplicitThisInClosure@Deprecated public boolean isNotExplicitThisInClosure(boolean implicitThis) Deprecated.
 - 
isInScriptBodypublic boolean isInScriptBody() - Returns:
- true if we are in a script body, where all variables declared are no longer local variables but are properties
 
 - 
shouldOptimizeForIntpublic boolean shouldOptimizeForInt() 
 - 
switchToFastPathpublic void switchToFastPath() 
 - 
switchToSlowPathpublic void switchToSlowPath() 
 - 
isFastPathpublic boolean isFastPath() 
 - 
getLineNumberpublic int getLineNumber() 
 - 
setLineNumberpublic void setLineNumber(int lineNumber) 
 - 
resetLineNumberpublic void resetLineNumber() 
 - 
getBytecodeVersionpublic int getBytecodeVersion() 
 - 
getNextHelperMethodIndexpublic int getNextHelperMethodIndex() 
 
- 
 
-