Package net.bytebuddy.agent.builder
Interface AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher
-
- All Known Implementing Classes:
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction,AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction,AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers,AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial
- Enclosing interface:
- AgentBuilder.RedefinitionListenable
public static interface AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcherA matcher that determines if types should be resubmitted if it is not yet loaded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ConjunctionA matcher for immediate resubmission that matches both of the supplied delegate matchers.static classAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.DisjunctionA matcher for immediate resubmission that matches either of the supplied delegate matchers.static classAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchersA matcher for immediate resubmission that uses element matchers for each argument to determine a resubmission.static classAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.TrivialA trivial matcher for immediate resubmission.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)Returnstrueif a type should be resubmitted if it is not yet loaded.
-
-
-
Method Detail
-
matches
boolean matches(java.lang.String typeName, @MaybeNull java.lang.ClassLoader classLoader, @MaybeNull JavaModule module)Returnstrueif a type should be resubmitted if it is not yet loaded.- Parameters:
typeName- The name of the instrumented type.classLoader- The class loader of the instrumented type ornullif the type is loaded by the bootstrap class loader.module- The module of the instrumented type ornullif the current VM does not support modules.- Returns:
trueif the type should be resubmitted.
-
-