src/main/java/org/apache/bval/bench/jsr303/Jsr303Annotator.java
private List<MetaAnnotation> buildRefFieldAnnotations() {
        List<MetaAnnotation> anns = Lists.newArrayList();
        HashMap<String, Object> annotParams;
        
        annotParams = Maps.newHashMap();
        anns.add(new MetaAnnotation(codeModel, NotNull.class, AnnotationType.JSR_303, annotParams));
        annotParams = Maps.newHashMap();
        anns.add(new MetaAnnotation(codeModel, Null.class, AnnotationType.JSR_303, annotParams));
        return anns;
    }
/**
     * @return The list of constraints for fields that reference other beans.
     */
@return The list of constraints for fields that reference other beans.
@return The list of constraints for fields that reference other beans .
private List<MetaAnnotation> buildRefFieldAnnotations() {
        List<MetaAnnotation> anns = Lists.newArrayList();
        HashMap<String, Object> annotParams;
        annotParams = Maps.newHashMap();
        anns.add(new MetaAnnotation(codeModel, NotNull.class, AnnotationType.JSR_303, annotParams));
        annotParams = Maps.newHashMap();
        anns.add(new MetaAnnotation(codeModel, Null.class, AnnotationType.JSR_303, annotParams));
        return anns;
    }
private List < MetaAnnotation > buildRefFieldAnnotations ( ) { List < MetaAnnotation > anns = Lists . newArrayList ( ) ; HashMap < String , Object > annotParams ; annotParams = Maps . newHashMap ( ) ; anns . add ( new MetaAnnotation ( codeModel , NotNull . class , AnnotationType . JSR_303 , annotParams ) ) ; annotParams = Maps . newHashMap ( ) ; anns . add ( new MetaAnnotation ( codeModel , Null . class , AnnotationType . JSR_303 , annotParams ) ) ; return anns ; }
@return The list of constraints for fields that reference other beans.
@return The list of constraints for fields that reference other beans .