Annotation Interface StubFiles
An annotation on a SourceChecker subclass to provide additional stub files that should be used in
addition to
jdk.astub. This allows larger compound checkers to separate the annotations
into multiple files, or to provide annotations for non-JDK classes.
A checker inherits the stub files of the nearest superclass that declares this annotation,
unless it declares its own @StubFiles annotation. Furthermore, stub files are shared
bidirectionally between compound checkers and their subcheckers.
- See the Checker Framework Manual:
- Annotated JDK
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueStub file names. These are basenames: they include the extension (usually ".astub"), but no directory component.- Returns:
- the stub file names
-