Skip to content

Instantly share code, notes, and snippets.

@romani
Last active December 14, 2025 19:39
Show Gist options
  • Select an option

  • Save romani/7316c9829f2608a1f19f9ad7e4b8f11c to your computer and use it in GitHub Desktop.

Select an option

Save romani/7316c9829f2608a1f19f9ad7e4b8f11c to your computer and use it in GitHub Desktop.
false positive invalid tag JavadocType #16087
public class Main {
private static int foo;
private static Main INSTANCE;
private String name;
public static void main(String[] args) {
foo = (args[0]).length();
foo = (String.valueOf(foo)).length();
foo = (INSTANCE.name).length();
foo = (new String()).length();
System.out.println(foo);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment