Skip to content

Instantly share code, notes, and snippets.

package test;
public class Simple {
public String testMethod(int a, String v, String b) {
if (v == null) {
throw new IllegalArgumentException("Argument 1 for @NotNull parameter of test/Simple.testMethod must not be null");
}
return null;
}
}