Class AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation

    • Constructor Detail

      • ForRetransformation

        protected ForRetransformation()
    • Method Detail

      • doApply

        protected void doApply​(java.lang.instrument.Instrumentation instrumentation,
                               AgentBuilder.CircularityLock circularityLock,
                               java.util.List<java.lang.Class<?>> types,
                               AgentBuilder.LocationStrategy locationStrategy,
                               AgentBuilder.Listener listener)
                        throws java.lang.instrument.UnmodifiableClassException
        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.
        circularityLock - The circularity lock to use.
        types - The types of the current patch to transform.
        locationStrategy - The location strategy to use.
        listener - the listener to notify.
        Throws:
        java.lang.instrument.UnmodifiableClassException - If a class is not modifiable.