Index

C D G M P R S U V 
All Classes and Interfaces|All Packages

C

Comment - Annotation Interface in me.hsgamer.hscore.config.annotation
Comment annotation for ConfigPath
ConfigPath - Annotation Interface 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 interface me.hsgamer.hscore.config.annotation.ConfigPath
Get the converter
Converter - Interface in me.hsgamer.hscore.config.annotation.converter
The converter for ConfigPath to 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 Converter for a type

G

getConverter(Type) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
Get the converter for the type
getConverterIfDefault(Type, Class<? extends Converter>) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
Get the converter for the type if the given converter is the default one
getConverterIfDefault(Type, Converter) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
Get the converter for the type 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 Converter for custom ConfigPath
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 Converter to convert primitive types
PrimitiveConverter(Class<?>) - Constructor for class me.hsgamer.hscore.config.annotation.converter.PrimitiveConverter
 

R

registerConverter(Type, Converter) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
Register the converter for the type

S

SimpleConverter - Class in me.hsgamer.hscore.config.annotation.converter
A simple Converter that 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 Interface in me.hsgamer.hscore.config.annotation
A marker annotation to mark a field or method as a sticky value

U

unregisterConverter(Type) - Static method in class me.hsgamer.hscore.config.annotation.converter.manager.DefaultConverterManager
Unregister the converter for the type

V

value() - Element in annotation interface me.hsgamer.hscore.config.annotation.Comment
Get the comment
value() - Element in annotation interface me.hsgamer.hscore.config.annotation.ConfigPath
Get the config path
C D G M P R S U V 
All Classes and Interfaces|All Packages