Class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.ReiteratingIterable

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.Iterable<java.lang.Class<?>>>
    Enclosing class:
    AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating

    @Enhance
    protected static class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.ReiteratingIterable
    extends java.lang.Object
    implements java.lang.Iterable<java.lang.Iterable<java.lang.Class<?>>>
    An iterable that returns any loaded types and checks if any additional types were loaded during the last instrumentation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.instrument.Instrumentation instrumentation
      The instrumentation instance to use.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ReiteratingIterable​(java.lang.instrument.Instrumentation instrumentation)
      Creates a new reiterating iterable.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<java.lang.Iterable<java.lang.Class<?>>> iterator()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • instrumentation

        private final java.lang.instrument.Instrumentation instrumentation
        The instrumentation instance to use.
    • Constructor Detail

      • ReiteratingIterable

        protected ReiteratingIterable​(java.lang.instrument.Instrumentation instrumentation)
        Creates a new reiterating iterable.
        Parameters:
        instrumentation - The instrumentation instance to use.
    • Method Detail

      • iterator

        public java.util.Iterator<java.lang.Iterable<java.lang.Class<?>>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Iterable<java.lang.Class<?>>>