Skip to content

Instantly share code, notes, and snippets.

@tonek
Created October 23, 2011 10:52
Show Gist options
  • Save tonek/1307239 to your computer and use it in GitHub Desktop.
Save tonek/1307239 to your computer and use it in GitHub Desktop.
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;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment