W3cubDocs

/Groovy 3.0

[Java] Interface CompilationUnit.IPrimaryClassNodeOperation

  • PhaseOperation
All Superinterfaces:
PhaseOperation
@FunctionalInterface
public interface CompilationUnit.IPrimaryClassNodeOperation
extends PhaseOperation

Methods Summary

Methods
Type Params Return Type Name and description
public void call(SourceUnit source, GeneratorContext context, ClassNode classNode)
public void doPhaseOperation(CompilationUnit unit)
A loop driver for applying operations to all primary ClassNodes in our AST.
public boolean needSortedInput()

Method Detail

public void call(SourceUnit source, GeneratorContext context, ClassNode classNode)

@Override public void doPhaseOperation(CompilationUnit unit)

A loop driver for applying operations to all primary ClassNodes in our AST. Automatically skips units that have already been processed through the current phase.

public boolean needSortedInput()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/CompilationUnit.IPrimaryClassNodeOperation.html