private boolean annotationPropertySet(Annotation annotation,String attributeName){
  Object defaultValue=AnnotationUtils.getDefaultValue(annotation,attributeName);
  Object currentValue=AnnotationUtils.getValue(annotation,attributeName);
  return !currentValue.equals(defaultValue);
}

private boolean annotationPropertySet ( Annotation annotation , String attributeName ) { Object defaultValue = AnnotationUtils . getDefaultValue ( annotation , attributeName ) ; Object currentValue = AnnotationUtils . getValue ( annotation , attributeName ) ; return ! currentValue . equals ( defaultValue ) ; }
checks for if an annotation property is set by overriding the default value .
