Skip to content

Commit

Permalink
Add missing annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Feb 3, 2024
1 parent 25511ee commit a47a19a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ public interface ResettableClassFileTransformer extends ClassFileTransformer {
* @param classLoader The type's class loader or {@code null} if the boot loader.
* @param module The type's module or {@code null} if the module system is not supported by the current VM.
* @param classBeingRedefined The class being redefined or {@code null} if the type is not yet loaded.
* @param protectionDomain The type's protection domain.
* @param protectionDomain The type's protection domain or {@code null} if not available.
* @return An iterator over the transformers that are applied by this class file transformer if the given type is discovered.
*/
Iterator<AgentBuilder.Transformer> iterator(TypeDescription typeDescription,
@MaybeNull ClassLoader classLoader,
@MaybeNull JavaModule module,
@MaybeNull Class<?> classBeingRedefined,
ProtectionDomain protectionDomain);
@MaybeNull ProtectionDomain protectionDomain);

/**
* <p>
Expand Down Expand Up @@ -432,7 +432,7 @@ public Iterator<AgentBuilder.Transformer> iterator(TypeDescription typeDescripti
@MaybeNull ClassLoader classLoader,
@MaybeNull JavaModule module,
@MaybeNull Class<?> classBeingRedefined,
ProtectionDomain protectionDomain) {
@MaybeNull ProtectionDomain protectionDomain) {
return classFileTransformer.iterator(typeDescription, classLoader, module, classBeingRedefined, protectionDomain);
}

Expand Down Expand Up @@ -524,7 +524,7 @@ public Iterator<AgentBuilder.Transformer> iterator(TypeDescription typeDescripti
@MaybeNull ClassLoader classLoader,
@MaybeNull JavaModule module,
@MaybeNull Class<?> classBeingRedefined,
ProtectionDomain protectionDomain) {
@MaybeNull ProtectionDomain protectionDomain) {
return classFileTransformer.iterator(typeDescription, classLoader, module, classBeingRedefined, protectionDomain);
}

Expand Down

0 comments on commit a47a19a

Please sign in to comment.