src/main/java/org/apache/bval/bench/jsr303/Jsr303Annotator.java
private List<MetaAnnotation> buildClassAnnotations() {

        List<MetaAnnotation> anns = Lists.newArrayList();
        HashMap<String, Object> annotParams;

        // AlwaysValid
        JDefinedClass alwaysValid = buildTemplateConstraint("AlwaysValid");
        JDefinedClass alwaysValidValidator = buildTemplateConstraintValidator("AlwaysValidValidator", alwaysValid, Object.class);
        JMethod isValid = getIsValidMethod(alwaysValidValidator);
        isValid.body()._return(JExpr.TRUE);
        alwaysValid.annotate(Constraint.class).param("validatedBy", alwaysValidValidator);
        
        annotParams = Maps.newHashMap();
        anns.add(new MetaAnnotation(alwaysValid, AnnotationType.JSR_303, annotParams));
        
        return anns;
    }
/**
     * @return A list of the class level annotations that the annotator will
     *         use.
     */
@return A list of the class level annotations that the annotator will
use.
@return A list of the class level annotations that the annotator will use .
private List<MetaAnnotation> buildClassAnnotations() {
        List<MetaAnnotation> anns = Lists.newArrayList();
        HashMap<String, Object> annotParams;
        JDefinedClass alwaysValid = buildTemplateConstraint("AlwaysValid");
        JDefinedClass alwaysValidValidator = buildTemplateConstraintValidator("AlwaysValidValidator", alwaysValid, Object.class);
        JMethod isValid = getIsValidMethod(alwaysValidValidator);
        isValid.body()._return(JExpr.TRUE);
        alwaysValid.annotate(Constraint.class).param("validatedBy", alwaysValidValidator);
        annotParams = Maps.newHashMap();
        anns.add(new MetaAnnotation(alwaysValid, AnnotationType.JSR_303, annotParams));
        return anns;
    }
private List < MetaAnnotation > buildClassAnnotations ( ) { List < MetaAnnotation > anns = Lists . newArrayList ( ) ; HashMap < String , Object > annotParams ; JDefinedClass alwaysValid = buildTemplateConstraint ( "AlwaysValid" ) ; JDefinedClass alwaysValidValidator = buildTemplateConstraintValidator ( "AlwaysValidValidator" , alwaysValid , Object . class ) ; JMethod isValid = getIsValidMethod ( alwaysValidValidator ) ; isValid . body ( ) . _return ( JExpr . TRUE ) ; alwaysValid . annotate ( Constraint . class ) . param ( "validatedBy" , alwaysValidValidator ) ; annotParams = Maps . newHashMap ( ) ; anns . add ( new MetaAnnotation ( alwaysValid , AnnotationType . JSR_303 , annotParams ) ) ; return anns ; }
@return A list of the class level annotations that the annotator will
         use.
@return A list of the class level annotations that the annotator will use .
// AlwaysValid