- All Implemented Interfaces:
- CheckConformance.Rule
- Enclosing class:
- ConformanceRules
public static final class ConformanceRules.BanUnknownDirectThisPropsReferences
extends ConformanceRules.AbstractRule
Banned unknown type references of the form "this.prop" unless
- it is immediately cast,
- it is a @template type (until template type
restricts are enabled) or
- the value is unused.
- the "this" type is unknown (as this is expected to be used with
BanUnknownThis which would have already reported the root cause).