@Target({PACKAGE,TYPE})
@Retention(SOURCE)
@Repeatable(RepeatableByteArrays.class)
public @interface ByteArrays
Annotation for
GenerateByteArraysFromFiles
.
// EXAMPLE ANNOTATION
@ByteArrays("foo.bin")
// EXAMPLE CODE
byte[] data = Foo.bytes();
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Generated code visibility.Common processing instructions.Code generation strategy.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
-
strategy
Strategy strategyCode generation strategy.- Returns:
- strategy
- Default:
AUTO
-