Class LangModelVerifier


  • public class LangModelVerifier
    extends Object
    • Field Detail

      • RUN_TYPE_ANNOTATION_TESTS

        public static boolean RUN_TYPE_ANNOTATION_TESTS
        The option allows to bypass the type annotation checks. There is a bug in the annotation processor not providing type annotations for classes loaded from the classpath. https://bugs.openjdk.java.net/browse/JDK-8225377
    • Constructor Detail

      • LangModelVerifier

        public LangModelVerifier()
    • Method Detail

      • verify

        public static void verify​(jakarta.enterprise.lang.model.declarations.ClassInfo clazz)
        To run the language model TCK, this method must be called with a ClassInfo object representing the LangModelVerifier class. Assertions must be enabled. The language model implementation under test must only return runtime-retained annotations.