lang-model/src/main/java/org/jboss/cdi/lang/model/tck/LangModelVerifier.java
public static void verify(ClassInfo clazz) {
        ensureAssertionsEnabled();
        ensureOnlyRuntimeAnnotations(clazz);

        // some classes have an extra Verifier nested class so that the verification methods
        // do not interfere with "regular" methods whose presence is tested

        AnnotatedTypes.verify(LangModelUtils.classOfField(clazz, "annotatedTypes"));
        AnnotatedSuperTypes.verify(LangModelUtils.classOfField(clazz, "annotatedSuperTypes"));
        AnnotatedThrowsTypes.verify(LangModelUtils.classOfField(clazz, "annotatedThrowsTypes"));
        AnnotatedReceiverTypes.verify(LangModelUtils.classOfField(clazz, "annotatedReceiverTypes"));
        AnnotationInstances.verify(LangModelUtils.classOfField(clazz, "annotationInstances"));

        PlainClassMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "plainClassMembers"));
        InterfaceMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "interfaceMembers"));
        AnnotationMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "annotationMembers"));
        EnumMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "enumMembers"));

        InheritedMethods.Verifier.verify(LangModelUtils.classOfField(clazz, "inheritedMethods"));
        InheritedFields.Verifier.verify(LangModelUtils.classOfField(clazz, "inheritedFields"));
        InheritedAnnotations.verify(LangModelUtils.classOfField(clazz, "inheritedAnnotations"));

        PrimitiveTypes.verify(LangModelUtils.classOfField(clazz, "primitiveTypes"));
        BridgeMethods.verify(LangModelUtils.classOfField(clazz, "bridgeMethods"));
        RepeatableAnnotations.verify(LangModelUtils.classOfField(clazz, "repeatableAnnotations"));
        DefaultConstructors.verify(LangModelUtils.classOfField(clazz, "defaultConstructors"));
        Equality.verify(LangModelUtils.classOfField(clazz, "equality"));

        verifyPackageAnnotation(clazz);

        System.out.println(LangModelVerifier.class.getSimpleName() + " succeeded");
    }
/**
     * To run the language model TCK, this method must be called with a {@code ClassInfo} object
     * representing the {@code LangModelVerifier} class. Assertions must be enabled. The language
     * model implementation under test must only return runtime-retained annotations.
     */
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.
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 .
public static void verify(ClassInfo clazz) {
        ensureAssertionsEnabled();
        ensureOnlyRuntimeAnnotations(clazz);
        AnnotatedTypes.verify(LangModelUtils.classOfField(clazz, "annotatedTypes"));
        AnnotatedSuperTypes.verify(LangModelUtils.classOfField(clazz, "annotatedSuperTypes"));
        AnnotatedThrowsTypes.verify(LangModelUtils.classOfField(clazz, "annotatedThrowsTypes"));
        AnnotatedReceiverTypes.verify(LangModelUtils.classOfField(clazz, "annotatedReceiverTypes"));
        AnnotationInstances.verify(LangModelUtils.classOfField(clazz, "annotationInstances"));
        PlainClassMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "plainClassMembers"));
        InterfaceMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "interfaceMembers"));
        AnnotationMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "annotationMembers"));
        EnumMembers.Verifier.verify(LangModelUtils.classOfField(clazz, "enumMembers"));
        InheritedMethods.Verifier.verify(LangModelUtils.classOfField(clazz, "inheritedMethods"));
        InheritedFields.Verifier.verify(LangModelUtils.classOfField(clazz, "inheritedFields"));
        InheritedAnnotations.verify(LangModelUtils.classOfField(clazz, "inheritedAnnotations"));
        PrimitiveTypes.verify(LangModelUtils.classOfField(clazz, "primitiveTypes"));
        BridgeMethods.verify(LangModelUtils.classOfField(clazz, "bridgeMethods"));
        RepeatableAnnotations.verify(LangModelUtils.classOfField(clazz, "repeatableAnnotations"));
        DefaultConstructors.verify(LangModelUtils.classOfField(clazz, "defaultConstructors"));
        Equality.verify(LangModelUtils.classOfField(clazz, "equality"));
        verifyPackageAnnotation(clazz);
        System.out.println(LangModelVerifier.class.getSimpleName() + " succeeded");
    }
public static void verify ( ClassInfo clazz ) { ensureAssertionsEnabled ( ) ; ensureOnlyRuntimeAnnotations ( clazz ) ; AnnotatedTypes . verify ( LangModelUtils . classOfField ( clazz , "annotatedTypes" ) ) ; AnnotatedSuperTypes . verify ( LangModelUtils . classOfField ( clazz , "annotatedSuperTypes" ) ) ; AnnotatedThrowsTypes . verify ( LangModelUtils . classOfField ( clazz , "annotatedThrowsTypes" ) ) ; AnnotatedReceiverTypes . verify ( LangModelUtils . classOfField ( clazz , "annotatedReceiverTypes" ) ) ; AnnotationInstances . verify ( LangModelUtils . classOfField ( clazz , "annotationInstances" ) ) ; PlainClassMembers . Verifier . verify ( LangModelUtils . classOfField ( clazz , "plainClassMembers" ) ) ; InterfaceMembers . Verifier . verify ( LangModelUtils . classOfField ( clazz , "interfaceMembers" ) ) ; AnnotationMembers . Verifier . verify ( LangModelUtils . classOfField ( clazz , "annotationMembers" ) ) ; EnumMembers . Verifier . verify ( LangModelUtils . classOfField ( clazz , "enumMembers" ) ) ; InheritedMethods . Verifier . verify ( LangModelUtils . classOfField ( clazz , "inheritedMethods" ) ) ; InheritedFields . Verifier . verify ( LangModelUtils . classOfField ( clazz , "inheritedFields" ) ) ; InheritedAnnotations . verify ( LangModelUtils . classOfField ( clazz , "inheritedAnnotations" ) ) ; PrimitiveTypes . verify ( LangModelUtils . classOfField ( clazz , "primitiveTypes" ) ) ; BridgeMethods . verify ( LangModelUtils . classOfField ( clazz , "bridgeMethods" ) ) ; RepeatableAnnotations . verify ( LangModelUtils . classOfField ( clazz , "repeatableAnnotations" ) ) ; DefaultConstructors . verify ( LangModelUtils . classOfField ( clazz , "defaultConstructors" ) ) ; Equality . verify ( LangModelUtils . classOfField ( clazz , "equality" ) ) ; verifyPackageAnnotation ( clazz ) ; System . out . println ( LangModelVerifier . class . getSimpleName ( ) + " succeeded" ) ; }
To run the language model TCK, this method must be called with a {@code ClassInfo} object
 representing the {@code LangModelVerifier} class.
To run the language model TCK this method must be called with a { @code ClassInfo } object representing the { @code LangModelVerifier } class .
// some classes have an extra Verifier nested class so that the verification methods // do not interfere with "regular" methods whose presence is tested