Class ProcessTraitDeclarationOrError

java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase2.ProcessTraitDeclarationOrError
All Implemented Interfaces:
Consumer<EK9Parser.TraitDeclarationContext>

final class ProcessTraitDeclarationOrError extends RuleSupport implements Consumer<EK9Parser.TraitDeclarationContext>
Configures the trait declaration and completes a number of checks on that trait once configured. For example, checks for appropriate method visibility, extendability and that there are no duplicate methods with the same signatures.