Package net.bytebuddy.agent.builder
Class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.ReiteratingIterator
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.ReiteratingIterator
- Enclosing class:
- AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating
protected static class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.ReiteratingIterator
extends Object
implements Iterator<Iterable<Class<?>>>
A reiterating iterator that considers types that were loaded during an instrumentation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Instrumentation
The instrumentation instance to use.A set containing all previously discovered types.The current list of types ornull
if the current list of types is not prepared. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReiteratingIterator
(Instrumentation instrumentation) Creates a new reiterating iterator. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
instrumentation
The instrumentation instance to use. -
processed
A set containing all previously discovered types. -
types
The current list of types ornull
if the current list of types is not prepared.
-
-
Constructor Details
-
ReiteratingIterator
Creates a new reiterating iterator.- Parameters:
instrumentation
- The instrumentation instance to use.
-
-
Method Details