Bug 94730 [projection] Nondeterministic folding summary
I20050509-2010 With the CU below: - fold the method declaration -> 'bar()' is shown as summary - unfold again - select the method name 'bar' - type 'foo' - fold the method declaration again -> 'void' is shown as summary "interface Bar { void bar(); } "
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/folding/DefaultJavaFoldingStructureProvider.java
private IJavaElement fJavaElement;
		private boolean fIsComment;
		public JavaProjectionAnnotation(IJavaElement element, boolean isCollapsed, boolean isComment) {
			super(isCollapsed);
			fJavaElement= element;
			fIsComment= isComment;
		}
		public IJavaElement getElement() {
			return fJavaElement;
		}
		public void setElement(IJavaElement element) {
			fJavaElement= element;
		}
		public boolean isComment() {
			return fIsComment;
		}
		public void setIsComment(boolean isComment) {
			fIsComment= isComment;
		}
		/*
		 * @see java.lang.Object#toString()
		 */
		public String toString() {
			return "JavaProjectionAnnotation:\n" + 
					"\telement: \t"+fJavaElement.toString()+"\n" + 
					"\tcollapsed: \t" + isCollapsed() + "\n" + 
					"\tcomment: \t" + fIsComment + "\n"; 
		}
	}
	private static final class Tuple {