@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface RequiresView
@RequiresView("foo.jelly").
TODO: write a checker that makes sure all the subtypes have required views.
I initially tried to do this in AnnotationProcessorImpl, but they don't see
resources, so the check needs to be done much later, probably by inspecting the jar file.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value
Names of the view that's required.
|
Copyright © 2015. All Rights Reserved.