protected static class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.ReiteratingIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Iterable<java.lang.Class<?>>>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.instrument.Instrumentation |
instrumentation
The instrumentation instance to use.
|
private java.util.Set<java.lang.Class<?>> |
processed
A set containing all previously discovered types.
|
private java.util.List<java.lang.Class<?>> |
types
The current list of types or
null if the current list of types is not prepared. |
| Modifier | Constructor and Description |
|---|---|
protected |
ReiteratingIterator(java.lang.instrument.Instrumentation instrumentation)
Creates a new reiterating iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.lang.Iterable<java.lang.Class<?>> |
next() |
void |
remove() |
private final java.lang.instrument.Instrumentation instrumentation
private final java.util.Set<java.lang.Class<?>> processed
private java.util.List<java.lang.Class<?>> types
null if the current list of types is not prepared.protected ReiteratingIterator(java.lang.instrument.Instrumentation instrumentation)
instrumentation - The instrumentation instance to use.public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Iterable<java.lang.Class<?>>>public java.lang.Iterable<java.lang.Class<?>> next()
next in interface java.util.Iterator<java.lang.Iterable<java.lang.Class<?>>>public void remove()
remove in interface java.util.Iterator<java.lang.Iterable<java.lang.Class<?>>>