boon/src/main/java/org/boon/validation/readers/AnnotationValidatorMetaDataReader.java
private ValidatorMetaData convertAnnotationDataToValidatorMetaData(
            AnnotationData annotationData ) {

        ValidatorMetaData metaData = new ValidatorMetaData();
        metaData.setName( annotationData.getName() );

        metaData.setProperties( annotationData.getValues() );

        return metaData;
    }
private ValidatorMetaData convertAnnotationDataToValidatorMetaData(
            AnnotationData annotationData ) {

        ValidatorMetaData metaData = new ValidatorMetaData();
        metaData.setName( annotationData.getName() );

        metaData.setProperties( annotationData.getValues() );

        return metaData;
    }
Converts an AnnotationData into a ValidatorMetaData POJO.

@param annotationData annotationData
@return validator meta data
<p/>
TODO
@NeedsRefactoring("This method shows we are calling annotationData.getValues a lot. " +
"Therefore, we must cache the results of getValues as the annoationData is static " +
"per property per class. ")