protected class GuiEffectVisitor.GuiEffectOverrideChecker extends BaseTypeVisitor.OverrideChecker
methodReference, overridden, overriddenMeth, overriddenReturnType, overriddenTyp, overriddenType, overrider, overriderMeth, overriderTree, overriderTyp, overridingReturnType, overridingType
Constructor and Description |
---|
GuiEffectOverrideChecker(Tree overriderTree,
AnnotatedTypeMirror.AnnotatedExecutableType overrider,
AnnotatedTypeMirror overridingType,
AnnotatedTypeMirror overridingReturnType,
AnnotatedTypeMirror.AnnotatedExecutableType overridden,
AnnotatedTypeMirror.AnnotatedDeclaredType overriddenType,
AnnotatedTypeMirror overriddenReturnType) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkReceiverOverride()
Extend the receiver part of the method override check.
|
checkOverride
public GuiEffectOverrideChecker(Tree overriderTree, AnnotatedTypeMirror.AnnotatedExecutableType overrider, AnnotatedTypeMirror overridingType, AnnotatedTypeMirror overridingReturnType, AnnotatedTypeMirror.AnnotatedExecutableType overridden, AnnotatedTypeMirror.AnnotatedDeclaredType overriddenType, AnnotatedTypeMirror overriddenReturnType)
protected boolean checkReceiverOverride()
@AlwaysSafe
in a safe
instantiation of a @PolyUIType
. Returns true if the override is permitted.checkReceiverOverride
in class BaseTypeVisitor.OverrideChecker