A B C E F H I K L M N O P Q R S T U V W 
All Classes All Packages

A

annotated() - Method in class uk.autores.handling.Context
The annotated element.
AssertResourceExists - Class in uk.autores.handling
A resource handler that does nothing but can be used to ensure a resource exists at compile time.
AssertResourceExists() - Constructor for class uk.autores.handling.AssertResourceExists
Public constructor as per contract
AUTO - uk.autores.Strategy
Processor is expected to use compile-time heuristics to choose strategy.

B

build() - Method in class uk.autores.handling.Context.Builder
Creates immutable context instance.
builder() - Static method in class uk.autores.handling.Context
Builder pattern.
ByteArrays - Annotation Type in uk.autores
Directive to generate byte arrays from files.

C

charAt(int) - Method in class uk.autores.handling.Pkg
 
charAt(int) - Method in class uk.autores.handling.Resource
 
config() - Method in class uk.autores.handling.Context
Configuration.
config() - Method in interface uk.autores.handling.Handler
The configuration supported by this handler.
config() - Method in annotation type uk.autores.ResourceFiles
Some implementations of Handler support configuration.
Config - Class in uk.autores.handling
Config item derived from ResourceFiles.config().
Config(String, String) - Constructor for class uk.autores.handling.Config
Constructor with mandatory values.
ConfigDef - Class in uk.autores.handling
Defines the configuration supported by a Handler.
ConfigDef(String, Predicate<String>) - Constructor for class uk.autores.handling.ConfigDef
Ctor.
CONST - uk.autores.Strategy
Generated code embeds data in class constant pool.
Context - Class in uk.autores.handling
Context information for processing resource files.
Context.Builder - Class in uk.autores.handling
Implementation of the builder pattern for Context.

E

encoding() - Method in annotation type uk.autores.Texts
env() - Method in class uk.autores.handling.Context
Annotation processing environment.
ERROR - uk.autores.Severity
Processor is expected to fail compilation on error.

F

format() - Method in annotation type uk.autores.Messages
Treat values as MessageFormat expressions and generate typed method format methods.

H

handle(Context) - Method in class uk.autores.handling.AssertResourceExists
Does nothing.
handle(Context) - Method in interface uk.autores.handling.Handler
Handles the context resources.
handler() - Method in annotation type uk.autores.ResourceFiles
Enables non-default resource handling.
Handler - Interface in uk.autores.handling
Processes resources from the class path.

I

IdiomaticNamer - Class in uk.autores.naming
Generates names that conform to Java naming conventions.
IdiomaticNamer() - Constructor for class uk.autores.naming.IdiomaticNamer
Public no-args constructor as per contract.
IGNORE - uk.autores.Severity
Processor is expected to silently ignore problem.
incompatibleFormat() - Method in annotation type uk.autores.Messages
How to handle incompatible format string in localized files.
INLINE - uk.autores.Strategy
Generated code embeds data in class.
InputStreams - Annotation Type in uk.autores
Directive to generate classpath InputStream opening methods from files.
isIdentifier(CharSequence) - Static method in class uk.autores.naming.Namer
Tests for valid identifiers - class, method or field names.
isPackage(CharSequence) - Static method in class uk.autores.naming.Namer
Tests for valid package names.
isPublic() - Method in annotation type uk.autores.ByteArrays
Generated code visibility.
isPublic() - Method in annotation type uk.autores.InputStreams
Generated code visibility.
isPublic() - Method in annotation type uk.autores.Keys
Generated code visibility.
isPublic() - Method in annotation type uk.autores.Messages
Generated code visibility.
isPublic() - Method in annotation type uk.autores.Texts
Generated code visibility.
isUnnamed() - Method in class uk.autores.handling.Pkg
NOTE: use of the unnamed package is highly discouraged.
isValid(String) - Method in class uk.autores.handling.ConfigDef
Tests validity of value.

K

key() - Method in class uk.autores.handling.Config
Key.
key() - Method in class uk.autores.handling.ConfigDef
Configuration key.
key() - Method in annotation type uk.autores.ResourceFiles.Cfg
Key.
Keys - Annotation Type in uk.autores
Directive to generate key constants from Properties files.

L

lastSegment() - Method in class uk.autores.handling.Pkg
For package "foo.bar" returns "bar".
LAZY - uk.autores.Strategy
Generated code loads data from classpath at runtime.
length() - Method in class uk.autores.handling.Pkg
 
length() - Method in class uk.autores.handling.Resource
 
localize() - Method in annotation type uk.autores.Messages
Search for localized properties.
locations() - Method in class uk.autores.handling.Context
Filer locations to search.
locations() - Method in annotation type uk.autores.Processing
These values are passed as location (1st arg) to Filer.getResource(JavaFileManager.Location, CharSequence, CharSequence) in order.

M

Messages - Annotation Type in uk.autores
Directive to generate localized format methods from Properties files.
missingKey() - Method in annotation type uk.autores.Messages
How to handle missing keys in localized files.

N

name() - Method in annotation type uk.autores.ByteArrays
Generated class name.
name() - Method in annotation type uk.autores.InputStreams
Generated class name.
name() - Method in annotation type uk.autores.Texts
Generated class name.
nameConstant(String) - Method in class uk.autores.naming.IdiomaticNamer
For input "foo-bar-baz" returns "FOO_BAR_BAZ".
nameConstant(String) - Method in class uk.autores.naming.Namer
Name a public static final field.
named(CharSequence) - Static method in class uk.autores.handling.Pkg
Instantiates an instance, decorating the given sequence.
nameMember(String) - Method in class uk.autores.naming.IdiomaticNamer
For input "foo-bar-baz" returns "fooBarBaz".
nameMember(String) - Method in class uk.autores.naming.Namer
Name a method/field/etc.
namer() - Method in class uk.autores.handling.Context
Naming strategy.
namer() - Method in annotation type uk.autores.Processing
Set this value to provide alternative class/member naming strategy.
Namer - Class in uk.autores.naming
Base type for naming classes, methods and fields.
Namer() - Constructor for class uk.autores.naming.Namer
Public no-args constructor as per contract.
nameType(String) - Method in class uk.autores.naming.IdiomaticNamer
For input "foo-bar-baz" returns "FooBarBaz".
nameType(String) - Method in class uk.autores.naming.Namer
Name a class/interface/etc.

O

open() - Method in class uk.autores.handling.Resource
Opens resource for reading.
open() - Method in interface uk.autores.handling.Resource.ResourceOpener
Opens resource for reading.
option(ConfigDef) - Method in class uk.autores.handling.Context
First value() where value() equals ConfigDef.key().

P

pkg() - Method in class uk.autores.handling.Context
The package of the annotated type.
Pkg - Class in uk.autores.handling
Character representation of a Java package.
printError(String) - Method in class uk.autores.handling.Context
Convenience method for sending an error to the Messager.
processing() - Method in annotation type uk.autores.ByteArrays
Common processing instructions.
processing() - Method in annotation type uk.autores.InputStreams
Common processing instructions.
processing() - Method in annotation type uk.autores.Keys
Common processing instructions.
processing() - Method in annotation type uk.autores.Messages
Common processing instructions.
processing() - Method in annotation type uk.autores.ResourceFiles
Common processing instructions
processing() - Method in annotation type uk.autores.Texts
Common processing instructions.
Processing - Annotation Type in uk.autores
Common processing instructions annotation.

Q

qualifiedClassName(String) - Method in class uk.autores.handling.Pkg
For a package "foo.bar" and a simple name "Baz" returns "foo.bar.Baz".

R

rebuild() - Method in class uk.autores.handling.Context
Context.Builder initialized from current state.
Resource - Class in uk.autores.handling
A representation of the annotated resource.
Resource(Resource.ResourceOpener, String) - Constructor for class uk.autores.handling.Resource
All arguments must be non-null.
Resource.ResourceOpener - Interface in uk.autores.handling
For retrieving resource contents.
ResourceFiles - Annotation Type in uk.autores
Indicates resources that are to be processed at compile time.
ResourceFiles.Cfg - Annotation Type in uk.autores
Configuration option.
resources() - Method in class uk.autores.handling.Context
Resources to process.

S

setAnnotated(Element) - Method in class uk.autores.handling.Context.Builder
Sets package or type.
setConfig(List<Config>) - Method in class uk.autores.handling.Context.Builder
Sets configuration.
setEnv(ProcessingEnvironment) - Method in class uk.autores.handling.Context.Builder
Sets processing environment.
setLocation(List<JavaFileManager.Location>) - Method in class uk.autores.handling.Context.Builder
Sets locations to search.
setNamer(Namer) - Method in class uk.autores.handling.Context.Builder
Sets naming conventions.
setPkg(Pkg) - Method in class uk.autores.handling.Context.Builder
Sets annotated package.
setResources(List<Resource>) - Method in class uk.autores.handling.Context.Builder
Sets resources to process.
Severity - Enum in uk.autores
Error handling choices enum.
simplifyResourceName(String) - Method in class uk.autores.naming.Namer
Reduces a resource name to a simpler form.
strategy() - Method in annotation type uk.autores.ByteArrays
Code generation strategy.
strategy() - Method in annotation type uk.autores.Texts
Code generation strategy.
Strategy - Enum in uk.autores
Code generation choices enum.
subSequence(int, int) - Method in class uk.autores.handling.Pkg
 
subSequence(int, int) - Method in class uk.autores.handling.Resource
 

T

Texts - Annotation Type in uk.autores
Directive to generate strings from text files.
toString() - Method in class uk.autores.handling.Config
 
toString() - Method in class uk.autores.handling.Pkg
 
toString() - Method in class uk.autores.handling.Resource
 

U

uk.autores - module uk.autores
AutoRes.uk
uk.autores - package uk.autores
An annotation driven library for working with embedded resource files.
uk.autores.handling - package uk.autores.handling
The annotation handling API.
uk.autores.naming - package uk.autores.naming
Types for naming classes and their members during code generation.

V

validConfig(List<Config>, Consumer<String>) - Method in interface uk.autores.handling.Handler
Validates the Context.config().
value() - Method in annotation type uk.autores.ByteArrays
Resource files.
value() - Method in class uk.autores.handling.Config
Value.
value() - Method in annotation type uk.autores.InputStreams
Resource files.
value() - Method in annotation type uk.autores.Keys
Resource files.
value() - Method in annotation type uk.autores.Messages
Resource files.
value() - Method in annotation type uk.autores.ResourceFiles.Cfg
Value.
value() - Method in annotation type uk.autores.ResourceFiles
Defines the resource files to be processed.
value() - Method in enum uk.autores.Severity
Underlying string value.
value() - Method in enum uk.autores.Strategy
Underlying string value.
value() - Method in annotation type uk.autores.Texts
Resource files.
valueOf(String) - Static method in enum uk.autores.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum uk.autores.Strategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum uk.autores.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum uk.autores.Strategy
Returns an array containing the constants of this enum type, in the order they are declared.

W

WARN - uk.autores.Severity
Processor is expected to emit message but continue.
A B C E F H I K L M N O P Q R S T U V W 
All Classes All Packages