org.tinyjee.maven.dim.sources
Class AOPLikeSnippetSelector.LinesIterator
java.lang.Object
org.tinyjee.maven.dim.sources.AOPLikeSnippetSelector.LinesIterator
- All Implemented Interfaces:
- Iterator<Integer>
- Enclosing class:
- AOPLikeSnippetSelector
protected static class AOPLikeSnippetSelector.LinesIterator
- extends Object
- implements Iterator<Integer>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matchingEntities
protected final AbstractSelectableJavaEntitiesList<AbstractJavaEntity> matchingEntities
contentUrl
protected final URL contentUrl
contentString
protected final String contentString
expandSnippets
protected final boolean expandSnippets
AOPLikeSnippetSelector.LinesIterator
protected AOPLikeSnippetSelector.LinesIterator(AbstractSelectableJavaEntitiesList<AbstractJavaEntity> matchingEntities,
URL contentUrl,
String contentString,
boolean expandSnippets)
getSourceIterator
protected Iterator<Integer> getSourceIterator()
selectLines
protected void selectLines(AbstractJavaEntity entity,
Set<Integer> selectedLines)
throws IOException
- Throws:
IOException
selectCommentAbove
protected void selectCommentAbove(int firstLine,
Set<Integer> selectedLines)
throws IOException
- Throws:
IOException
countLines
protected int countLines(String text)
selectBeanProperty
protected void selectBeanProperty(AbstractJavaEntity entity,
Set<Integer> selectedLines)
throws IOException
- Throws:
IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Integer>
next
public Integer next()
- Specified by:
next
in interface Iterator<Integer>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Integer>