Skip to content

Commit

Permalink
Add missing annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Sep 26, 2024
1 parent d86040b commit 0bc0178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import net.bytebuddy.utility.StreamDrainer;
import net.bytebuddy.utility.nullability.AlwaysNull;
import net.bytebuddy.utility.nullability.MaybeNull;
import net.bytebuddy.utility.nullability.UnknownNull;

import java.io.*;
import java.lang.annotation.*;
Expand Down Expand Up @@ -3346,7 +3347,7 @@ protected MultiReleaseVersionMatcher(ClassFileVersion classFileVersion) {
/**
* {@inheritDoc}
*/
public boolean matches(Element target) {
public boolean matches(@UnknownNull Element target) {
String name = target.getName();
if (name.startsWith("/")) {
name = name.substring(1);
Expand Down

0 comments on commit 0bc0178

Please sign in to comment.