Class GenericsVisitor

All Implemented Interfaces:
GroovyClassVisitor, GroovyCodeVisitor, ErrorCollecting

public class GenericsVisitor extends ClassCodeVisitorSupport
Verify correct usage of generics. This includes:
  • class header (class and superclass declaration)
  • arity of type parameters for fields, parameters, local variables
  • invalid diamond <> usage