/** * Returns the annotation preference fragment defined for the given * annotation type. * <p> * For internal use only. Not intended to be called by clients. * * @param annotationType the annotation type * @return the defined annotation preference fragment */ public AnnotationPreference getAnnotationPreferenceFragment(String annotationType) { Map<Object, AnnotationPreference> fragments= getPreferenceFragments(); return fragments.get(annotationType); }
/** * Returns the annotation preference fragment defined for the given * annotation type. * <p> * For internal use only. Not intended to be called by clients. * * @param annotationType the annotation type * @return the defined annotation preference fragment */ public AnnotationPreference getAnnotationPreferenceFragment(String annotationType) { Map fragments= getPreferenceFragments(); return (AnnotationPreference) fragments.get(annotationType); }