Class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition

    • Method Detail

      • doApply

        protected void doApply​(java.lang.instrument.Instrumentation instrumentation,
                               java.util.List<java.lang.Class<?>> types)
                        throws java.lang.instrument.UnmodifiableClassException,
                               java.lang.ClassNotFoundException
        Description copied from class: AgentBuilder.RedefinitionStrategy.Collector
        Applies this collector.
        Specified by:
        doApply in class AgentBuilder.RedefinitionStrategy.Collector
        Parameters:
        instrumentation - The instrumentation instance to apply the transformation for.
        types - The types of the current patch to transform.
        Throws:
        java.lang.instrument.UnmodifiableClassException - If a class is not modifiable.
        java.lang.ClassNotFoundException - If a class could not be found.