You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314151617 |
- import java.lang.annotation.*;
-
- public aspect NonNullAssertionForcer {
-
- class C {
- public void foo(@NonNull String s) {}
- }
-
- before(): execution(* *(@NonNull (*))) {
- System.out.println("Bar");
- }
-
- @Target(ElementType.PARAMETER)
- @interface NonNull {
-
- }
- }
|