private AnnotationPreference getDefiningPreference(Object attribute) { AnnotationPreference p= fLookup.getAnnotationPreferenceFragment(fType.getType()); if (p != null && p.hasValue(attribute)) return p; String[] superTypes= fType.getSuperTypes(); for (int i= 0; i < superTypes.length; i++) { p= fLookup.getAnnotationPreferenceFragment(superTypes[i]); if (p != null && p.hasValue(attribute)) return p; } return null; }
private AnnotationPreference getDefiningPreference(Object attribute) { AnnotationPreference p= fLookup.getAnnotationPreferenceFragment(fType.getType()); if (p != null && p.hasValue(attribute)) return p; String[] superTypes= fType.getSuperTypes(); for (int i= 0; i < superTypes.length; i++) { p= fLookup.getAnnotationPreferenceFragment(superTypes[i]); if (p != null && p.hasValue(attribute)) return p; } return null; }