Class AgentBuilder.Default.Transformation.TransformerIterator
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.Default.Transformation.TransformerIterator
- All Implemented Interfaces:
Iterator<AgentBuilder.Transformer>
- Enclosing class:
AgentBuilder.Default.Transformation
protected static class AgentBuilder.Default.Transformation.TransformerIterator
extends Object
implements Iterator<AgentBuilder.Transformer>
An iterator over a list of transformations that match a raw matcher specification.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransformerIterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, List<AgentBuilder.Default.Transformation> transformations) Creates a new iterator. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
TransformerIterator
protected TransformerIterator(TypeDescription typeDescription, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module, @MaybeNull Class<?> classBeingRedefined, @MaybeNull ProtectionDomain protectionDomain, List<AgentBuilder.Default.Transformation> transformations) Creates a new iterator.- Parameters:
typeDescription- A description of the matched type.classLoader- The type's class loader.module- The type's module.classBeingRedefined- The class being redefined ornullif the type was not previously loaded.protectionDomain- The type's protection domain ornullif not available.transformations- The matched transformations.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<AgentBuilder.Transformer>
-
next
- Specified by:
nextin interfaceIterator<AgentBuilder.Transformer>
-
remove
public void remove()- Specified by:
removein interfaceIterator<AgentBuilder.Transformer>
-