/** * Returns the annotation preference for the given annotation. * * @param annotation the annotation * @return the annotation preference for the given annotation or <code>null</code> */ private AnnotationPreference getAnnotationPreference(Annotation annotation) { AnnotationPreferenceLookup lookup= getAnnotationPreferenceLookup(); if (lookup != null) return lookup.getAnnotationPreference(annotation); return null; }
/** * Returns the annotation preference for the given annotation. * * @param annotation the annotation * @return the annotation preference for the given annotation or <code>null</code> */ private AnnotationPreference getAnnotationPreference(Annotation annotation) { AnnotationPreferenceLookup lookup= getAnnotationPreferenceLookup(); if (lookup != null) return lookup.getAnnotationPreference(annotation); return null; }