Class AliasedCtorChecker

All Implemented Interfaces:
Processor, OptionConfiguration

@SupportedOptions({"aliasedCtorUnsupportedCanonicalMirror","aliasedCtorUnsupportedCanonicalClass","aliasedCtorAliasIsQualifierName","aliasedCtorAliasIsQualifierClass","aliasedCtorNoTargetQualifier"}) public final class AliasedCtorChecker extends BaseTypeChecker
A checker used only to test that an explicit, aliased annotation on a constructor's own declared type is recognized when computing the type of a constructor reference (Foo::new), the same way the canonical annotation would be. See org.checkerframework.framework.type.AnnotatedTypeFactory#getResultingTypeOfConstructorMemberReference.

Also tests validation in addAliasedTypeAnnotation.

  • Constructor Details

    • AliasedCtorChecker

      public AliasedCtorChecker()