Class SharedVariableCollector

All Implemented Interfaces:
GroovyClassVisitor, GroovyCodeVisitor, ErrorCollecting

public class SharedVariableCollector extends ClassCodeVisitorSupport
A visitor which collects the list of variable expressions which are closure shared.
  • Constructor Details

    • SharedVariableCollector

      public SharedVariableCollector(SourceUnit unit)
      Creates a collector for the supplied source unit.
  • Method Details