Class ElementDefaultLateTest
java.lang.Object
org.checkerframework.framework.test.junit.ElementDefaultLateTest
Tests that
QualifierDefaults.addElementDefault(javax.lang.model.element.Element, javax.lang.model.element.AnnotationMirror, org.checkerframework.framework.qual.TypeUseLocation) reports a type
system error when it is called after type checking has begun, rather than silently applying the
new default to only the part of the program that has not been checked yet.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRuns the checker with the option that makes it add an element default too late.
-
Constructor Details
-
ElementDefaultLateTest
public ElementDefaultLateTest()Creates a new ElementDefaultLateTest.
-
-
Method Details
-
addElementDefaultAfterCheckingBeginsIsATypeSystemError
public void addElementDefaultAfterCheckingBeginsIsATypeSystemError()Runs the checker with the option that makes it add an element default too late.
-