A C D E F G I M N O P R S T V 
All Classes All Packages

A

apply(TypeSpec.Builder) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceEditorSpec
 
apply(TypeSpec.Builder) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceGroupSpec
 
apply(TypeSpec.Builder) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceKeysSpec
 
apply(TypeSpec.Builder) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceSpec
 

C

capitalize(String) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
 
ClassNames - Class in eu.jonahbauer.android.preference.annotations.processor
 
ClassNames() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.ClassNames
 
Context - Class in eu.jonahbauer.android.preference.annotations.processor.model
 
Context() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.model.Context
 
create(Context, int, Preference) - Static method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceSpec
 
create(Context, int, Preference) - Static method in class eu.jonahbauer.android.preference.annotations.processor.model.SerializerSpec
 
create(Context, int, PreferenceGroup) - Static method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceGroupSpec
 
create(Context, ClassName, List<PreferenceSpec>) - Static method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceEditorSpec
 
create(Context, ClassName, List<PreferenceSpec>) - Static method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceKeysSpec
 
create(ProcessingEnvironment, Element, Preferences) - Static method in class eu.jonahbauer.android.preference.annotations.processor.model.PreferencesSpec
 

D

defaultValue() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preference
The default value for the preference.
description() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preference
A description that will be used as documentation for the preference accessors in the generated class.
deserialize(String) - Method in class eu.jonahbauer.android.preference.annotations.serializer.EnumPreferenceSerializer
 
deserialize(T) - Method in interface eu.jonahbauer.android.preference.annotations.serializer.PreferenceSerializer
Convert from persistent type to runtime type.

E

editor() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preferences
Whether to generate an Editor class similar to SharedPreferences.Editor.
EnumPreferenceSerializer<T extends java.lang.Enum<T>> - Class in eu.jonahbauer.android.preference.annotations.serializer
 
EnumPreferenceSerializer(Class<T>) - Constructor for class eu.jonahbauer.android.preference.annotations.serializer.EnumPreferenceSerializer
 
error(String, Object...) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.Context
 
eu.jonahbauer.android.preference.annotation - module eu.jonahbauer.android.preference.annotation
 
eu.jonahbauer.android.preference.annotations - package eu.jonahbauer.android.preference.annotations
 
eu.jonahbauer.android.preference.annotations.processor - package eu.jonahbauer.android.preference.annotations.processor
 
eu.jonahbauer.android.preference.annotations.processor.model - package eu.jonahbauer.android.preference.annotations.processor.model
 
eu.jonahbauer.android.preference.annotations.serializer - package eu.jonahbauer.android.preference.annotations.serializer
 

F

fluent() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preferences
Whether the generated code should use fluent accessors or stick to the traditional getter/setter prefixes.

G

getGetterName(String, boolean, boolean) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
 
getGetterName(String, TypeName, boolean) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
 
getGetterName(String, TypeMirror, boolean) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
 
getMethodName(String) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
 
getSetterName(String, boolean) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
 
getter(String, FieldSpec, boolean) - Static method in class eu.jonahbauer.android.preference.annotations.processor.TypeUtils
 
getType(Class<?>, Class<?>...) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.Context
 

I

ILLEGAL_STATE_EXCEPTION - Static variable in class eu.jonahbauer.android.preference.annotations.processor.ClassNames
 
isEnum(TypeMirror) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.Context
Checks whether the given type is an enum type.
isFQCN(String) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
Checks whether the given string is a fully qualified class name as per JLS 6.7, i.e.
isJavaIdentifier(String) - Static method in class eu.jonahbauer.android.preference.annotations.processor.StringUtils
Checks whether the given string is an identifier as per JLS 3.8, i.e.
isSame(TypeMirror, Class<?>, Class<?>...) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.Context
Checks whether the given type and class are the same after type erasure.

M

makeFile() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preferences
Whether the generated class should be public final with a private constructor, or package-private non-final with a protected constructor.
mirror(S, Function<S, ? extends Class<?>>) - Static method in class eu.jonahbauer.android.preference.annotations.processor.TypeUtils
 

N

name() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preference
The name of the preference.
name() - Method in annotation type eu.jonahbauer.android.preference.annotations.PreferenceGroup
The name of the preference group.
name() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preferences
The fully qualified class name of the generated preferences class.
NO_DEFAULT_VALUE - Static variable in annotation type eu.jonahbauer.android.preference.annotations.Preference
 

O

OBJECTS - Static variable in class eu.jonahbauer.android.preference.annotations.processor.ClassNames
 

P

Preference - Annotation Type in eu.jonahbauer.android.preference.annotations
Defines a preference.
PreferenceEditorSpec - Class in eu.jonahbauer.android.preference.annotations.processor.model
 
PreferenceEditorSpec() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceEditorSpec
 
PreferenceGroup - Annotation Type in eu.jonahbauer.android.preference.annotations
Defines a group of preferences.
PreferenceGroupSpec - Class in eu.jonahbauer.android.preference.annotations.processor.model
 
PreferenceGroupSpec() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceGroupSpec
 
PreferenceKeysSpec - Class in eu.jonahbauer.android.preference.annotations.processor.model
 
PreferenceKeysSpec() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceKeysSpec
 
PreferenceProcessor - Class in eu.jonahbauer.android.preference.annotations.processor
 
PreferenceProcessor() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.PreferenceProcessor
 
Preferences - Annotation Type in eu.jonahbauer.android.preference.annotations
Defines a set of preferences.
PreferenceSerializationException - Exception in eu.jonahbauer.android.preference.annotations.serializer
An exception for when an error occurs during preference serialization
PreferenceSerializationException() - Constructor for exception eu.jonahbauer.android.preference.annotations.serializer.PreferenceSerializationException
 
PreferenceSerializer<S,​T> - Interface in eu.jonahbauer.android.preference.annotations.serializer
An interface for converting between two types.
PreferenceSpec - Class in eu.jonahbauer.android.preference.annotations.processor.model
 
PreferenceSpec(Context, Preference, FieldSpec, SerializerSpec) - Constructor for class eu.jonahbauer.android.preference.annotations.processor.model.PreferenceSpec
 
PreferencesSpec - Class in eu.jonahbauer.android.preference.annotations.processor.model
 
PreferencesSpec() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.model.PreferencesSpec
 
prefix() - Method in annotation type eu.jonahbauer.android.preference.annotations.PreferenceGroup
A prefix that is prepended to the preference name in order to build the preference key.
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class eu.jonahbauer.android.preference.annotations.processor.PreferenceProcessor
 

R

r() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preferences
The type of the app's R class.
RESOURCES - Static variable in class eu.jonahbauer.android.preference.annotations.processor.ClassNames
 

S

serialize(S) - Method in interface eu.jonahbauer.android.preference.annotations.serializer.PreferenceSerializer
Convert from runtime type to persistent type.
serialize(T) - Method in class eu.jonahbauer.android.preference.annotations.serializer.EnumPreferenceSerializer
 
serializer() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preference
A serializer used for converting the preference type to a type supported by SharedPreferences and back.
SerializerSpec - Class in eu.jonahbauer.android.preference.annotations.processor.model
 
SHARED_PREFERENCES - Static variable in class eu.jonahbauer.android.preference.annotations.processor.ClassNames
 
SHARED_PREFERENCES_EDITOR - Static variable in class eu.jonahbauer.android.preference.annotations.processor.ClassNames
 
StringUtils - Class in eu.jonahbauer.android.preference.annotations.processor
 
StringUtils() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.StringUtils
 
suffix() - Method in annotation type eu.jonahbauer.android.preference.annotations.PreferenceGroup
A suffix that is appended to the preference name in order to build the preference key.

T

tryBox(TypeMirror) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.Context
Boxes the given type when it is a primitive and returns it unchanged if not.
tryUnbox(TypeMirror) - Method in class eu.jonahbauer.android.preference.annotations.processor.model.Context
Unboxes the given type when possible and returns it unchanged if it is not a primitive wrapper.
type() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preference
The type of the preference.
TypeUtils - Class in eu.jonahbauer.android.preference.annotations.processor
 
TypeUtils() - Constructor for class eu.jonahbauer.android.preference.annotations.processor.TypeUtils
 

V

value() - Method in annotation type eu.jonahbauer.android.preference.annotations.PreferenceGroup
A list of Preferences.
value() - Method in annotation type eu.jonahbauer.android.preference.annotations.Preferences
A list of PreferenceGroups.
A C D E F G I M N O P R S T V 
All Classes All Packages