Skip to content

Instantly share code, notes, and snippets.

@gunnarmorling
Last active December 13, 2015 18:18
Show Gist options
  • Save gunnarmorling/4954075 to your computer and use it in GitHub Desktop.
Save gunnarmorling/4954075 to your computer and use it in GitHub Desktop.
@Validated
@ValidateExecutableTypes(ALL)
public class Bar {
@Validated(OFF)
Foo getFoo() {
}
}
@ValidateExecutableTypes(ALL)
public class Bar {
@Validated(ON)
Foo getFoo() {
}
}
@Validated
@ValidateExecutableTypes(GETTER, CONSTRUCTORS)
public class Bar {
@Validated(OFF)
Foo getFoo() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment