-
@Target({PACKAGE,TYPE}) @Retention(SOURCE) @Repeatable(uk.autores.repeat.RepeatableInputStreams.class) public @interface InputStreams
Directive to generate classpath
InputStream
opening methods from files.// 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
Optional Elements Modifier and Type Optional Element Description boolean
isPublic
Generated code visibility.String
name
Generated class name.Processing
processing
Common processing instructions.String[]
value
Resource files.
-
-
-
Element Detail
-
value
String[] value
Resource files.- Returns:
- resources
- Default:
- {}
-
-
-
processing
Processing processing
Common processing instructions.- Returns:
- instruction annotation
- Default:
- @uk.autores.Processing(namer=uk.autores.naming.IdiomaticNamer.class)
-
-
-
name
String name
Generated class name.- Returns:
- class name
- Default:
- ""
-
-