@Target({PACKAGE,TYPE})
@Retention(SOURCE)
@Repeatable(RepeatableInputStreams.class)
public @interface InputStreams
Annotation for
GenerateInputStreamsFromFiles
.
// EXAMPLE ANNOTATION
@InputStreams(value = "foo.bin", name = "Data")
// EXAMPLE CODE
try (java.io.InputStream in = Data.foo()) {
// etc...
} catch (java.io.IOException e) {
// handle exception
}
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Generated code visibility.Generated class name.Common processing instructions.String[]
Resource files.
-
Element Details
-
value
String[] valueResource files.- Returns:
- resources
- Default:
{}
-
processing
Processing processingCommon processing instructions.- Returns:
- instruction annotation
- Default:
@uk.autores.Processing(namer=uk.autores.naming.IdiomaticNamer.class)
-
isPublic
boolean isPublicGenerated code visibility.- Returns:
- visibility
- Default:
false
-
name
String nameGenerated class name.- Returns:
- class name
- Default:
""
-