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
public VisibilitySortLabelProvider() {
		}
		
		/*
		 * @see org.eclipse.jface.viewers.ILabelProvider#getText(Object)
		 */
		public String getText(Object element) {
			if (element instanceof String) {
				String s= (String) element;
				
				if (s.equals(PUBLIC)) {
					return PreferencesMessages.getString("MembersOrderPreferencePage.public.label"); 
				} else if (s.equals(PRIVATE)) {
					return PreferencesMessages.getString("MembersOrderPreferencePage.private.label"); 
				} else if (s.equals(PROTECTED)) {
					return PreferencesMessages.getString("MembersOrderPreferencePage.protected.label"); 
				} else if (s.equals(DEFAULT)) {
					return PreferencesMessages.getString("MembersOrderPreferencePage.default.label"); 
				}