Class StaticTypesWriterController
- java.lang.Object
- 
- org.codehaus.groovy.classgen.asm.WriterController
- 
- org.codehaus.groovy.classgen.asm.DelegatingController
- 
- org.codehaus.groovy.classgen.asm.sc.StaticTypesWriterController
 
 
 
- 
 public class StaticTypesWriterController extends DelegatingController An alternativeWriterControllerwhich handles static types and method dispatch. In case of a "mixed mode" where only some methods are annotated withTypeCheckedthen this writer will delegate to the classic writer controller.
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanisInStaticallyCheckedMethod- 
Fields inherited from class org.codehaus.groovy.classgen.asm.WriterControlleroptimizeForInt
 
- 
 - 
Constructor SummaryConstructors Constructor Description StaticTypesWriterController(WriterController controller)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryExpressionHelpergetBinaryExpressionHelper()CallSiteWritergetCallSiteWriter()ClosureWritergetClosureWriter()InvocationWritergetInvocationWriter()CallSiteWritergetRegularCallSiteWriter()InvocationWritergetRegularInvocationWriter()StatementWritergetStatementWriter()TypeChoosergetTypeChooser()UnaryExpressionHelpergetUnaryExpressionHelper()voidinit(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn)booleanisFastPath()voidsetConstructorNode(ConstructorNode cn)voidsetMethodNode(MethodNode mn)- 
Methods inherited from class org.codehaus.groovy.classgen.asm.DelegatingControllergetAcg, getAssertionWriter, getBytecodeVersion, getClassName, getClassNode, getClassVisitor, getCompileStack, getConstructorNode, getContext, getCv, getInterfaceClassLoadingClass, getInternalBaseClassName, getInternalClassName, getLineNumber, getMethodNode, getMethodVisitor, getOperandStack, getOutermostClass, getReturnType, getSourceUnit, isConstructor, isInClosure, isInClosureConstructor, isInScriptBody, isNotClinit, isNotExplicitThisInClosure, isStaticConstructor, isStaticContext, isStaticMethod, resetLineNumber, setInterfaceClassLoadingClass, setLineNumber, setMethodVisitor, shouldOptimizeForInt, switchToFastPath, switchToSlowPath
 - 
Methods inherited from class org.codehaus.groovy.classgen.asm.WriterControllergetNextHelperMethodIndex, getSuperMethodNames
 
- 
 
- 
- 
- 
Constructor Detail- 
StaticTypesWriterControllerpublic StaticTypesWriterController(WriterController controller) 
 
- 
 - 
Method Detail- 
initpublic void init(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn) - Overrides:
- initin class- DelegatingController
 
 - 
setMethodNodepublic void setMethodNode(MethodNode mn) - Overrides:
- setMethodNodein class- DelegatingController
 
 - 
setConstructorNodepublic void setConstructorNode(ConstructorNode cn) - Overrides:
- setConstructorNodein class- DelegatingController
 
 - 
isFastPathpublic boolean isFastPath() - Overrides:
- isFastPathin class- DelegatingController
 
 - 
getCallSiteWriterpublic CallSiteWriter getCallSiteWriter() - Overrides:
- getCallSiteWriterin class- DelegatingController
 
 - 
getRegularCallSiteWriterpublic CallSiteWriter getRegularCallSiteWriter() 
 - 
getStatementWriterpublic StatementWriter getStatementWriter() - Overrides:
- getStatementWriterin class- DelegatingController
 
 - 
getTypeChooserpublic TypeChooser getTypeChooser() - Overrides:
- getTypeChooserin class- DelegatingController
 
 - 
getInvocationWriterpublic InvocationWriter getInvocationWriter() - Overrides:
- getInvocationWriterin class- DelegatingController
 
 - 
getRegularInvocationWriterpublic InvocationWriter getRegularInvocationWriter() 
 - 
getBinaryExpressionHelperpublic BinaryExpressionHelper getBinaryExpressionHelper() - Overrides:
- getBinaryExpressionHelperin class- DelegatingController
 
 - 
getUnaryExpressionHelperpublic UnaryExpressionHelper getUnaryExpressionHelper() - Overrides:
- getUnaryExpressionHelperin class- DelegatingController
 
 - 
getClosureWriterpublic ClosureWriter getClosureWriter() - Overrides:
- getClosureWriterin class- DelegatingController
 
 
- 
 
-