Index
All Classes and Interfaces|All Packages
C
- Comment - Annotation Type in me.hsgamer.hscore.config.annotation
-
Comment annotation for
ConfigPath - ConfigPath - Annotation Type in me.hsgamer.hscore.config.annotation
-
The main annotation to set the config path
- convert(Object) - Method in interface me.hsgamer.hscore.config.annotation.converter.Converter
-
Convert the raw value from the config file to the final value for the field
- convert(Object) - Method in class me.hsgamer.hscore.config.annotation.converter.DefaultConverter
- convert(Object) - Method in class me.hsgamer.hscore.config.annotation.converter.PrimitiveConverter
- convert(Object) - Method in class me.hsgamer.hscore.config.annotation.converter.SimpleConverter
- converter() - Element in annotation type me.hsgamer.hscore.config.annotation.ConfigPath
-
Get the converter
- Converter - Interface in me.hsgamer.hscore.config.annotation.converter
-
The converter for
ConfigPathto convert the object to the raw value stored in the config and vice versa - convertToRaw(Object) - Method in interface me.hsgamer.hscore.config.annotation.converter.Converter
-
Convert the final value from the field to the raw value for the config file
- convertToRaw(Object) - Method in class me.hsgamer.hscore.config.annotation.converter.DefaultConverter
- convertToRaw(Object) - Method in class me.hsgamer.hscore.config.annotation.converter.PrimitiveConverter
- convertToRaw(Object) - Method in class me.hsgamer.hscore.config.annotation.converter.SimpleConverter
- createConverterSafe(Class<? extends Converter>) - Static method in interface me.hsgamer.hscore.config.annotation.converter.Converter
-
Create a new instance of the converter
D
- DefaultConverter - Class in me.hsgamer.hscore.config.annotation.converter
-
The default
Converter, which does nothing, so the raw value and the final value are the same type - DefaultConverter() - Constructor for class me.hsgamer.hscore.config.annotation.converter.DefaultConverter
- DefaultConverterManager - Class in me.hsgamer.hscore.config.annotation.converter.manager
-
A manager to specify a default
Converterfor a type class
G
- getConverter(Class<?>) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
-
Get the converter for the type class
- getConverterIfDefault(Class<?>, Class<? extends Converter>) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
-
Get the converter for the type class if the given converter is the default one
- getConverterIfDefault(Class<?>, Converter) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
-
Get the converter for the type class if the given converter is the default one
M
- me.hsgamer.hscore.config.annotation - package me.hsgamer.hscore.config.annotation
-
Contains the annotations to be used in modules that require configuration annotation
- me.hsgamer.hscore.config.annotation.converter - package me.hsgamer.hscore.config.annotation.converter
-
Contains some
Converterfor customConfigPath - me.hsgamer.hscore.config.annotation.converter.manager - package me.hsgamer.hscore.config.annotation.converter.manager
-
Contains the manager for
Converter
P
- PrimitiveConverter - Class in me.hsgamer.hscore.config.annotation.converter
-
A
Converterto convert primitive types - PrimitiveConverter(Class<?>) - Constructor for class me.hsgamer.hscore.config.annotation.converter.PrimitiveConverter
R
- registerConverter(Class<?>, Converter) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
-
Register the converter for the type class
S
- SimpleConverter - Class in me.hsgamer.hscore.config.annotation.converter
-
A simple
Converterthat use an operator to convert raw value to final value - SimpleConverter(UnaryOperator<Object>) - Constructor for class me.hsgamer.hscore.config.annotation.converter.SimpleConverter
-
Create a new converter
- StickyValue - Annotation Type in me.hsgamer.hscore.config.annotation
-
A marker annotation to mark a field or method as a sticky value
U
- unregisterConverter(Class<?>) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
-
Unregister the converter for the type class
V
- value() - Element in annotation type me.hsgamer.hscore.config.annotation.Comment
-
Get the comment
- value() - Element in annotation type me.hsgamer.hscore.config.annotation.ConfigPath
-
Get the config path
All Classes and Interfaces|All Packages