
public class IterateKnownImplementations extends Object implements IterableIterator<Class<?>>
| Modifier and Type | Field and Description | 
|---|---|
| (package private) String[] | classNamesClass names array | 
| private static Pattern | COMMENTSPattern to detect comments | 
| (package private) Class<?> | curCurrent class = next iterator value | 
| (package private) int | indexIndex within the class names array | 
| private static Logging | loggerLogger | 
| (package private) Class<?> | superclassSuper class | 
| Constructor and Description | 
|---|
| IterateKnownImplementations(Class<?> superclass)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| private void | findNext()Find the next 'acceptable' result. | 
| boolean | hasNext()Return if there is a next known implementation | 
| Iterator<Class<?>> | iterator()Adapter for  Iterableinterface for foreach statements | 
| Class<?> | next()Advance the iterator, returning the 'next' result | 
| void | remove()Removals are not supported by this iterator. | 
private static final Logging logger
private static final Pattern COMMENTS
Class<?> cur
int index
String[] classNames
Class<?> superclass
public IterateKnownImplementations(Class<?> superclass)
superclass - Superclass to find implementations for.private void findNext()
public boolean hasNext()
public Class<?> next()
public void remove()
            throws UnsupportedOperationException
remove in interface Iterator<Class<?>>UnsupportedOperationException - Not supported.