org.eclipse.cdt.internal.ui.editor
Class CAnnotationIterator
java.lang.Object
org.eclipse.cdt.internal.ui.editor.CAnnotationIterator
- All Implemented Interfaces:
- java.util.Iterator
public class CAnnotationIterator
- extends java.lang.Object
- implements java.util.Iterator
Filters problems based on their types.
Constructor Summary |
CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model,
boolean skipIrrelevants)
Equivalent to CAnnotationIterator(model, skipIrrelevants, false) . |
CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model,
boolean skipIrrelevants,
boolean returnAllAnnotations)
Returns a new CAnnotationIterator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CAnnotationIterator
public CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model,
boolean skipIrrelevants)
- Equivalent to
CAnnotationIterator(model, skipIrrelevants, false)
.
CAnnotationIterator
public CAnnotationIterator(org.eclipse.jface.text.source.IAnnotationModel model,
boolean skipIrrelevants,
boolean returnAllAnnotations)
- Returns a new CAnnotationIterator.
- Parameters:
model
- the annotation modelskipIrrelevants
- whether to skip irrelevant annotationsreturnAllAnnotations
- Whether to return non IJavaAnnotations as well
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator