Skip to content

Instantly share code, notes, and snippets.

@soc
Created April 12, 2015 19:19
Show Gist options
  • Select an option

  • Save soc/31799dd7261a88685e03 to your computer and use it in GitHub Desktop.

Select an option

Save soc/31799dd7261a88685e03 to your computer and use it in GitHub Desktop.
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
@Retention(RetentionPolicy.RUNTIME)
@Target(value = Array(ElementType.TYPE, ElementType.METHOD))
@throws[RuntimeException] @Foo @Val(/*clazz = classOf[String]*/) class Baz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment