Bug 79989 Should show members of annotation types as public
I20041201 With the following annotation type: public @interface X { int foo(); int bar(); } the members foo() and bar() don't appear public, wherease with the following interface: public interface I { int foo(); int bar(); } the methods foo() and bar() appear public. JavaElementImageProvider#getMethodImageDescriptor(...) checks if the type is an interface. It should also check if the type is an annotation type.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MembersOrderPreferencePage.java
private ListDialogField fVisibilityOrderList;
	private SelectionButtonDialogField fUseVisibilitySortField;
	
	private static boolean isValidEntries(List entries, String entryString) {
		StringTokenizer tokenizer= new StringTokenizer(entryString, ","); 
		int i= 0;
		for (; tokenizer.hasMoreTokens(); i++) {
			String token= tokenizer.nextToken();
			if (!entries.contains(token))
				return false;
		}
		return i == entries.size();
	}
	public MembersOrderPreferencePage() {
		
		setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
		
		setDescription(PreferencesMessages.getString("MembersOrderPreferencePage.label.description")); 
		String memberSortString= getPreferenceStore().getString(PREF_OUTLINE_SORT_OPTION);
		
		String upLabel= PreferencesMessages.getString("MembersOrderPreferencePage.category.button.up"); 
		String downLabel= PreferencesMessages.getString("MembersOrderPreferencePage.category.button.down"); 
		
		
		fSortOrderList= new ListDialogField(null,  new String[] { upLabel, downLabel }, new MemberSortLabelProvider());
		fSortOrderList.setDownButtonIndex(1);
		fSortOrderList.setUpButtonIndex(0);
		
		
		List entries= parseList(memberSortString);