Class AgentBuilder.Default.Transformation.TransformerIterator

    • Field Detail

      • typeDescription

        private final TypeDescription typeDescription
        A description of the matched type.
      • classLoader

        private final java.lang.ClassLoader classLoader
        The type's class loader.
      • module

        private final JavaModule module
        The type's module.
      • classBeingRedefined

        private final java.lang.Class<?> classBeingRedefined
        The class being redefined or null if the type was not previously loaded.
      • protectionDomain

        private final java.security.ProtectionDomain protectionDomain
        The type's protection domain.
      • transformations

        private final java.util.Iterator<AgentBuilder.Default.Transformation> transformations
        An iterator over the remaining transformations that were not yet considered.
      • transformers

        private java.util.Iterator<AgentBuilder.Transformer> transformers
        An iterator over the currently matched transformers.
    • Constructor Detail

      • TransformerIterator

        protected TransformerIterator​(TypeDescription typeDescription,
                                      java.lang.ClassLoader classLoader,
                                      JavaModule module,
                                      java.lang.Class<?> classBeingRedefined,
                                      java.security.ProtectionDomain protectionDomain,
                                      java.util.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 or null if the type was not previously loaded.
        protectionDomain - The type's protection domain.
        transformations - The matched transformations.