Package net.bytebuddy.agent.builder
Class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.WithSortOrderAssumption.OrderedReiteratingIterator
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.WithSortOrderAssumption.OrderedReiteratingIterator
- Enclosing class:
AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.WithSortOrderAssumption
protected static class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.WithSortOrderAssumption.OrderedReiteratingIterator
extends Object
implements Iterator<Iterable<Class<?>>>
An iterator that reiterates over an array of loaded classes by the previously observed length.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
The length of the last known array of known classes.private final Instrumentation
The instrumentation instance to use.The current list of types ornull
if the current list of types is not prepared. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
OrderedReiteratingIterator
(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. -
index
private int indexThe length of the last known array of known classes. -
types
The current list of types ornull
if the current list of types is not prepared.
-
-
Constructor Details
-
OrderedReiteratingIterator
Creates a new reiterating iterator.- Parameters:
instrumentation
- The instrumentation instance to use.
-
-
Method Details