Bug 123470 AST: new type IResolvedAnnotation
20060110 A new types IResolvedAnnotation and IResolvedMemberValuePair has been added to the AST. It basically represents a new kind of binding that group the bindings of an annotation and the agruments of an annotation. IMO this might be handy, but doesn't really fit in the existing style of the AST. The existing bindings are enough tor represent the information required. e.g. annotation.resolveTypeBinding() gives you directly access to the binding of the annotation. To simplify the access to the bindings of the attributes, why not add a method annotation.resolveAnnotationArguments() : IMethodBinding[] and for the values a API annotation.resolveAnnotationValues() : Object[] (I'm not sure if the annotation values really help much here, they are only in vary rare cases configured) resulting in no new types.
org.eclipse.jdt.astview/src/org/eclipse/jdt/astview/views/ASTView.java
ListenerList fListeners= new ListenerList(ListenerList.IDENTITY);
		public void addSelectionChangedListener(ISelectionChangedListener listener) {
			fListeners.add(listener);
		}
		public ISelection getSelection() {
			IStructuredSelection selection= (IStructuredSelection) fViewer.getSelection();
			ArrayList externalSelection= new ArrayList();
			for (Iterator iter= selection.iterator(); iter.hasNext();) {
				Object element= iter.next();
				if (element instanceof JavaElement)
					externalSelection.add(((JavaElement) element).getJavaElement());
				else {
					
				}
			}
			return new StructuredSelection(externalSelection);
		}
		public void removeSelectionChangedListener(ISelectionChangedListener listener) {
			fListeners.remove(listener);
		}
		public void setSelection(ISelection selection) {
			
		}
	}
	private class ASTLevelToggle extends Action {