Index
All Classes and Interfaces|All Packages
A
- ACDefaultSettings - Class in com.mrivanplays.annotationconfig.core.resolver.settings
-
Represents a holder of the default
Settingsfor AnnotationConfig. - ACDefaultSettings() - Constructor for class com.mrivanplays.annotationconfig.core.resolver.settings.ACDefaultSettings
- AdvancedEnumSerializer<E extends Enum<E>> - Class in com.mrivanplays.annotationconfig.core.serialization
-
Enumserializer, which uses different tricks to serialize enum constants to user-friendly values for configs, and also to read them properly. - AnnotatedConfigResolver - Class in com.mrivanplays.annotationconfig.core.internal
- AnnotationAccessor - Interface in com.mrivanplays.annotationconfig.core.serialization
-
Represents an annotation accessor, a controlled manner of accessing (field) annotations.
- AnnotationHolder - Class in com.mrivanplays.annotationconfig.core.internal
- AnnotationHolder(Class<?>) - Constructor for class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- AnnotationHolder(Field, int) - Constructor for class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- AnnotationType - Enum in com.mrivanplays.annotationconfig.core.annotations.type
-
Represents an annotation type, holding utility methods for the held raw annotation type.
- AnnotationUtils - Class in com.mrivanplays.annotationconfig.core.utils
-
A utility class with utilities about AnnotationConfig's default annotations.
- AnnotationValidator<T extends Annotation> - Interface in com.mrivanplays.annotationconfig.core.annotations.custom
-
Represents a validator of a custom annotation.
- apply(A, B, C) - Method in interface com.mrivanplays.annotationconfig.core.utils.TriFunction
-
Applies this function to the given arguments.
- applyPlaceholders(List<String>) - Method in enum com.mrivanplays.annotationconfig.core.resolver.CommentPlaceholderRegistry
-
Returns a mutable
LinkedListcopy of the inputtedcommentswith all the registered placeholders applied.
B
- BIG_DECIMAL - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- BIG_INTEGER - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- BOOLEAN - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- boxTo(String, Object, Map<String, Object>) - Method in class com.mrivanplays.annotationconfig.core.resolver.key.DottedResolver
-
AnnotationConfig calls this method whenever it needs to populate the specified
Mapvalueswith the specifiedvalueand specifiedkey. - boxTo(String, Object, Map<String, Object>) - Method in interface com.mrivanplays.annotationconfig.core.resolver.key.KeyResolver
-
AnnotationConfig calls this method whenever it needs to populate the specified
Mapvalueswith the specifiedvalueand specifiedkey. - build() - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Builds a new
ConfigResolverready for use. - build() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Builds this
DataObjectBuilderinto aDataObject - builder() - Static method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Creates a new
DataObjectBuilder. - Builder() - Constructor for class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
- Builder(ConfigResolver.Builder) - Constructor for class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Creates a copy of the specified builder
- BYTE - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
C
- castArrayToType(Class<?>, Object) - Static method in class com.mrivanplays.annotationconfig.core.utils.ReflectionUtils
- castToArray(Object) - Static method in class com.mrivanplays.annotationconfig.core.utils.ReflectionUtils
- castToArray(Object) - Method in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- CHAR - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- com.mrivanplays.annotationconfig.core - package com.mrivanplays.annotationconfig.core
- com.mrivanplays.annotationconfig.core.annotations - package com.mrivanplays.annotationconfig.core.annotations
- com.mrivanplays.annotationconfig.core.annotations.comment - package com.mrivanplays.annotationconfig.core.annotations.comment
- com.mrivanplays.annotationconfig.core.annotations.custom - package com.mrivanplays.annotationconfig.core.annotations.custom
- com.mrivanplays.annotationconfig.core.annotations.type - package com.mrivanplays.annotationconfig.core.annotations.type
- com.mrivanplays.annotationconfig.core.internal - package com.mrivanplays.annotationconfig.core.internal
- com.mrivanplays.annotationconfig.core.resolver - package com.mrivanplays.annotationconfig.core.resolver
- com.mrivanplays.annotationconfig.core.resolver.key - package com.mrivanplays.annotationconfig.core.resolver.key
- com.mrivanplays.annotationconfig.core.resolver.settings - package com.mrivanplays.annotationconfig.core.resolver.settings
- com.mrivanplays.annotationconfig.core.serialization - package com.mrivanplays.annotationconfig.core.serialization
- com.mrivanplays.annotationconfig.core.utils - package com.mrivanplays.annotationconfig.core.utils
- combine(Settings) - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
-
Combines the specified
Settingswith thisSettingsinstance. - Comment - Annotation Type in com.mrivanplays.annotationconfig.core.annotations.comment
-
Annotation, telling the config writer to write a comment with the specified value.
- COMMENT - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- CommentPlaceholderRegistry - Enum in com.mrivanplays.annotationconfig.core.resolver
-
Represents a registry for placeholders for
commentscontent. - Comments - Annotation Type in com.mrivanplays.annotationconfig.core.annotations.comment
-
Annotation, representing the outcome of a repeated
Commentannotation. - COMMENTS - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- compareTo(AnnotationHolder) - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- CONFIG_OBJECT - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- ConfigObject - Annotation Type in com.mrivanplays.annotationconfig.core.annotations
-
Annotation, representing that the annotated field should be treated as a config object/section.
- ConfigResolver - Interface in com.mrivanplays.annotationconfig.core.resolver
-
Represents a resolver of configurations.
- ConfigResolver.Builder - Class in com.mrivanplays.annotationconfig.core.resolver
-
Represents a builder of a
ConfigResolver - ConfigResolverImpl - Class in com.mrivanplays.annotationconfig.core.internal
- ConfigResolverImpl(String, ValueWriter, ValueReader, Settings, KeyResolver, String[]) - Constructor for class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- copy() - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Creates a copy of this builder
- copy() - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
-
Creates a mutable copy of the current settings object.
- copy() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Creates a new copy of this
DataObjectBuilder - copy(boolean) - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
-
Creates a copy of the current settings object.
- createFromField(Field) - Static method in interface com.mrivanplays.annotationconfig.core.serialization.AnnotationAccessor
- createFromFile(File) - Static method in interface com.mrivanplays.annotationconfig.core.resolver.WritableObject
-
Creates a new
WritableObjectfrom aFile - createFromOutputStream(OutputStream) - Static method in interface com.mrivanplays.annotationconfig.core.resolver.WritableObject
-
Creates a new
WritableObjectfrom aOutputStream - createFromPath(Path) - Static method in interface com.mrivanplays.annotationconfig.core.resolver.WritableObject
-
Creates a new
WritableObjectfrom aPath - createFromWriter(Writer) - Static method in interface com.mrivanplays.annotationconfig.core.resolver.WritableObject
-
Creates a new
WritableObjectfrom aWriter - CustomAnnotationRegistry - Enum in com.mrivanplays.annotationconfig.core.annotations.custom
-
Represents a registry for custom annotations.
D
- DataObject - Class in com.mrivanplays.annotationconfig.core.serialization
-
A class, which stores read from config values or serialized values in a developer friendly way.
- DataObject() - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Constructs a empty data object
- DataObject(Object) - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Constructs a data object, which holds the specified data.
- DataObject(Object, boolean) - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Constructs a data object, which holds the specified data.
- DataObject(Map<String, Object>) - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Constructs a data object, which holds the specified map data.
- DataObject(Map<String, Object>, boolean) - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Constructs a data object, which holds the specified map data.
- DataObjectBuilder - Class in com.mrivanplays.annotationconfig.core.serialization
-
Represents a builder of
DataObject. - DataObjectBuilder() - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Creates a new
DataObjectBuilder - DataObjectBuilder(DataObject) - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
- DataObjectBuilder(DataObjectBuilder) - Constructor for class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Creates a copy of the specified
DataObjectBuilderother - DEFAULT - Static variable in interface com.mrivanplays.annotationconfig.core.resolver.key.KeyResolver
-
Returns the default key resolver used by AnnotationConfig.
- DEFAULT_MATCHES_CONDITION - Static variable in class com.mrivanplays.annotationconfig.core.serialization.AdvancedEnumSerializer
-
The default matches condition
- deserialize(DataObject, SerializationContext<E>, AnnotationAccessor) - Method in class com.mrivanplays.annotationconfig.core.serialization.AdvancedEnumSerializer
-
AnnotationConfig invokes this call-back method during deserialization when it encounters a field of the specified type.
- deserialize(DataObject, SerializationContext<T>, AnnotationAccessor) - Method in interface com.mrivanplays.annotationconfig.core.serialization.FieldTypeSerializer
-
AnnotationConfig invokes this call-back method during deserialization when it encounters a field of the specified type.
- deserialize(DataObject, Class<? extends T>, Object) - Static method in class com.mrivanplays.annotationconfig.core.serialization.SimpleValueSerializer
- deserializeAsFunction() - Method in interface com.mrivanplays.annotationconfig.core.serialization.FieldTypeSerializer
- DottedResolver - Class in com.mrivanplays.annotationconfig.core.resolver.key
-
Represents a resolver of dotted keys.
- DOUBLE - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- dump(Object, File) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- dump(Object, File) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- dump(Object, OutputStream) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- dump(Object, Writer) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- dump(Object, Writer) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- dump(Object, Path) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- dump(Object, Path) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- dump(Object, Map<AnnotationHolder, Set<AnnotationType>>, File, Settings, String, ValueWriter, KeyResolver, boolean, boolean) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
- dump(Object, Map<AnnotationHolder, Set<AnnotationType>>, Writer, Settings, String, ValueWriter, KeyResolver, boolean, boolean) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
- dump(Object, Map<AnnotationHolder, Set<AnnotationType>>, Path, Settings, String, ValueWriter, KeyResolver, boolean, boolean) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
E
- EMPTY - Static variable in interface com.mrivanplays.annotationconfig.core.serialization.AnnotationAccessor
-
Returns an
AnnotationAccessor, whichAnnotationAccessor.getAnnotation(Class)method will always returnOptional.empty() - equals(Object) - Method in class com.mrivanplays.annotationconfig.core.resolver.MultilineString
- equals(Object) - Method in interface com.mrivanplays.annotationconfig.core.resolver.settings.Setting
-
Compares 2
Settingobjects to check whether they are equal. - equals(Object) - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
- equals(Object) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
F
- fail(Throwable) - Static method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns a failure validation response.
- failSilently() - Static method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns a failure validation response, which is going to cancel field set silently.
- FieldTypeSerializer<T> - Interface in com.mrivanplays.annotationconfig.core.serialization
-
Interface representing a custom serializer and deserializer of a field type.
- FIND_PARENT_FIELDS - Static variable in class com.mrivanplays.annotationconfig.core.resolver.settings.ACDefaultSettings
-
A setting indicating whether to find
fieldsof classes which have been inherited by the given config class. - FLOAT - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- forEnum(Class<E>) - Static method in class com.mrivanplays.annotationconfig.core.serialization.AdvancedEnumSerializer
-
Creates a new
AdvancedEnumSerializerfor the specifiedenumClass - forEnumWithCondition(Class<E>, BiPredicate<Integer, List<String>>) - Static method in class com.mrivanplays.annotationconfig.core.serialization.AdvancedEnumSerializer
-
Creates a new
AdvancedEnumSerializerfor the specifiedenumClasswith the specifiedmatchesCondition. - fromBooleanValue(boolean) - Static method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns validation response given the boolean value.
- fromBooleanValue(boolean, Throwable) - Static method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns validation response given the boolean value.
- fromBooleanValue(boolean, Throwable, Runnable) - Static method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns validation response given the boolean value.
- fromField(Field, Object) - Static method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Creates a new
SerializationContextfrom aField - functional(TriFunction<DataObject, SerializationContext<T>, AnnotationAccessor, T>, TriFunction<T, SerializationContext<T>, AnnotationAccessor, DataObject>) - Static method in interface com.mrivanplays.annotationconfig.core.serialization.FieldTypeSerializer
-
Creates a new
FieldTypeSerializerfrom 2TriFunctions
G
- GENERATE_NEW_OPTIONS - Static variable in class com.mrivanplays.annotationconfig.core.resolver.settings.ACDefaultSettings
- get(Setting<T>) - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
-
Get the stored value in these settings of the specified
Setting, if any. - get(String) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the
DataObjectvalue held by the specified key. - getAnnotatedConfig() - Method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Returns the annotated config this context originated from.
- getAnnotation(Class<T>) - Method in interface com.mrivanplays.annotationconfig.core.serialization.AnnotationAccessor
-
Returns an
Optional, which may be fulfilled with the neededAnnotation, nailed to the specifiedClassannotationClass. - getAs(Class<T>) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as the specified
type, if the held data is of that type. - getAsBigDecimal() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
BigDecimal - getAsBigInteger() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
BigInteger - getAsBoolean() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Boolean - getAsByte() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Byte - getAsChar() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Character - getAsDouble() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Double - getAsFloat() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Float - getAsInt() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Integer - getAsList() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
- getAsLong() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Long - getAsMap() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
- getAsObject() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object.
- getAsObject(boolean) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data objects.
- getAsShort() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Short - getAsString() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
String - getClassType() - Method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Returns the
Classtype of the (de)serialized object. - getClazz() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- getComments(Field) - Static method in class com.mrivanplays.annotationconfig.core.utils.AnnotationUtils
-
Returns the comments of the specified
Field - getConfigResolver() - Static method in class com.mrivanplays.annotationconfig.core.PropertyConfig
-
Returns the
ConfigResolverinstance of PropertyConfig - getDefault() - Static method in class com.mrivanplays.annotationconfig.core.resolver.settings.ACDefaultSettings
- getDefaultSerializer() - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Returns the default serializer.
- getDefaultValue() - Method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Returns an
Optionalwhich may or may not be fulfilled with a default value. - getField() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- getFieldOrder() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- getGenericType() - Method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Returns the generic
Typeof the (de)serialized object. - getInstance() - Static method in class com.mrivanplays.annotationconfig.core.resolver.key.DottedResolver
-
Returns the instance of the
DottedResolver - getKey(Field) - Static method in class com.mrivanplays.annotationconfig.core.utils.AnnotationUtils
-
Returns the key of the specified
Field - getLastCommonMap(Map<String, Object>, Map<String, Object>) - Static method in class com.mrivanplays.annotationconfig.core.utils.MapUtils
- getList(Class<T>) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns the held value by this data object as a
Listof the specified class type. - getMarkerChar() - Method in class com.mrivanplays.annotationconfig.core.resolver.MultilineString
-
Returns the
Charactermarker. - getName() - Method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Returns an
Optionalwhich may or may not be fulfilled with a name. - getNameType(String) - Static method in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- getPrimitiveClass(String) - Static method in class com.mrivanplays.annotationconfig.core.utils.ReflectionUtils
- getRawType() - Method in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
-
Returns the raw annotation type, held by this
AnnotationType - getSerializer(Class<?>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Returns an
Optionalvalue, which may or may not be filled with aFieldTypeSerializer, depending on if theserializedTypehas been registered or not. - getSerializer(Type) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Returns an
Optionalvalue, which may or may not be filled with aFieldTypeSerializer, depending on if theserializedTypehas been registered or not. - getString() - Method in class com.mrivanplays.annotationconfig.core.resolver.MultilineString
-
Get the
Stringto write. - getType() - Method in class com.mrivanplays.annotationconfig.core.utils.TypeToken
-
Returns the captured generic type.
- getValidator(Class<? extends Annotation>) - Method in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
-
Returns the
AnnotationValidatorbound to the specifiedannotationClass.
H
- has(Setting<?>) - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
-
Checks whether this settings instance stores a value for this setting
- has(String) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns whether the specified key has a value in this data object.
- hashCode() - Method in class com.mrivanplays.annotationconfig.core.resolver.MultilineString
- hashCode() - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
- hashCode() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
- hasSerializer(Class<?>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Returns whether the specified type has a serializer registered.
- hasSerializer(Type) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Returns whether the specified type has a serializer registered.
- hasValidator(Class<? extends Annotation>) - Method in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
-
Returns whether the specified
annotationhas a validator.
I
- Ignore - Annotation Type in com.mrivanplays.annotationconfig.core.annotations
-
Annotation, which is marking field(s) to be excluded from dumping in the config and modifying, whenever they don't have any of the other annotations.
- IGNORE - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- immutable() - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
-
Returns whether this settings instance is immutable.
- INSTANCE - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
- INSTANCE - Enum constant in enum com.mrivanplays.annotationconfig.core.resolver.CommentPlaceholderRegistry
- INSTANCE - Enum constant in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
- INTEGER - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- is(AnnotationType) - Method in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- is(Class<? extends Annotation>) - Method in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
-
Returns if the raw annotation type specified meets this
AnnotationType - isClass() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- isConfigObject(Field) - Static method in class com.mrivanplays.annotationconfig.core.utils.AnnotationUtils
-
Returns whether the specified
Fieldis a config object. - isEmpty() - Method in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
-
Returns whether the registry contains any validators.
- isEmpty() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns whether this data object is empty.
- isIgnored(Field) - Static method in class com.mrivanplays.annotationconfig.core.utils.AnnotationUtils
-
Returns whether the specified
Fieldis ignored upon generation. - isImmutable() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns whether this data object is immutable/unmodifiable.
- isPrimitive(String) - Static method in class com.mrivanplays.annotationconfig.core.utils.ReflectionUtils
- isRawConfigAccess(Field) - Static method in class com.mrivanplays.annotationconfig.core.utils.AnnotationUtils
-
Returns whether the specified
Fieldis an accessor of the raw config. - isSingleValue() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Returns whether this data object holds a single value and not a map.
K
- key() - Method in interface com.mrivanplays.annotationconfig.core.resolver.settings.Setting
-
Returns the key with which this setting will be associated with.
- Key - Annotation Type in com.mrivanplays.annotationconfig.core.annotations
-
Annotation, representing the config key for the field the annotation is called on.
- KEY - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- KeyResolver - Interface in com.mrivanplays.annotationconfig.core.resolver.key
-
Represents a resolver of config keys, which boxes and unboxes them.
L
- load(Object, File) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, File) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedFilefileusing the defaultSettingsfrom the builder of this config resolver, orACDefaultSettings.getDefault(). - load(Object, File, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, File, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- load(Object, InputStream) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedInputStreaminthe defaultSettingsfrom the builder of this config resolver, orACDefaultSettings.getDefault(). - load(Object, InputStream, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedInputStreaminusing theSettingssettingsspecified. - load(Object, Reader) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, Reader) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedReaderreaderthe defaultSettingsfrom the builder of this config resolver, orACDefaultSettings.getDefault(). - load(Object, Reader, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, Reader, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- load(Object, Path) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, Path) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedPathpathusing the defaultSettingsfrom the builder of this config resolver, orACDefaultSettings.getDefault(). - load(Object, Path, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, Path, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- load(Object, Map<String, Object>) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, Map<String, Object>) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedMapvaluesusing the defaultSettingsfrom the builder of this config resolver, orACDefaultSettings.getDefault(). - load(Object, Map<String, Object>, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- load(Object, Map<String, Object>, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- loadOrDump(Object, File) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- loadOrDump(Object, File) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedFilefile, if it exists, if not, dumps the specifiedannotatedConfigto the specified file, using the defaultSettingsfrom the builder of this config resolver, orACDefaultSettings.getDefault(). - loadOrDump(Object, File, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- loadOrDump(Object, File, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- loadOrDump(Object, Path) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- loadOrDump(Object, Path) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the specified
annotatedConfigfrom the specifiedPathpath, if it exists, if not, dumps the specifiedannotatedConfigto the specified file, using the defaultSettingsfrom the builder of this config resolver, orACDefaultSettings.getDefault(). - loadOrDump(Object, Path, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- loadOrDump(Object, Path, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
- LONG - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
M
- MapUtils - Class in com.mrivanplays.annotationconfig.core.utils
-
A utility class for interacting with
Mapsand combining them, putting values at the right place. - match(Class<? extends Annotation>) - Static method in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
-
Returns an
Optionalvalue, which may contain theAnnotationTypematched to the specified . - Max - Annotation Type in com.mrivanplays.annotationconfig.core.annotations
-
Annotation, representing the maximal string length or the maximal int/double/byte/float/short/long value.
- MAX - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- maxByte() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Max
- maxDouble() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Max
- maxFloat() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Max
- maxInt() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Max
- maxLong() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Max
- maxShort() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Max
- Min - Annotation Type in com.mrivanplays.annotationconfig.core.annotations
-
Annotation, representing a minimal string length or a minimal int/double/byte/float/short/long value.
- MIN - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- minByte() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Min
- minDouble() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Min
- minFloat() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Min
- minInt() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Min
- minLong() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Min
- minShort() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Min
- Multiline - Annotation Type in com.mrivanplays.annotationconfig.core.annotations
-
Annotation which tells AnnotationConfig that the field it is annotated on should be written as a multiline
String. - MULTILINE - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- MultilineString - Class in com.mrivanplays.annotationconfig.core.resolver
- MultilineString(String, char) - Constructor for class com.mrivanplays.annotationconfig.core.resolver.MultilineString
N
- newBuilder() - Static method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Creates a new
ConfigResolver.Builder - NULL_READ_HANDLER - Static variable in class com.mrivanplays.annotationconfig.core.resolver.settings.ACDefaultSettings
- NullReadHandleOption - Enum in com.mrivanplays.annotationconfig.core.resolver.settings
-
Represents a simple 2 option enum, which is telling the resolver how to handle null values, which have been deserialized, but the deserialized value returned null.
O
- objectClass - Variable in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- of(Class<?>, Type, Object) - Static method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Creates a new
SerializationContext - of(String, Class<T>) - Static method in interface com.mrivanplays.annotationconfig.core.resolver.settings.Setting
- of(String, T, Class<?>, Type, Object) - Static method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Creates a new
SerializationContext - of(T, Class<?>, Type, Object) - Static method in class com.mrivanplays.annotationconfig.core.serialization.SerializationContext
-
Creates a new
SerializationContext - onSuccess() - Method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns a
Runnableto run, which marks this validation response is successful.
P
- populateFirst(Map<String, Object>, Map<String, Object>) - Static method in class com.mrivanplays.annotationconfig.core.utils.MapUtils
- primitiveType - Variable in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- PropertyConfig - Class in com.mrivanplays.annotationconfig.core
-
Represents configuration, utilising .conf/.properties configuration type.
- PropertyConfig() - Constructor for class com.mrivanplays.annotationconfig.core.PropertyConfig
- put(Setting<T>, T) - Method in class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
-
Puts the specified
Settingsettingvalueinto this settings instance, or if it already exists it replaces it. - put(String, boolean) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Binds the specified value to the specified key
- put(String, Number) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Binds the specified value to the specified key
- put(String, String) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Binds the specified value to the specified key
- putAll(String, DataObject) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Binds the specified
DataObjectto the specified key.
R
- RAW_CONFIG - Enum constant in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- RawConfig - Annotation Type in com.mrivanplays.annotationconfig.core.annotations
-
Annotation, which can be put on a
Fieldwith typeDataObjectin order to inject the raw configuration read. - read(Reader, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ValueReader
-
Should read the specified reader to a Map.
- ReflectionUtils - Class in com.mrivanplays.annotationconfig.core.utils
-
Utilities to help with reflection stuff
- ReflectionUtils.PrimitiveNameTypes - Enum in com.mrivanplays.annotationconfig.core.utils
- register(Class<T>, AnnotationValidator<T>) - Method in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
- registerPlaceholder(String, String) - Method in enum com.mrivanplays.annotationconfig.core.resolver.CommentPlaceholderRegistry
-
Register a placeholder.
- registerSerializer(Class<T>, FieldTypeSerializer<T>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Registers a new serializer.
- registerSerializer(Type, FieldTypeSerializer<?>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Registers a new serializer.
- registerSimpleSerializer(Class<T>, Function<DataObject, T>, Function<T, DataObject>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Register a new
FieldTypeSerializerwhich can resolve data without aSerializationContextand aAnnotationAccessor - registerSimpleValueDeserializer(Class<T>, Function<DataObject, T>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Registers a new
FieldTypeSerializerwith only a deserialize method which can resolve without aSerializationContextand aAnnotationAccessor.
How is the serialize method handled? If there is a registered serializer for thisserializedType, then the method will forward serialize calls to it, otherwise serialize calls are forwarded to the default serializer. - registerSimpleValueSerializer(Class<T>, Function<T, DataObject>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Registers a new
FieldTypeSerializerwith only a serialize method which can resolve without aSerializationContextand aAnnotationAccessor.
How is the deserialize method handled? If there is a registered serializer for thsserializedType, then the method will forward deserialize calls to it, otherwise deserialize calls are forwarded to the default serializer. - remove(String) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
-
Removes the value of the specified key.
- resolveAnnotations(Object, boolean, boolean) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
- resolveMultiple(File, Supplier<T>, WritableObject) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- resolveMultiple(File, Supplier<T>, WritableObject) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the configurations in the
Filedirspecified, and if any do not exist, the defaults (if specified) are dumped to the specifiedWritableObjectdumpFile. - resolveMultiple(File, Supplier<T>, WritableObject, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- resolveMultiple(File, Supplier<T>, WritableObject, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the configurations in the
Filedirspecified, and if any do not exist, the defaults (if specified) are dumped to the specifiedWritableObjectdumpFile. - resolveMultiple(Path, Supplier<T>, WritableObject) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- resolveMultiple(Path, Supplier<T>, WritableObject) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the configurations in the
Pathdirspecified, and if any do not exist, the defaults (if specified) are dumped to the specifiedWritableObjectdumpFile. - resolveMultiple(Path, Supplier<T>, WritableObject, Settings) - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- resolveMultiple(Path, Supplier<T>, WritableObject, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Loads the configurations in the
Pathdirspecified, and if any do not exist, the defaults (if specified) are dumped to the specifiedWritableObjectdumpFile. - resolveToPrimitiveType(Object) - Method in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
S
- SerializationContext<T> - Class in com.mrivanplays.annotationconfig.core.serialization
-
Represents a serialization context.
- serialize(E, SerializationContext<E>, AnnotationAccessor) - Method in class com.mrivanplays.annotationconfig.core.serialization.AdvancedEnumSerializer
-
AnnotationConfig invokes this call-back method during serialization when it encounters a field of the specified type.
- serialize(T, SerializationContext<T>, AnnotationAccessor) - Method in interface com.mrivanplays.annotationconfig.core.serialization.FieldTypeSerializer
-
AnnotationConfig invokes this call-back method during serialization when it encounters a field of the specified type.
- serialize(T, Class<? extends T>, Object) - Static method in class com.mrivanplays.annotationconfig.core.serialization.SimpleValueSerializer
- serializeAsFunction() - Method in interface com.mrivanplays.annotationconfig.core.serialization.FieldTypeSerializer
- SerializerRegistry - Enum in com.mrivanplays.annotationconfig.core.serialization
-
Represents a registry of all the serializers.
- SET_NULL - Enum constant in enum com.mrivanplays.annotationconfig.core.resolver.settings.NullReadHandleOption
-
If this constant is set, it tells the resolver that if we get a null value it will bind it to the
Field, which is representing that value. - setFields(Object, Map<String, Object>, Map<AnnotationHolder, Set<AnnotationType>>, NullReadHandleOption, Settings, KeyResolver, boolean, boolean) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
- Setting<T> - Interface in com.mrivanplays.annotationconfig.core.resolver.settings
-
Represents a modifiable setting.
- settings() - Method in class com.mrivanplays.annotationconfig.core.internal.ConfigResolverImpl
- settings() - Method in interface com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
-
Returns the
Settingsinstance held by this config resolver. - Settings - Class in com.mrivanplays.annotationconfig.core.resolver.settings
-
Represents a
Settingholder. - Settings() - Constructor for class com.mrivanplays.annotationconfig.core.resolver.settings.Settings
- SHORT - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- SHOULD_REVERSE_FIELDS - Static variable in class com.mrivanplays.annotationconfig.core.resolver.settings.ACDefaultSettings
- shouldFailSilently() - Method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns whether to fail silently, which marks this validation response is not successful.
- shouldReverseFields(boolean) - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Deprecated.
- SILENT_FAIL - Static variable in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns a failure validation response, which is going to cancel field set silently.
- SimpleValueSerializer - Class in com.mrivanplays.annotationconfig.core.serialization
-
Represents a utility class to help you call AnnotationConfig's default serializer for stuff which do not need a custom serializer in a custom serializer of some kind.
- STRING - Enum constant in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
- success() - Static method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns successful validation response.
- success(Runnable) - Static method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns a successful validation response.
- SUCCESS - Static variable in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns successful validation response.
T
- throwError() - Method in interface com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
-
Returns a
Throwableto throw, which marks this validation response is not successful. - toString() - Method in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
- toString() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- toString() - Method in class com.mrivanplays.annotationconfig.core.resolver.MultilineString
- toString() - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObject
- TriFunction<A,
B, C, R> - Interface in com.mrivanplays.annotationconfig.core.utils -
Represents a function, taking 3 inputs and receiving a return value.
- type() - Method in interface com.mrivanplays.annotationconfig.core.resolver.settings.Setting
-
Returns the
Classtype this setting shall hold. - TypeToken<T> - Class in com.mrivanplays.annotationconfig.core.utils
-
Represents a helper of capturing types of
Listsor other generics for ease of registration inSerializerRegistry - TypeToken() - Constructor for class com.mrivanplays.annotationconfig.core.utils.TypeToken
U
- unbox(String, Map<String, Object>) - Method in class com.mrivanplays.annotationconfig.core.resolver.key.DottedResolver
-
AnnotationConfig calls this method whenever it needs the value of the specified
key. - unbox(String, Map<String, Object>) - Method in interface com.mrivanplays.annotationconfig.core.resolver.key.KeyResolver
-
AnnotationConfig calls this method whenever it needs the value of the specified
key. - unregister(Class<? extends Annotation>) - Method in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
-
Removes the bound to the specified
annotationAnnotationValidatorif there is any. - unregisterSerializer(Class<?>) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Unregisters the serializer of the specified serialized type
- unregisterSerializer(Type) - Method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Unregisters the serializer of the specified serialized type
- USE_DEFAULT_VALUE - Enum constant in enum com.mrivanplays.annotationconfig.core.resolver.settings.NullReadHandleOption
-
If this constant is set, it tells the resolver that if we get a null value it will skip binding it to the
Field, which is representing that value, which in tern means that it will return the default value.
V
- validate(T, Object, Settings, Field) - Method in interface com.mrivanplays.annotationconfig.core.annotations.custom.AnnotationValidator
-
AnnotationConfig calls this method whenever it finds the custom annotation this validator is bound to in order to determine whether the inputted
valueis valid for the custom annotation with which the inputtedFieldfieldwas annotated. - ValidationResponse - Interface in com.mrivanplays.annotationconfig.core.annotations.custom
-
Represents a response of a custom annotation value validation.
- value() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.comment.Comment
-
The comment you want to specify.
- value() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.comment.Comments
- value() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Key
-
Key value
- value() - Element in annotation type com.mrivanplays.annotationconfig.core.annotations.Multiline
-
The character to dump which indicates a multiline
String. - valueOf(String) - Static method in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mrivanplays.annotationconfig.core.resolver.CommentPlaceholderRegistry
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mrivanplays.annotationconfig.core.resolver.settings.NullReadHandleOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
-
Returns the enum constant of this type with the specified name.
- ValueReader - Interface in com.mrivanplays.annotationconfig.core.resolver
- values() - Static method in enum com.mrivanplays.annotationconfig.core.annotations.custom.CustomAnnotationRegistry
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.mrivanplays.annotationconfig.core.annotations.type.AnnotationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.mrivanplays.annotationconfig.core.resolver.CommentPlaceholderRegistry
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.mrivanplays.annotationconfig.core.resolver.settings.NullReadHandleOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.mrivanplays.annotationconfig.core.serialization.SerializerRegistry
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.mrivanplays.annotationconfig.core.utils.ReflectionUtils.PrimitiveNameTypes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueWriter - Interface in com.mrivanplays.annotationconfig.core.resolver
-
Represents a value writer.
W
- with(String, boolean) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Binds the specified
valueto the specifiedkey - with(String, DataObject) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Binds the specified
DataObjectto the specifiedkey. - with(String, DataObjectBuilder) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
- with(String, Number) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Binds the specified
valueto the specifiedkey - with(String, String) - Method in class com.mrivanplays.annotationconfig.core.serialization.DataObjectBuilder
-
Binds the specified
valueto the specifiedkey - withCommentPrefix(String) - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Sets the comment prefix for the config type you want to generate configs.
- withFileExtension(String) - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Sets a file extension for the config type you want to generate configs for.
- withKeyResolver(KeyResolver) - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Sets the
KeyResolverfor the config type you want to generate configs. - withSetting(Setting<T>, T) - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
- withValueReader(ValueReader) - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Sets the value reader for the config type you want to generate configs.
- withValueWriter(ValueWriter) - Method in class com.mrivanplays.annotationconfig.core.resolver.ConfigResolver.Builder
-
Sets a
ValueWriterfor the config type you want to generate configs. - WritableObject - Interface in com.mrivanplays.annotationconfig.core.resolver
-
Represents a writable holder.
- write(Map<String, Object>, Map<String, List<String>>, PrintWriter, Settings) - Method in interface com.mrivanplays.annotationconfig.core.resolver.ValueWriter
-
AnnotationConfig calls this method in order to write the specified
valueswith the specifiedfieldCommentsto the specifiedPrintWriterwriter. - writer() - Method in interface com.mrivanplays.annotationconfig.core.resolver.WritableObject
-
Returns a
PrintWriterobject, which suits AnnotationConfig's needs. - writeValue(Object) - Method in interface com.mrivanplays.annotationconfig.core.annotations.custom.AnnotationValidator
-
AnnotationConfig calls this method whenever it finds the custom annotation this validator is bound to in order to write the
valueto a config.
All Classes and Interfaces|All Packages
ConfigResolver.Builder.withSetting(Setting, Object)with theACDefaultSettings.SHOULD_REVERSE_FIELDSseting.