A C D F G I K L M P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AnnotatedConfigResolver - Class in com.mrivanplays.annotationconfig.core.internal
- AnnotatedConfigResolver() - Constructor for class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
- AnnotatedConfigResolver.ValueWriter - Interface in com.mrivanplays.annotationconfig.core.internal
- AnnotationHolder - Class in com.mrivanplays.annotationconfig.core.internal
- AnnotationHolder() - Constructor for class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- AnnotationHolder(Field, int) - Constructor for class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- AnnotationResolverContext(Class<?>, Field, Object, Object, String, boolean) - Constructor for class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolverContext
- AnnotationType - Class in com.mrivanplays.annotationconfig.core
-
Represents an annotation type, holding utility methods for the held raw annotation type.
- AnnotationType(Class<? extends Annotation>) - Constructor for class com.mrivanplays.annotationconfig.core.AnnotationType
- AnnotationWriter() - Constructor for class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter
- append(char) - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter
-
Appends the typed character.
- APPEND - com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter.WriteFunction
C
- com.mrivanplays.annotationconfig.core - package com.mrivanplays.annotationconfig.core
- com.mrivanplays.annotationconfig.core.internal - package com.mrivanplays.annotationconfig.core.internal
- Comment - Annotation Type in com.mrivanplays.annotationconfig.core
-
Annotation, telling the config writer to write a comment with the specified value.
- COMMENT - Static variable in class com.mrivanplays.annotationconfig.core.AnnotationType
- Comments - Annotation Type in com.mrivanplays.annotationconfig.core
-
Annotation, representing the outcome of a repeated
Comment
annotation. - COMMENTS - Static variable in class com.mrivanplays.annotationconfig.core.AnnotationType
- compareTo(AnnotationHolder) - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- CONFIG_OBJECT - Static variable in class com.mrivanplays.annotationconfig.core.AnnotationType
- ConfigObject - Annotation Type in com.mrivanplays.annotationconfig.core
-
Annotation, representing that the annotated field should be treated as a config object/section.
- CustomAnnotationRegistry - Class in com.mrivanplays.annotationconfig.core
-
Represents annotation registry for custom annotations.
- CustomAnnotationRegistry() - Constructor for class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry
- CustomAnnotationRegistry.AnnotationResolver<T extends Annotation> - Interface in com.mrivanplays.annotationconfig.core
-
Represents annotation resolver, responsible for........
- CustomAnnotationRegistry.AnnotationResolverContext - Class in com.mrivanplays.annotationconfig.core
-
Represents a
CustomAnnotationRegistry.AnnotationResolver
context. - CustomAnnotationRegistry.AnnotationWriter - Class in com.mrivanplays.annotationconfig.core
-
Represents a wrapped writer.
- CustomAnnotationRegistry.AnnotationWriter.WriteFunction - Enum in com.mrivanplays.annotationconfig.core
D
- dump(Object, List<Map.Entry<AnnotationHolder, List<AnnotationType>>>, File, String, AnnotatedConfigResolver.ValueWriter, CustomAnnotationRegistry, Class<?>, boolean) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
F
- FieldTypeResolver - Interface in com.mrivanplays.annotationconfig.core
-
Represents a field type resolver.
G
- getAnnotatedConfig() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolverContext
-
Returns the annotated config, holder of the field.
- getAnnotationRegistry() - Static method in class com.mrivanplays.annotationconfig.core.PropertyConfig
-
Returns the
CustomAnnotationRegistry
for this config. - getConfigType() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolverContext
-
Returns the config type, which triggered the write method.
- getDefaultsToValue() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolverContext
-
Returns the defaults value.
- getField() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolverContext
-
Returns the field, holder of the written annotation.
- getField() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- getFieldOrder() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- getKeyName() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolverContext
-
Returns the preferred name of the field for configuration use.
- getRawType() - Method in class com.mrivanplays.annotationconfig.core.AnnotationType
-
Returns the raw type held by this annotation type.
I
- is(AnnotationType) - Method in class com.mrivanplays.annotationconfig.core.AnnotationType
- is(Class<? extends Annotation>) - Method in class com.mrivanplays.annotationconfig.core.AnnotationType
-
Returns whether or not the specified raw annotation type exactly matches the held raw annotation type in this instance.
- isClass() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- isCustom(AnnotationType) - Static method in class com.mrivanplays.annotationconfig.core.AnnotationType
-
Returns whether or not the annotation type specified is custom.
- isPartOfConfigObject() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolverContext
-
Returns whether or not the field is a part of config object, and the
CustomAnnotationRegistry.AnnotationResolverContext.getAnnotatedConfig()
is a config object.
K
- Key - Annotation Type in com.mrivanplays.annotationconfig.core
-
Annotation, representing the config key for the field the annotation is called on.
- KEY - Static variable in class com.mrivanplays.annotationconfig.core.AnnotationType
L
- load(Object, File) - Static method in class com.mrivanplays.annotationconfig.core.PropertyConfig
-
Loads the config object from the file.
M
- match(Class<? extends Annotation>) - Static method in class com.mrivanplays.annotationconfig.core.AnnotationType
-
Tries to match the annotation raw type to the built in annotation types.
- match(Class<? extends Annotation>, CustomAnnotationRegistry) - Static method in class com.mrivanplays.annotationconfig.core.AnnotationType
-
Tries to match the annotation raw type to the annotation types in the
CustomAnnotationRegistry
and the built in annotation types.
P
- PropertyConfig - Class in com.mrivanplays.annotationconfig.core
-
Represents configuration, utilising .conf/.properties configuration type.
- PropertyConfig() - Constructor for class com.mrivanplays.annotationconfig.core.PropertyConfig
R
- register(Class<T>, CustomAnnotationRegistry.AnnotationResolver<T>) - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry
-
Registers a new annotation type.
- registry() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry
-
Deprecated.internal use only
- resolveAnnotations(Object, CustomAnnotationRegistry, boolean) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
S
- setFields(Object, Map<String, Object>, List<Map.Entry<AnnotationHolder, List<AnnotationType>>>, CustomAnnotationRegistry, String, AnnotatedConfigResolver.ValueWriter, File, boolean, boolean, Class<?>) - Static method in class com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver
- shouldResolve(Class<?>) - Method in interface com.mrivanplays.annotationconfig.core.FieldTypeResolver
-
AnnotationConfig will call this method before calling
FieldTypeResolver.toType(Object, Field)
in order to see if it should proceed processing the value convertion.
T
- toString() - Method in class com.mrivanplays.annotationconfig.core.AnnotationType
- toString() - Method in class com.mrivanplays.annotationconfig.core.internal.AnnotationHolder
- toType(Object, Field) - Method in interface com.mrivanplays.annotationconfig.core.FieldTypeResolver
-
AnnotationConfig will call this method whenever it is setting a config object's field, if a field type resolver was specified on the field.
- toWrite() - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter
-
Deprecated.internal use only
- TYPE_RESOLVER - Static variable in class com.mrivanplays.annotationconfig.core.AnnotationType
- typeResolver() - Method in interface com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolver
-
Called when it is being read from the config, should return a
Supplier
of the annotation'sFieldTypeResolver
. - TypeResolver - Annotation Type in com.mrivanplays.annotationconfig.core
-
Annotation, representing a custom (non-primitive) type of the field it was annotated on.
V
- value() - Method in annotation type com.mrivanplays.annotationconfig.core.Comment
-
The comment you want to specify.
- value() - Method in annotation type com.mrivanplays.annotationconfig.core.Comments
- value() - Method in annotation type com.mrivanplays.annotationconfig.core.Key
-
Key value
- value() - Method in annotation type com.mrivanplays.annotationconfig.core.TypeResolver
-
Class value of the
FieldTypeResolver
- valueOf(String) - Static method in enum com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter.WriteFunction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter.WriteFunction
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(char) - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter
-
Writes a single character.
- write(char[]) - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter
-
Writes a character array.
- write(CustomAnnotationRegistry.AnnotationWriter, T, CustomAnnotationRegistry.AnnotationResolverContext) - Method in interface com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationResolver
-
Called when a brand new config is being generated, should write the custom annotation's values to the writer with the desired syntax of the config type.
- write(Object) - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter
-
Writes a object.
- write(String) - Method in class com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter
-
Writes a string.
- write(String, Object, PrintWriter) - Method in interface com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver.ValueWriter
- WRITE - com.mrivanplays.annotationconfig.core.CustomAnnotationRegistry.AnnotationWriter.WriteFunction
- writeCustom(Object, PrintWriter, String) - Method in interface com.mrivanplays.annotationconfig.core.internal.AnnotatedConfigResolver.ValueWriter
All Classes All Packages