Skip to content

Instantly share code, notes, and snippets.

@majkrzak
Created April 14, 2015 17:15
Show Gist options
  • Save majkrzak/62ba96e16029bbde32e3 to your computer and use it in GitHub Desktop.
Save majkrzak/62ba96e16029bbde32e3 to your computer and use it in GitHub Desktop.
@interface annotation{Class c() default Object.class;}
@annotation(c=(new Object(){}).getClass())
class C{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment