Package: org.codehaus.groovy.transform

## [Java] Class LazyASTStubber

- org.codehaus.groovy.transform.LazyASTStubber

-     @GroovyASTTransformation(phase = CompilePhase.CONVERSION)
      public class LazyASTStubber
      extends AbstractASTTransformation

  Joint-compilation stubber for Lazy. Aligns the stub's accessor surface with what the full `LazyASTTransformation` produces at SEMANTIC_ANALYSIS: a getter only, no setter.

  How: mark the `@Lazy` property as final at CONVERSION. The stub generator runs through `Verifier.visitProperty`, which auto-generates a setter only when the property is neither private nor final. Marking it final therefore suppresses setter emission in the stub. The full transform later removes the property entirely (replacing it with a private backing field plus an explicit getter), so the final flag does not survive into the runtime class.

  Since:
    6.0.0

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class AbstractASTTransformation` | `RETENTION_CLASSNODE, sourceUnit`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public void` | `visit(ASTNode[] nodes, SourceUnit source)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractASTTransformation` | `addError, checkIncludeExcludeUndefinedAware, checkIncludeExcludeUndefinedAware, checkNotInterface, checkPropertyList, checkPropertyList, checkPropertyList, copyAnnotatedNodeAnnotations, copyAnnotatedNodeAnnotations, deemedInternal, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, markAsInternal, memberHasValue, shouldSkip, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize`

- - ### Method Detail

    - #### public void visit(ASTNode[] nodes, SourceUnit source)