Package: org.codehaus.groovy.classgen.asm.sc

## [Java] Class StaticTypesWriterController

- org.codehaus.groovy.classgen.asm.sc.StaticTypesWriterController

- An alternative WriterController which handles static types and method dispatch. In case of a "mixed mode" where only some methods are annotated with TypeChecked then this writer will delegate to the classic writer controller.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected boolean` | `isInStaticallyCheckedMethod` |

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class WriterController` | `optimizeForInt`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `StaticTypesWriterController (WriterController normalController)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `BinaryExpressionHelper` | `getBinaryExpressionHelper()`
    `` | `CallSiteWriter` | `getCallSiteWriter()`
    `` | `ClosureWriter` | `getClosureWriter()`
    `` | `InvocationWriter` | `getInvocationWriter()`
    `` | `LambdaWriter` | `getLambdaWriter()`
    `` | `MethodReferenceExpressionWriter` | `getMethodReferenceExpressionWriter()`
    `` | `CallSiteWriter` | `getRegularCallSiteWriter()`
    `` | `InvocationWriter` | `getRegularInvocationWriter()`
    `` | `StatementWriter` | `getStatementWriter()`
    `` | `TypeChooser` | `getTypeChooser()`
    `` | `UnaryExpressionHelper` | `getUnaryExpressionHelper()`
    `` | `void` | `init(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn)`
    `` | `boolean` | `isFastPath()`
    `` | `void` | `setConstructorNode(ConstructorNode cn)`
    `` | `void` | `setMethodNode(MethodNode mn)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class DelegatingController` | `getAcg, getAssertionWriter, getBinaryExpressionHelper, getBytecodeVersion, getCallSiteWriter, getClassName, getClassNode, getClassVisitor, getClosureWriter, getCompileStack, getConstructorNode, getContext, getCv, getInterfaceClassLoadingClass, getInternalBaseClassName, getInternalClassName, getInvocationWriter, getLambdaWriter, getLineNumber, getMethodNode, getMethodPointerExpressionWriter, getMethodReferenceExpressionWriter, getMethodVisitor, getOperandStack, getOutermostClass, getReturnType, getSourceUnit, getStatementWriter, getTypeChooser, getUnaryExpressionHelper, init, isConstructor, isFastPath, isInGeneratedFunction, isInGeneratedFunctionConstructor, isInScriptBody, isNotClinit, isStaticConstructor, isStaticContext, isStaticMethod, resetLineNumber, setConstructorNode, setInterfaceClassLoadingClass, setLineNumber, setMethodNode, setMethodVisitor, shouldOptimizeForInt, switchToFastPath, switchToSlowPath`
    `class WriterController` | `getAcg, getAssertionWriter, getBinaryExpressionHelper, getBytecodeVersion, getCallSiteWriter, getClassName, getClassNode, getClassVisitor, getClosureWriter, getCompileStack, getConstructorNode, getContext, getCv, getInterfaceClassLoadingClass, getInternalBaseClassName, getInternalClassName, getInvocationWriter, getLambdaWriter, getLineNumber, getMethodNode, getMethodPointerExpressionWriter, getMethodReferenceExpressionWriter, getMethodVisitor, getNextHelperMethodIndex, getOperandStack, getOutermostClass, getReturnType, getSourceUnit, getStatementWriter, getSuperMethodNames, getTypeChooser, getUnaryExpressionHelper, init, isConstructor, isFastPath, isInGeneratedFunction, isInGeneratedFunctionConstructor, isInScriptBody, isNotClinit, isStaticConstructor, isStaticContext, isStaticMethod, resetLineNumber, setConstructorNode, setInterfaceClassLoadingClass, setLineNumber, setMethodNode, setMethodVisitor, shouldOptimizeForInt, switchToFastPath, switchToSlowPath`

- - ### Field Detail

    - #### protected boolean isInStaticallyCheckedMethod

  - ### Constructor Detail

    - #### public StaticTypesWriterController(WriterController normalController)

  - ### Method Detail

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public BinaryExpressionHelper getBinaryExpressionHelper()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public CallSiteWriter getCallSiteWriter()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public ClosureWriter getClosureWriter()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public InvocationWriter getInvocationWriter()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public LambdaWriter getLambdaWriter()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public MethodReferenceExpressionWriter getMethodReferenceExpressionWriter()

    - #### public CallSiteWriter getRegularCallSiteWriter()

    - #### public InvocationWriter getRegularInvocationWriter()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public StatementWriter getStatementWriter()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public TypeChooser getTypeChooser()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public UnaryExpressionHelper getUnaryExpressionHelper()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void init(AsmClassGenerator asmClassGenerator, GeneratorContext gcon, org.objectweb.asm.ClassVisitor cv, ClassNode cn)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public boolean isFastPath()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void setConstructorNode(ConstructorNode cn)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void setMethodNode(MethodNode mn)