Index

A B C D E F G H I J L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractConfigStructure - Interface in me.bristermitten.mittenlib.annotations.ast
The abstract shape of a config, before proper resolution
AbstractConfigStructure.Atomic - Record Class in me.bristermitten.mittenlib.annotations.ast
 
AbstractConfigStructure.Intersection - Record Class in me.bristermitten.mittenlib.annotations.ast
 
AbstractConfigStructure.Union - Record Class in me.bristermitten.mittenlib.annotations.ast
 
AbstractMessageFormatter - Class in me.bristermitten.mittenlib.lang.format
An abstract implementation of MessageFormatter that provides a default implementation of AbstractMessageFormatter.preFormat(String, OfflinePlayer).
AbstractMessageFormatter(Set<FormattingHook>) - Constructor for class me.bristermitten.mittenlib.lang.format.AbstractMessageFormatter
Create a new AbstractMessageFormatter with the given FormattingHooks.
AbstractMiniMessageFactory - Interface in me.bristermitten.mittenlib.lang.format
A factory for creating instances.
AccessorGenerator - Class in me.bristermitten.mittenlib.annotations.compile
Generates accessor methods for configuration classes.
AccessorGenerator(MethodNames, ConfigurationClassNameGenerator) - Constructor for class me.bristermitten.mittenlib.annotations.compile.AccessorGenerator
 
action() - Method in interface me.bristermitten.mittenlib.gui.spigot.ClickInputSpec
 
add(E) - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
add(LangMessage) - Method in class me.bristermitten.mittenlib.lang.LangMessage
 
addAll(Collection<? extends E>) - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
addAllArgsConstructor(RecordConstructorSpec, TypeSpec.Builder) - Static method in class me.bristermitten.mittenlib.codegen.record.RecordGenerator
 
addConfigModules(Set<Configuration<?>>) - Method in class me.bristermitten.mittenlib.MittenLib
 
addConfigModules(Configuration<?>...) - Method in class me.bristermitten.mittenlib.MittenLib
 
addDefaultModules() - Method in class me.bristermitten.mittenlib.MittenLib
 
addFactoryMethod(RecordConstructorSpec, ClassName, TypeSpec.Builder) - Static method in class me.bristermitten.mittenlib.codegen.record.RecordGenerator
 
addFieldAndGetter(RecordConstructorSpec.RecordFieldSpec, TypeSpec.Builder) - Static method in class me.bristermitten.mittenlib.codegen.record.RecordGenerator
 
addModule(Module) - Method in class me.bristermitten.mittenlib.MittenLib
 
addModules(Module...) - Method in class me.bristermitten.mittenlib.MittenLib
 
addType(Class<? extends FileType>) - Method in class me.bristermitten.mittenlib.files.FileTypes
Register a new FileType class
addWatcher(FileWatcher) - Method in class me.bristermitten.mittenlib.watcher.FileWatcherService
Add a watcher to the service.
addWithMethod(RecordConstructorSpec, RecordConstructorSpec.RecordFieldSpec, ClassName, TypeSpec.Builder) - Static method in class me.bristermitten.mittenlib.codegen.record.RecordGenerator
 
AdventureAudienceProvider - Class in me.bristermitten.mittenlib.lang
A provider for BukkitAudiences that uses the Plugin
alternatives() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns the value of the alternatives record component.
apply(A) - Method in interface me.bristermitten.mittenlib.util.lambda.PureFunction
Applies this pure function to the given argument.
apply(T) - Method in interface me.bristermitten.mittenlib.util.lambda.IOFunction
Apply the function, possibly throwing an exception.
apply(T) - Method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction
Apply the function, possibly throwing an exception.
apply(T, R1) - Method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction2
Apply the function, possibly throwing an exception.
applyCatching(T) - Method in interface me.bristermitten.mittenlib.util.lambda.IOFunction
Apply the function, catching any exceptions and wrapping them in a Result
applyCatching(T) - Method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction
Apply the function, catching any exceptions and wrapping them in a Result
applyCatching(T, R1) - Method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction2
Apply the function, catching any exceptions and wrapping them in a Result
ArgumentCondition<T> - Interface in me.bristermitten.mittenlib.commands.handlers
A condition that can be placed upon an argument of a given type.
ArgumentContext<T> - Interface in me.bristermitten.mittenlib.commands.handlers
Handles resolution of an argument to a value of type ArgumentContext.
array(DataTree...) - Static method in class me.bristermitten.mittenlib.config.tree.DataTree
 
asBiConsumer() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeBiConsumer
Turn this SafeBiConsumer into a BiConsumer that sneaky throws any exceptions.
asBiFunction() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction2
Turn this SafeFunction2 into a BiFunction that sneaky throws any exceptions.
asConsumer() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeConsumer
Turn this SafeConsumer into a Consumer that sneaky throws any exceptions.
asFunction() - Method in interface me.bristermitten.mittenlib.util.lambda.IOFunction
Turn this IOFunction into a Function that sneaky throws any exceptions.
asFunction() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction
Turn this SafeFunction into a Function that sneaky throws any exceptions.
asRunnable() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeRunnable
Turn this SafeRunnable into a Runnable that sneaky throws any exceptions.
asSupplier() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeSupplier
Turn this SafeSupplier into a Supplier that sneaky throws any exceptions.
ASTNode - Interface in me.bristermitten.mittenlib.annotations.ast
 
ASTParentReference - Record Class in me.bristermitten.mittenlib.annotations.ast
List of hierarchical names
ASTParentReference(ClassName, ASTParentReference) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.ASTParentReference
Creates an instance of a ASTParentReference record class.
ASTSettings - Interface in me.bristermitten.mittenlib.annotations.ast
 
ASTSettings.ConfigASTSettings - Record Class in me.bristermitten.mittenlib.annotations.ast
 
ASTSettings.PropertyASTSettings - Record Class in me.bristermitten.mittenlib.annotations.ast
 
ASTVerifier - Class in me.bristermitten.mittenlib.annotations.parser
Inspects the AST and sends errors/warnings for invalid setups
ASTVerifier(Types) - Constructor for class me.bristermitten.mittenlib.annotations.parser.ASTVerifier
 
Atomic(ClassName, ConfigTypeSource, ASTSettings.ConfigASTSettings, List<AbstractConfigStructure>, ASTParentReference, List<Property>) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Creates an instance of a Atomic record class.

B

batch(Command<Ctx, Msg>...) - Static method in interface me.bristermitten.mittenlib.gui.command.Command
 
BoilerplateGenerator - Class in me.bristermitten.mittenlib.codegen
 
BoilerplateGenerator() - Constructor for class me.bristermitten.mittenlib.codegen.BoilerplateGenerator
 
bool(boolean) - Static method in class me.bristermitten.mittenlib.config.tree.DataTree
 
build() - Method in class me.bristermitten.mittenlib.MittenLib
 

C

Cached<T> - Class in me.bristermitten.mittenlib.util
A Supplier which caches the value it supplies.
Cached(Supplier<T>) - Constructor for class me.bristermitten.mittenlib.util.Cached
Create a new Cached with the given supplier, lazily computing the value.
Cached(Supplier<T>, boolean) - Constructor for class me.bristermitten.mittenlib.util.Cached
Create a new Cached with the given supplier.
CachingConfigProvider<T> - Class in me.bristermitten.mittenlib.config.provider
A ConfigProvider which caches the config to avoid repeated file reads.
CachingConfigProvider(ConfigProvider<T>) - Constructor for class me.bristermitten.mittenlib.config.provider.CachingConfigProvider
Create a new CachingConfigProvider, lazily computing the config.
capitalize(String) - Static method in class me.bristermitten.mittenlib.util.Strings
Capitalize the first letter of a given String "" → "" "hello" → "Hello" "HEllo" → "HEllo"
CascadeToInnerClasses - Annotation Interface in me.bristermitten.mittenlib.config.generate
If an Annotation should also apply to inner / nested classes This is similar to Inherited but doesn't require a sub/superclass relation, which better suits the patterns often used in config DTO types.
CASE_INSENSITIVE - Enum constant in enum class me.bristermitten.mittenlib.config.EnumParsingSchemes
Requires the name to exactly match, but case insensitively
Cast - Class in me.bristermitten.mittenlib.util
Utility class for casting objects
ClassConfigTypeSource(TypeElement, Optional<TypeMirror>) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.ClassConfigTypeSource
Creates an instance of a ClassConfigTypeSource record class.
className() - Element in annotation interface me.bristermitten.mittenlib.config.Config
The class name of the generated class.
clear() - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
clear() - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
clearCache() - Method in class me.bristermitten.mittenlib.config.provider.CachingConfigProvider
 
clearCache() - Method in interface me.bristermitten.mittenlib.config.provider.ConfigProvider
Clear any and all cached config, if applicable.
clearCache() - Method in class me.bristermitten.mittenlib.config.provider.DelegatingConfigProvider
 
clearCache() - Method in class me.bristermitten.mittenlib.config.provider.FileWatchingConfigProvider
 
clearCache() - Method in class me.bristermitten.mittenlib.config.provider.ReadingConfigProvider
 
ClickInputSpec - Interface in me.bristermitten.mittenlib.gui.spigot
Input about a click event in a SpigotGUI.
close() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
close() - Static method in interface me.bristermitten.mittenlib.gui.spigot.command.SpigotCommand
A command that closes the inventory.
closeInventory() - Method in class me.bristermitten.mittenlib.gui.spigot.command.DefaultSpigotCommandContext
 
closeInventory() - Method in interface me.bristermitten.mittenlib.gui.spigot.command.SpigotCommandContext
Close the inventory of the player associated with this context.
closeSession(SessionID<Model, Msg, V, Viewer>) - Method in interface me.bristermitten.mittenlib.gui.manager.GUIManager
Closes a GUI session and cleans up resources.
closeSession(SessionID<Model, Msg, V, Viewer>) - Method in class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
 
CollectionsUtils - Class in me.bristermitten.mittenlib.config
Utility for deserializing collections using the MittenLib config system.
Command - Class in me.bristermitten.mittenlib.commands
A command Classes should extend this instead of BaseCommand.
Command<Ctx,Msg> - Interface in me.bristermitten.mittenlib.gui.command
A command is an object which performs some side effect and produces a message upon completion.
Command() - Constructor for class me.bristermitten.mittenlib.commands.Command
 
Command.PureCommand<Ctx,Msg> - Class in me.bristermitten.mittenlib.gui.command
 
CommandContext - Interface in me.bristermitten.mittenlib.gui.command
Marker for environments that a Command can run in, letting it access environment-specific data.
CommandManagerProvider - Class in me.bristermitten.mittenlib.commands
A provider for PaperCommandManager.
CommandsModule - Class in me.bristermitten.mittenlib.commands
A Guice module for registering commands.
CommandsModule() - Constructor for class me.bristermitten.mittenlib.commands.CommandsModule
 
compareTo(Version) - Method in class me.bristermitten.mittenlib.util.Version
 
CompositeType - Class in me.bristermitten.mittenlib.util
A ParameterizedType that can take a dynamic number of type arguments.
CompositeType(Class<?>, Class<?>...) - Constructor for class me.bristermitten.mittenlib.util.CompositeType
Creates a new CompositeType
CompoundLangMessage - Class in me.bristermitten.mittenlib.lang
A message that is composed of multiple LangMessages This allows LangMessages to be easily "concatenated", allowing for more complex messages to be created
CompoundLangMessage(List<LangMessage>) - Constructor for class me.bristermitten.mittenlib.lang.CompoundLangMessage
Create a new CompoundLangMessage
CompoundLangMessage(List<LangMessage>, LangMessage...) - Constructor for class me.bristermitten.mittenlib.lang.CompoundLangMessage
Create a new CompoundLangMessage, concatenating the 2 inputs.
CompoundLangMessage(LangMessage...) - Constructor for class me.bristermitten.mittenlib.lang.CompoundLangMessage
Create a new CompoundLangMessage
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
computeCatching(SafeSupplier<Result<T>>) - Static method in interface me.bristermitten.mittenlib.util.Result
Safely executes a SafeSupplier that returns another Result, wrapping the returned Result's value or any thrown exception in a Result
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
concat(Set<E>, Set<E>) - Static method in class me.bristermitten.mittenlib.collections.Sets
Deprecated.
concretePropertyClassName(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get the concrete property class name for a type mirror.
concretePropertyClassName(Property) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get the concrete property class name for a property.
config() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Returns the value of the config record component.
Config - Annotation Interface in me.bristermitten.mittenlib.config
Marks a type as a DTO type that will be processed by the annotation processor, if present.
ConfigASTSettings(NamingPattern, Source, Config, boolean) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Creates an instance of a ConfigASTSettings record class.
ConfigClassParser - Class in me.bristermitten.mittenlib.annotations.parser
 
ConfigClassParser(TypesUtil, ElementsFinder, ConfigNameCache) - Constructor for class me.bristermitten.mittenlib.annotations.parser.ConfigClassParser
 
ConfigDeserialisationException - Exception Class in me.bristermitten.mittenlib.config.exception
 
ConfigDeserialisationException() - Constructor for exception class me.bristermitten.mittenlib.config.exception.ConfigDeserialisationException
 
ConfigImplGenerator - Class in me.bristermitten.mittenlib.annotations.compile
 
ConfigImplGenerator(AccessorGenerator, DeserializationCodeGenerator, SerializationCodeGenerator, ToStringGenerator, EqualsHashCodeGenerator, ConfigurationClassNameGenerator, ConfigNameCache, MethodNames, TypesUtil) - Constructor for class me.bristermitten.mittenlib.annotations.compile.ConfigImplGenerator
 
ConfigInitializationStrategy - Interface in me.bristermitten.mittenlib.config.paths
Responsible for setting up access to a config file
ConfigLoadingErrors - Class in me.bristermitten.mittenlib.config.exception
 
ConfigLoadingErrors() - Constructor for class me.bristermitten.mittenlib.config.exception.ConfigLoadingErrors
 
ConfigMapLoader - Class in me.bristermitten.mittenlib.config
Used in generated code to help with the loading of config maps
ConfigModule - Class in me.bristermitten.mittenlib.config
Guice module for config handling
ConfigModule(Set<Configuration<?>>) - Constructor for class me.bristermitten.mittenlib.config.ConfigModule
Create a new ConfigModule
configName() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Returns the value of the configName record component.
ConfigName - Annotation Interface in me.bristermitten.mittenlib.config.names
Marks an expected name for a field in a config file.
ConfigNameCache - Class in me.bristermitten.mittenlib.annotations.compile
A cache for AbstractConfigStructure objects indexed by their class names.
ConfigNameCache() - Constructor for class me.bristermitten.mittenlib.annotations.compile.ConfigNameCache
 
ConfigPathResolver - Interface in me.bristermitten.mittenlib.config.paths
Responsible for turning simple file names into Paths
ConfigProcessingException - Exception Class in me.bristermitten.mittenlib.annotations.exception
General exception thrown when the config annotation processor fails
ConfigProcessingException(String, Throwable) - Constructor for exception class me.bristermitten.mittenlib.annotations.exception.ConfigProcessingException
Create a new ConfigProcessingException with the given message and cause
ConfigProcessor - Class in me.bristermitten.mittenlib.annotations.config
Annotation processor for generating configuration classes from DTO classes marked with Config.
ConfigProcessor() - Constructor for class me.bristermitten.mittenlib.annotations.config.ConfigProcessor
Public constructor for the compiler
ConfigProcessorModule - Class in me.bristermitten.mittenlib.annotations.compile
Guice module for the configuration annotation processor.
ConfigProcessorModule(ProcessingEnvironment) - Constructor for class me.bristermitten.mittenlib.annotations.compile.ConfigProcessorModule
Creates a new ConfigProcessorModule with the given processing environment.
ConfigProvider<T> - Interface in me.bristermitten.mittenlib.config.provider
A Provider for a config type ConfigProvider, optionally specifying a Path representing the config file.
ConfigProviderFactory - Interface in me.bristermitten.mittenlib.config.provider.construct
ConfigProviderImprover - Interface in me.bristermitten.mittenlib.config.provider.construct
Improves a ConfigProvider by wrapping it with (possible) extra functionality.
ConfigReader - Class in me.bristermitten.mittenlib.config.reader
Responsible for both reading and mapping data, delegating to ObjectLoaders and ObjectMappers
ConfigTypeSource - Interface in me.bristermitten.mittenlib.annotations.ast
Where a config came from (its declaring class/interface annotated with @Config)
ConfigTypeSource.ClassConfigTypeSource - Record Class in me.bristermitten.mittenlib.annotations.ast
 
ConfigTypeSource.InterfaceConfigTypeSource - Record Class in me.bristermitten.mittenlib.annotations.ast
 
ConfigUnion - Annotation Interface in me.bristermitten.mittenlib.config
Denotes a type as the root of a union
Configuration<T> - Class in me.bristermitten.mittenlib.config
Represents a loadable configuration which will deserialize to an object of type Configuration
Configuration(String, Class<T>, DeserializationFunction<T>) - Constructor for class me.bristermitten.mittenlib.config.Configuration
Create a new Configuration
Configuration(String, Class<T>, DeserializationFunction<T>, SerializationFunction<T>) - Constructor for class me.bristermitten.mittenlib.config.Configuration
Create a new Configuration
ConfigurationClassNameGenerator - Class in me.bristermitten.mittenlib.annotations.compile
Responsible for generating proper class names for configuration classes.
configure() - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigProcessorModule
Configures the Guice bindings for this module.
configure() - Method in class me.bristermitten.mittenlib.commands.CommandsModule
 
configure() - Method in class me.bristermitten.mittenlib.config.ConfigModule
 
configure() - Method in class me.bristermitten.mittenlib.config.PluginConfigModule
 
configure() - Method in class me.bristermitten.mittenlib.files.FileTypeModule
 
configure() - Method in class me.bristermitten.mittenlib.gui.GUIModule
 
configure() - Method in class me.bristermitten.mittenlib.lang.format.hook.HookModule
 
configure() - Method in class me.bristermitten.mittenlib.lang.LangModule
 
configure() - Method in class me.bristermitten.mittenlib.ListenersModule
 
configure() - Method in class me.bristermitten.mittenlib.minimessage.MiniMessageModule
 
configure() - Method in class me.bristermitten.mittenlib.MittenLibCoreModule
 
configure() - Method in class me.bristermitten.mittenlib.papi.PAPIModule
 
configure() - Method in class me.bristermitten.mittenlib.watcher.FileWatcherModule
 
ConfigVerificationErrors - Class in me.bristermitten.mittenlib.annotations.parser
 
ConfigVerificationErrors() - Constructor for class me.bristermitten.mittenlib.annotations.parser.ConfigVerificationErrors
 
constant(R) - Static method in class me.bristermitten.mittenlib.util.lambda.Functions
A function that always returns the same value, ignoring the input
constant(R) - Static method in interface me.bristermitten.mittenlib.util.lambda.IOFunction
A IOFunction that always returns the same value, ignoring the input.
constant(R) - Static method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction
A SafeFunction that always returns the same value, ignoring the input.
constructor() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordSpec
Returns the value of the constructor record component.
constructor() - Method in interface me.bristermitten.mittenlib.codegen.record.RecordSpecLike
 
constructor() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionConstructor
Returns the value of the constructor record component.
constructors() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Returns the value of the constructors record component.
constructors() - Method in record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Returns the value of the constructors record component.
consume(T) - Method in interface me.bristermitten.mittenlib.util.lambda.SafeConsumer
Consume the input, possibly throwing an exception.
consume(T, T2) - Method in interface me.bristermitten.mittenlib.util.lambda.SafeBiConsumer
Consume the input, possibly throwing an exception.
create(int, String) - Static method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
create(Gson, TypeToken<T>) - Method in class me.bristermitten.mittenlib.config.tree.DataTreeTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class me.bristermitten.mittenlib.lang.LangMessageTypeAdapterFactory
 
create(OfflinePlayer) - Method in interface me.bristermitten.mittenlib.lang.format.AbstractMiniMessageFactory
Create a MiniMessage instance for a player.
create(OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.DefaultMiniMessageFactory
Create a MiniMessage instance for a player.
createButton(ItemStack, Command) - Method in interface me.bristermitten.mittenlib.gui.factory.MinecraftGUIFactory
Creates a new InventoryButton with the specified item and command.
createButton(ItemStack, Command) - Method in class me.bristermitten.mittenlib.gui.factory.SpigotMinecraftGUIFactory
 
createButton(ItemStack, Command, String) - Method in interface me.bristermitten.mittenlib.gui.factory.MinecraftGUIFactory
Creates a new InventoryButton with the specified item, command, and display name.
createButton(ItemStack, Command, String) - Method in class me.bristermitten.mittenlib.gui.factory.SpigotMinecraftGUIFactory
 
createDeserializeMethodFor(TypeElement, AbstractConfigStructure, Property, ClassName) - Method in class me.bristermitten.mittenlib.annotations.compile.DeserializationCodeGenerator
Creates a deserialization method for a specific field in a DTO class.
createDeserializeMethods(TypeSpec.Builder, AbstractConfigStructure, ClassName) - Method in class me.bristermitten.mittenlib.annotations.compile.DeserializationCodeGenerator
Creates the main deserialization method for a config class.
createGetterMethod(TypeSpec.Builder, VariableElement, FieldSpec) - Method in class me.bristermitten.mittenlib.annotations.compile.AccessorGenerator
Creates a getter method for a field.
createGetterMethodOverriding(TypeSpec.Builder, ExecutableElement, FieldSpec) - Method in class me.bristermitten.mittenlib.annotations.compile.AccessorGenerator
Creates a getter method that overrides an existing method.
createLangMessage() - Method in class me.bristermitten.mittenlib.lang.LangMessageBuilder
 
createProvider(Configuration<T>) - Method in interface me.bristermitten.mittenlib.config.provider.construct.ConfigProviderFactory
Creates the simplest ConfigProvider possible for the given Configuration.
createProvider(Configuration<T>) - Method in class me.bristermitten.mittenlib.config.provider.construct.SimpleConfigProviderFactory
 
createSerializeMethods(TypeSpec.Builder, AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.SerializationCodeGenerator
Creates serialization methods for a config class.
createSpigotView(int, String) - Method in interface me.bristermitten.mittenlib.gui.factory.MinecraftGUIFactory
Creates a new SpigotGUIView with the specified size and title.
createSpigotView(int, String) - Method in class me.bristermitten.mittenlib.gui.factory.SpigotMinecraftGUIFactory
 
createStringReaderProvider(String, Configuration<T>) - Method in interface me.bristermitten.mittenlib.config.provider.construct.ConfigProviderFactory
Deprecated.
This method makes use of SearchingObjectLoader, which cannot efficiently process Strings. Use ConfigProviderFactory.createStringReaderProvider(FileType, String, Configuration) instead to manually specify a file type
createStringReaderProvider(String, Configuration<T>) - Method in class me.bristermitten.mittenlib.config.provider.construct.SimpleConfigProviderFactory
 
createStringReaderProvider(FileType, String, Configuration<T>) - Method in interface me.bristermitten.mittenlib.config.provider.construct.ConfigProviderFactory
Creates a ConfigProvider that reads a given String for its data, rather than a file.
createStringReaderProvider(FileType, String, Configuration<T>) - Method in class me.bristermitten.mittenlib.config.provider.construct.SimpleConfigProviderFactory
 
createWithMethods(TypeSpec.Builder, AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.AccessorGenerator
Creates "with" methods (immutable setters) for each field.
curry(T) - Method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction2
Curry the first argument of this function, returning a SafeFunction that takes only the second argument.
cursor() - Method in interface me.bristermitten.mittenlib.gui.spigot.ClickInputSpec
 
CUSTOM_DESERIALIZER_INVALID_STATIC_METHOD_SIGNATURE - Static variable in class me.bristermitten.mittenlib.annotations.parser.ConfigVerificationErrors
 
CustomDeserializer<T> - Interface in me.bristermitten.mittenlib.config.extension
 
CustomDeserializerFor - Annotation Interface in me.bristermitten.mittenlib.config.extension
 
CustomDeserializerInfo - Record Class in me.bristermitten.mittenlib.annotations.ast
Information about a custom deserializer.
CustomDeserializerInfo(TypeElement, boolean, boolean, boolean) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Creates an instance of a CustomDeserializerInfo record class.
CustomDeserializers - Class in me.bristermitten.mittenlib.annotations.parser
 
CustomDeserializers() - Constructor for class me.bristermitten.mittenlib.annotations.parser.CustomDeserializers
 

D

DataTree - Class in me.bristermitten.mittenlib.config.tree
Like JsonElement but without a strict dependency on json
DataTree.DataTreeArray - Class in me.bristermitten.mittenlib.config.tree
 
DataTree.DataTreeLiteral - Class in me.bristermitten.mittenlib.config.tree
 
DataTree.DataTreeLiteral.DataTreeLiteralBoolean - Class in me.bristermitten.mittenlib.config.tree
 
DataTree.DataTreeLiteral.DataTreeLiteralFloat - Class in me.bristermitten.mittenlib.config.tree
 
DataTree.DataTreeLiteral.DataTreeLiteralInt - Class in me.bristermitten.mittenlib.config.tree
 
DataTree.DataTreeLiteral.DataTreeLiteralString - Class in me.bristermitten.mittenlib.config.tree
 
DataTree.DataTreeMap - Class in me.bristermitten.mittenlib.config.tree
 
DataTree.DataTreeNull - Class in me.bristermitten.mittenlib.config.tree
 
DataTreeArray(DataTree[]) - Constructor for class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeArray
 
dataTreeConvert(TypeName, TypeName, CodeBlock) - Method in class me.bristermitten.mittenlib.annotations.compile.DeserializationCodeGenerator
 
DataTreeLiteral() - Constructor for class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral
 
DataTreeLiteralBoolean(boolean) - Constructor for class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralBoolean
 
DataTreeLiteralFloat(double) - Constructor for class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralFloat
 
DataTreeLiteralInt(long) - Constructor for class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralInt
 
DataTreeLiteralString(String) - Constructor for class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralString
 
DataTreeMap(Map<DataTree, DataTree>) - Constructor for class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeMap
 
DataTreeTransforms - Class in me.bristermitten.mittenlib.config.tree
Utility class for transforming between DataTree and POJO representations.
DataTreeTransforms() - Constructor for class me.bristermitten.mittenlib.config.tree.DataTreeTransforms
 
DataTreeTypeAdapter - Class in me.bristermitten.mittenlib.config.tree
 
DataTreeTypeAdapterFactory - Class in me.bristermitten.mittenlib.config.tree
Factory for creating a TypeAdapter for DataTree objects.
DataTreeTypeAdapterFactory() - Constructor for class me.bristermitten.mittenlib.config.tree.DataTreeTypeAdapterFactory
 
DEFAULT - Enum constant in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
Match the field name
DefaultMiniMessageFactory - Class in me.bristermitten.mittenlib.lang.format
Default implementation of AbstractMiniMessageFactory.
DefaultMiniMessageFactory() - Constructor for class me.bristermitten.mittenlib.lang.format.DefaultMiniMessageFactory
 
DefaultSpigotCommandContext - Class in me.bristermitten.mittenlib.gui.spigot.command
 
DefaultSpigotCommandContext(Player) - Constructor for class me.bristermitten.mittenlib.gui.spigot.command.DefaultSpigotCommandContext
 
defaultTypes() - Static method in class me.bristermitten.mittenlib.files.FileTypes
Return a FileTypes containing the default FileTypes.
defaultValueProxyException(Class<?>, String) - Static method in class me.bristermitten.mittenlib.config.exception.ConfigLoadingErrors
 
DelegatingConfigProvider<T> - Class in me.bristermitten.mittenlib.config.provider
A ConfigProvider which delegates to another ConfigProvider, improving it with a ConfigProviderImprover
DelegatingConfigProvider(Configuration<T>) - Constructor for class me.bristermitten.mittenlib.config.provider.DelegatingConfigProvider
Create a new DelegatingConfigProvider
DemoCounterGUI - Class in me.bristermitten.mittenlib.demo
 
DemoCounterGUI(MinecraftGUIFactory) - Constructor for class me.bristermitten.mittenlib.demo.DemoCounterGUI
 
DemoPlugin - Class in me.bristermitten.mittenlib.demo
 
DemoPlugin() - Constructor for class me.bristermitten.mittenlib.demo.DemoPlugin
 
DeserializationCodeGenerator - Class in me.bristermitten.mittenlib.annotations.compile
Generates deserialization code for configuration classes.
DeserializationCodeGenerator(TypesUtil, FieldNameGenerator, ConfigurationClassNameGenerator, MethodNames, CustomDeserializers) - Constructor for class me.bristermitten.mittenlib.annotations.compile.DeserializationCodeGenerator
 
DeserializationContext - Class in me.bristermitten.mittenlib.config
Context for deserializing a config, making it easier to pass around
DeserializationContext(ObjectMapper, DataTree) - Constructor for class me.bristermitten.mittenlib.config.DeserializationContext
Create a new DeserializationContext
DeserializationFunction<T> - Interface in me.bristermitten.mittenlib.config
A function that deserializes a config, taking a DeserializationContext and returning a Result of type DeserializationFunction
DESERIALIZE_METHOD_PREFIX - Static variable in class me.bristermitten.mittenlib.annotations.compile.DeserializationCodeGenerator
The prefix for all generated deserialization methods.
deserializeList(Object, DeserializationContext, DeserializationFunction<T>) - Static method in class me.bristermitten.mittenlib.config.CollectionsUtils
Attempt to deserialize a list using the MittenLib config system.
deserializeMap(Class<K>, Object, DeserializationContext, DeserializationFunction<V>) - Static method in class me.bristermitten.mittenlib.config.CollectionsUtils
Attempt to deserialise a map using the MittenLib config system.
deserializerClass() - Method in record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Returns the value of the deserializerClass record component.
difference(Set<E>, Set<E>) - Static method in class me.bristermitten.mittenlib.collections.Sets
Return a new set containing the difference of 2 sets, i.e.
DTOReferenceException - Exception Class in me.bristermitten.mittenlib.annotations.exception
Thrown when a DTO class references an invalid type
DTOReferenceException(TypeMirror, GeneratedTypeCache, Class<?>, Element) - Constructor for exception class me.bristermitten.mittenlib.annotations.exception.DTOReferenceException
Create a new DTOReferenceException

E

element() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.ClassConfigTypeSource
Returns the value of the element record component.
element() - Method in interface me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource
 
element() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.InterfaceConfigTypeSource
Returns the value of the element record component.
element() - Method in interface me.bristermitten.mittenlib.annotations.ast.Property.PropertySource
 
element() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.FieldSource
Returns the value of the element record component.
element() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.MethodSource
Returns the value of the element record component.
ElementsFinder - Class in me.bristermitten.mittenlib.annotations.util
Helper class for working with Elements
emit(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigImplGenerator
Generates a JavaFile containing the implementation class for the given configuration structure.
empty() - Static method in class me.bristermitten.mittenlib.collections.Maps
 
empty(T) - Static method in class me.bristermitten.mittenlib.MittenLib
 
enclosed() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns the value of the enclosed record component.
enclosed() - Method in interface me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure
 
enclosed() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns the value of the enclosed record component.
enclosed() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
 
enclosedIn() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns the value of the enclosedIn record component.
enclosedIn() - Method in interface me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure
A reference to the class this config is enclosed in
enclosedIn() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns the value of the enclosedIn record component.
enclosedIn() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns the value of the enclosedIn record component.
entry(K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
ENUM_PARSING_SCHEME_NOT_ENUM - Static variable in class me.bristermitten.mittenlib.annotations.parser.ConfigVerificationErrors
 
enumParsingScheme() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Returns the value of the enumParsingScheme record component.
EnumParsingScheme - Annotation Interface in me.bristermitten.mittenlib.config
 
EnumParsingSchemes - Enum Class in me.bristermitten.mittenlib.config
 
Enums - Class in me.bristermitten.mittenlib.util
Utility class for enums
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTParentReference
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.ClassConfigTypeSource
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.InterfaceConfigTypeSource
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.Property
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.FieldSource
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.MethodSource
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec.RecordFieldSpec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.codegen.record.RecordGenerator.GeneratedRecord
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.codegen.record.RecordSpec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionConstructor
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeArray
 
equals(Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralBoolean
 
equals(Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralFloat
 
equals(Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralInt
 
equals(Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralString
 
equals(Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeMap
 
equals(Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeNull
 
equals(Object) - Method in class me.bristermitten.mittenlib.gui.session.SessionID
 
equals(Object) - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotInventoryViewer
 
equals(Object) - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
equals(Object) - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
equals(Object) - Method in class me.bristermitten.mittenlib.util.Unit
 
equals(Object) - Method in class me.bristermitten.mittenlib.util.Version
 
EqualsHashCodeGenerator - Class in me.bristermitten.mittenlib.annotations.compile
Generates equals and hashCode methods for configuration classes.
EqualsHashCodeGenerator(MethodNames) - Constructor for class me.bristermitten.mittenlib.annotations.compile.EqualsHashCodeGenerator
 
error() - Method in interface me.bristermitten.mittenlib.util.Result
If this Result is Result.Fail, returns the exception.
error() - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
error() - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
Errors - Class in me.bristermitten.mittenlib.util
Utility class for dealing with Throwables
EXACT_MATCH - Enum constant in enum class me.bristermitten.mittenlib.config.EnumParsingSchemes
Requires the name to exactly match
execCatching(SafeRunnable) - Static method in interface me.bristermitten.mittenlib.util.Result
Safely executes a SafeRunnable, ignoring the result and wrapping any thrown exception in a Result
ExtraTypeAdapter<T> - Class in me.bristermitten.mittenlib.files.json
A thin wrapper over a TypeAdapter that also stores the type it is for.
ExtraTypeAdapter() - Constructor for class me.bristermitten.mittenlib.files.json.ExtraTypeAdapter
 

F

fail(E) - Static method in interface me.bristermitten.mittenlib.util.Result
Create a Result from a given exception.
Fallback - Annotation Interface in me.bristermitten.mittenlib.config.extension
Marks a custom deserializer as a fallback deserializer.
FieldNameGenerator - Class in me.bristermitten.mittenlib.annotations.compile
Responsible for generating serial keys based on DTO fields
fields() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec
Returns the value of the fields record component.
FieldSource(VariableElement) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.FieldSource
Creates an instance of a FieldSource record class.
FileType - Interface in me.bristermitten.mittenlib.files
A specific type of file such as JSON or YAML which can be loaded into a Map-like data structure.
FileTypeModule - Class in me.bristermitten.mittenlib.files
Module handling registration of an ObjectMapper, FileTypes, and a Gson instance.
FileTypeModule() - Constructor for class me.bristermitten.mittenlib.files.FileTypeModule
Create a new FileTypeModule, using FileTypes.defaultTypes() and GsonObjectMapper
FileTypeModule(FileTypes, Class<? extends ObjectMapper>) - Constructor for class me.bristermitten.mittenlib.files.FileTypeModule
Create a new FileTypeModule, using a provided FileTypes and ObjectMapper class
FileTypes - Class in me.bristermitten.mittenlib.files
Stores all the known FileType classes, used for registration in the FileTypeModule
FileTypes(Set<Class<? extends FileType>>) - Constructor for class me.bristermitten.mittenlib.files.FileTypes
Create a new FileTypes instance
FileWatcher - Class in me.bristermitten.mittenlib.watcher
A watcher for a file.
FileWatcher(Path, Consumer<WatchEvent<Path>>) - Constructor for class me.bristermitten.mittenlib.watcher.FileWatcher
Create a new FileWatcher
FileWatcherException - Exception Class in me.bristermitten.mittenlib.watcher
Exception thrown when there is an error with file watching operations.
FileWatcherException(String) - Constructor for exception class me.bristermitten.mittenlib.watcher.FileWatcherException
Creates a new FileWatcherException with the specified message.
FileWatcherException(String, Throwable) - Constructor for exception class me.bristermitten.mittenlib.watcher.FileWatcherException
Creates a new FileWatcherException with the specified message and cause.
FileWatcherModule - Class in me.bristermitten.mittenlib.watcher
Sets up the FileWatcherService
FileWatcherModule() - Constructor for class me.bristermitten.mittenlib.watcher.FileWatcherModule
 
FileWatcherService - Class in me.bristermitten.mittenlib.watcher
Handles file watching operations.
FileWatchingConfigProvider<T> - Class in me.bristermitten.mittenlib.config.provider
A ConfigProvider that watches a file for changes, reloading the config when the file changes
FileWatchingConfigProvider(CachingConfigProvider<T>, FileWatcherService) - Constructor for class me.bristermitten.mittenlib.config.provider.FileWatchingConfigProvider
Create a new FileWatchingConfigProvider
flatMap(SafeFunction<T, Result<R>>) - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
flatMap(SafeFunction<T, Result<R>>) - Method in interface me.bristermitten.mittenlib.util.Result
Applies a function to the Result, passing through the exception if the Result is Result.Fail This allows the composition of Result-ful functions, making Result a monad (technically not a lawful monad because the function can throw exceptions)
flatMap(SafeFunction<T, Result<R>>) - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
flatMapException(Function<Exception, Result<T>>) - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
flatMapException(Function<Exception, Result<T>>) - Method in interface me.bristermitten.mittenlib.util.Result
Like Result.flatMap(SafeFunction), but handles the exception case with a function.
flatMapException(Function<Exception, Result<T>>) - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
flatMapPure(Function<T, Result<R>>) - Method in interface me.bristermitten.mittenlib.util.Result
Like Result.flatMap(SafeFunction), but the function cannot throw checked exceptions
floating(double) - Static method in class me.bristermitten.mittenlib.config.tree.DataTree
 
format(String, NamingPatterns) - Static method in class me.bristermitten.mittenlib.config.names.NamingPatternTransformer
Format a given input string into a different format based on a NamingPatterns
format(String, OfflinePlayer) - Method in interface me.bristermitten.mittenlib.lang.format.hook.FormattingHook
Format a String, returning the formatted String.
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.hook.HexColorFixerHook
 
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.hook.LegacyCodeUpdaterHook
 
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.hook.SimpleColorCodeHook
 
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.hook.SimpleFormattingHook
 
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.hook.StringReplacingHook
 
format(String, OfflinePlayer) - Method in interface me.bristermitten.mittenlib.lang.format.MessageFormatter
Completely format a String into a Component, applying all FormattingHooks to the String.
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.MiniMessageFormatter
 
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.SimpleMessageFormatter
 
format(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.hook.PAPIFormattingHook
 
FormattingHook - Interface in me.bristermitten.mittenlib.lang.format.hook
A hook for formatting a String.
Functions - Class in me.bristermitten.mittenlib.util.lambda
Utility class for dealing with Functions
Futures - Class in me.bristermitten.mittenlib.util
Utility class for working with Futures and CompletableFutures

G

genEquals(RecordConstructorSpec, ClassName) - Static method in class me.bristermitten.mittenlib.codegen.BoilerplateGenerator
 
generate(RecordSpec) - Method in class me.bristermitten.mittenlib.codegen.record.RecordGenerator
 
generate(UnionSpec) - Method in class me.bristermitten.mittenlib.codegen.union.UnionGenerator
 
generateBasicRecordTypeSpec(RecordSpecLike, boolean) - Static method in class me.bristermitten.mittenlib.codegen.record.RecordGenerator
 
generateConfigurationClassName(TypeElement) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Generates a ClassName for the actual generated configuration class from a given DTO, using the package of the given TypeElement.
GeneratedConfig - Annotation Interface in me.bristermitten.mittenlib.config
Marks a class as being generated from a config DTO.
GeneratedRecord - Annotation Interface in me.bristermitten.mittenlib.codegen
 
GeneratedRecord(ClassName, TypeSpec.Builder) - Constructor for record class me.bristermitten.mittenlib.codegen.record.RecordGenerator.GeneratedRecord
Creates an instance of a GeneratedRecord record class.
GeneratedTypeCache - Class in me.bristermitten.mittenlib.annotations.compile
This class should not be treated as a public API, and is subject to change at any time.
GeneratedTypeCache() - Constructor for class me.bristermitten.mittenlib.annotations.compile.GeneratedTypeCache
 
GeneratedUnion - Annotation Interface in me.bristermitten.mittenlib.codegen
 
generateEquals(ClassName, List<Property>) - Method in class me.bristermitten.mittenlib.annotations.compile.EqualsHashCodeGenerator
Generates an equals method for a configuration class.
generateHashCode(List<Property>) - Method in class me.bristermitten.mittenlib.annotations.compile.EqualsHashCodeGenerator
Generates a hashCode method for a configuration class.
generateToString() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Returns the value of the generateToString record component.
generateToString(List<Property>, ClassName) - Method in class me.bristermitten.mittenlib.annotations.compile.ToStringGenerator
Generates a toString method for a configuration class.
GenerateToString - Annotation Interface in me.bristermitten.mittenlib.config.generate
Instructs the annotation processor to generate a toString method for a generated config class.
GenericTypeSpec - Interface in me.bristermitten.mittenlib.codegen
 
genHashCode(RecordConstructorSpec) - Static method in class me.bristermitten.mittenlib.codegen.BoilerplateGenerator
 
genToString(RecordConstructorSpec, ClassName) - Static method in class me.bristermitten.mittenlib.codegen.BoilerplateGenerator
 
get() - Method in class me.bristermitten.mittenlib.commands.CommandManagerProvider
 
get() - Method in class me.bristermitten.mittenlib.config.provider.CachingConfigProvider
 
get() - Method in class me.bristermitten.mittenlib.config.provider.DelegatingConfigProvider
 
get() - Method in class me.bristermitten.mittenlib.config.provider.FileWatchingConfigProvider
 
get() - Method in class me.bristermitten.mittenlib.config.provider.ReadingConfigProvider
 
get() - Method in class me.bristermitten.mittenlib.config.provider.StringReadingConfigProvider
 
get() - Method in class me.bristermitten.mittenlib.files.json.GsonProvider
 
get() - Method in class me.bristermitten.mittenlib.lang.AdventureAudienceProvider
 
get() - Method in class me.bristermitten.mittenlib.util.Cached
Get the cached value, computing it if it is not already cached.
get() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeSupplier
Gets a result, possibly throwing an exception.
get() - Method in class me.bristermitten.mittenlib.watcher.WatchServiceProvider
 
get(String) - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeMap
 
get(String) - Method in class me.bristermitten.mittenlib.config.tree.DataTree
 
getActionBar() - Method in class me.bristermitten.mittenlib.lang.LangMessage
 
getActiveSessionCount() - Method in class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
Gets the number of active sessions.
getActualTypeArguments() - Method in class me.bristermitten.mittenlib.util.CompositeType
 
getAllMethods(TypeElement) - Method in class me.bristermitten.mittenlib.annotations.util.ElementsFinder
Get all the methods in a given TypeElement, including inherited ones.
getAnnotation(Element, Class<A>) - Method in class me.bristermitten.mittenlib.annotations.util.TypesUtil
Gets an Annotation present on an Element, if present.
getApplicableVariableElements(TypeElement) - Method in class me.bristermitten.mittenlib.annotations.util.ElementsFinder
Get all the VariableElements in a given TypeElement that should be included in the generated config class.
getB() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getBoxedType(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.util.TypesUtil
Get a boxed version of a given type, if it is a primitive.
getButton(int) - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
getButtons() - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
getByName(String) - Method in class me.bristermitten.mittenlib.annotations.compile.GeneratedTypeCache
Gets all the known DTO classes which generate a configuration class with the given qualified name
getC() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getCatching() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeSupplier
Get the result, catching any exceptions and wrapping them in a Result
getCommand() - Method in class me.bristermitten.mittenlib.gui.UpdateResult
 
getCompletionFuture() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
getComponents() - Method in class me.bristermitten.mittenlib.lang.CompoundLangMessage
Get the components of this message
getConcreteConfigClassName(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get the concrete class name for a config structure.
getConfigClassName(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get a suitable configuration class name for the given type mirror.
getConfigClassName(TypeMirror, Element) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get a suitable configuration class name for the given type mirror, performing edge case checks for primitives, unnamed packages, and generated config references.
getConfigFieldName(Property) - Method in class me.bristermitten.mittenlib.annotations.compile.FieldNameGenerator
Get a suitable serialization key for a given property.
getConfigPath(String) - Method in interface me.bristermitten.mittenlib.config.paths.ConfigPathResolver
Resolve a file name to a Path
getConfigPath(String) - Method in class me.bristermitten.mittenlib.config.paths.JarResourcesConfigPathResolver
 
getConfigPath(String) - Method in class me.bristermitten.mittenlib.config.paths.PluginConfigPathResolver
 
getConfigPropertyClassName(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get the config property class name for a type mirror.
getCurrentModel() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
getCurrentView() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
getCustomDeserializer(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.parser.CustomDeserializers
 
getD() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getData() - Method in class me.bristermitten.mittenlib.config.DeserializationContext
Returns the data to deserialize.
getDataTreeType(TypeName) - Method in class me.bristermitten.mittenlib.annotations.util.TypesUtil
 
getDelegate() - Method in class me.bristermitten.mittenlib.config.provider.DelegatingConfigProvider
 
getDeserializeFunction() - Method in class me.bristermitten.mittenlib.config.Configuration
Returns the function to use to deserialize the data.
getDeserializeMethodName(TypeName) - Method in class me.bristermitten.mittenlib.annotations.compile.MethodNames
Gets the name of the deserialization method for a type.
getDeserializeMethodName(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.MethodNames
Gets the name of the deserialization method for a configuration structure.
getE() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getF() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getFailures() - Method in exception class me.bristermitten.mittenlib.util.MultipleFailuresException
 
getFileName() - Method in class me.bristermitten.mittenlib.config.Configuration
Returns the name of the file to load.
getG() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getH() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getI() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getItemStack() - Method in class me.bristermitten.mittenlib.gui.spigot.InventoryButton
 
getJ() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getK() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getL() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getM() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getMajor() - Method in class me.bristermitten.mittenlib.util.Version
 
getMapper() - Method in class me.bristermitten.mittenlib.config.DeserializationContext
Returns the mapper to use for deserialization.
getMapper() - Method in class me.bristermitten.mittenlib.config.reader.ConfigReader
Get the ObjectMapper used by this reader
getMessage() - Method in exception class me.bristermitten.mittenlib.annotations.exception.DTOReferenceException
 
getMessage() - Method in exception class me.bristermitten.mittenlib.config.exception.InvalidEnumValueException
 
getMessage() - Method in exception class me.bristermitten.mittenlib.config.exception.PropertyNotFoundException
 
getMessage() - Method in class me.bristermitten.mittenlib.lang.LangMessage
 
getMessage() - Method in exception class me.bristermitten.mittenlib.util.MultipleFailuresException
 
getMessageFunction() - Method in class me.bristermitten.mittenlib.gui.spigot.InventoryButton
 
getMinor() - Method in class me.bristermitten.mittenlib.util.Version
 
getModel() - Method in class me.bristermitten.mittenlib.gui.UpdateResult
 
getN() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getName() - Method in class me.bristermitten.mittenlib.MittenLibConsumer
Returns the name of the consumer of MittenLib.
getNullityAnnotation(Property) - Static method in class me.bristermitten.mittenlib.annotations.util.Nullity
 
getNullityAnnotationSpec(Property) - Static method in class me.bristermitten.mittenlib.annotations.util.Nullity
 
getO() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
getOnClose() - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
getOnModify() - Method in class me.bristermitten.mittenlib.watcher.FileWatcher
Get the consumer to call when the file changes.
getOrDefault(String, Object) - Method in class me.bristermitten.mittenlib.config.tree.DataTree
 
getOrThrow() - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
getOrThrow() - Method in interface me.bristermitten.mittenlib.util.Result
Returns the value if the Result is Result.Ok, otherwise throws the exception
getOrThrow() - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
getOwnerType() - Method in class me.bristermitten.mittenlib.util.CompositeType
 
getP() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson.LGson
 
getPatch() - Method in class me.bristermitten.mittenlib.util.Version
 
getPitch() - Method in class me.bristermitten.mittenlib.lang.LangMessage.SoundConfig
 
getPlayer() - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotInventoryViewer
 
getPropertyMethods(TypeElement) - Method in class me.bristermitten.mittenlib.annotations.util.ElementsFinder
 
getPublicClassName(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get the public class name for a config structure.
getQ() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson.LGson
 
getRawType() - Method in class me.bristermitten.mittenlib.util.CompositeType
 
getSafeType(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.util.TypesUtil
Get a "safe" version of a type, where "safe" refers to being able to use it as the target of a instanceof check without compilation errors This is defined as the boxed type for primitives, the erasure for parameterized types, otherwise simply the type itself Examples: int -> Integer Map<String, Integer> -> Map String -> String
getSerializeFunction() - Method in class me.bristermitten.mittenlib.config.Configuration
Returns the function to use to serialize the data.
getSerializeMethodName(TypeName) - Method in class me.bristermitten.mittenlib.annotations.compile.MethodNames
Gets the name of the serialization method for a type.
getSerializeMethodName(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.MethodNames
Gets the name of the serialization method for a configuration structure.
getServerVersion() - Static method in class me.bristermitten.mittenlib.util.Version
Gets the server version.
getSession(SessionID<Model, Msg, V, Viewer>) - Method in interface me.bristermitten.mittenlib.gui.manager.GUIManager
Gets an active GUI session by ID.
getSession(SessionID<Model, Msg, V, Viewer>) - Method in class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
 
getSessionByViewer(Viewer) - Method in interface me.bristermitten.mittenlib.gui.manager.GUIManager
Finds a GUI session by viewer.
getSessionByViewer(Viewer) - Method in class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
 
getSessionId() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
getSize() - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
getSound() - Method in class me.bristermitten.mittenlib.lang.LangMessage
 
getSound() - Method in class me.bristermitten.mittenlib.lang.LangMessage.SoundConfig
 
getSubtitle() - Method in class me.bristermitten.mittenlib.lang.LangMessage
 
getSupportedAnnotationTypes() - Method in class me.bristermitten.mittenlib.codegen.MittenLibCodegenProcessor
 
getTitle() - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
getTitle() - Method in class me.bristermitten.mittenlib.lang.LangMessage
 
getType() - Method in class me.bristermitten.mittenlib.config.Configuration
Returns the type to deserialize to.
getTypeName() - Method in class me.bristermitten.mittenlib.util.CompositeType
 
getTypes() - Method in class me.bristermitten.mittenlib.files.FileTypes
Get the set of registered FileType classes.
getUnsupportedSerializationProperties(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.SerializationCodeGenerator
Gets a list of properties that cannot be serialized.
getValues() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeArray
 
getViewer() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
getVolume() - Method in class me.bristermitten.mittenlib.lang.LangMessage.SoundConfig
 
getWatching() - Method in class me.bristermitten.mittenlib.watcher.FileWatcher
Get the path being watched.
getWrapped() - Method in class me.bristermitten.mittenlib.config.provider.CachingConfigProvider
 
getWrapped() - Method in class me.bristermitten.mittenlib.config.provider.DelegatingConfigProvider
 
getWrapped() - Method in class me.bristermitten.mittenlib.config.provider.FileWatchingConfigProvider
 
getWrapped() - Method in interface me.bristermitten.mittenlib.config.provider.WrappingConfigProvider
Get the wrapped ConfigProvider.
GsonObjectLoader - Class in me.bristermitten.mittenlib.files.json
An ObjectLoader that uses Gson to parse a JSON string
GsonObjectLoader(Gson) - Constructor for class me.bristermitten.mittenlib.files.json.GsonObjectLoader
 
GsonObjectMapper - Class in me.bristermitten.mittenlib.files.json
An ObjectMapper implementation using Gson.
GsonObjectWriter - Class in me.bristermitten.mittenlib.files.json
An ObjectWriter implementation that writes DataTree instances to JSON using a provided Gson instance.
GsonObjectWriter(Gson) - Constructor for class me.bristermitten.mittenlib.files.json.GsonObjectWriter
 
GsonProvider - Class in me.bristermitten.mittenlib.files.json
Standard provider for Gson instances.
GUIBase<Model,Msg,View,Ctx,Cmd> - Interface in me.bristermitten.mittenlib.gui
Base interface for GUI applications, based on the Elm Architecture (Model-View-Update / TEA).
GUIManager<Ctx> - Interface in me.bristermitten.mittenlib.gui.manager
Manages GUI sessions and their lifecycles.
GUIModule - Class in me.bristermitten.mittenlib.gui
Guice module for the GUI framework.
GUIModule() - Constructor for class me.bristermitten.mittenlib.gui.GUIModule
 
GUISession<Model,Msg,V,Viewer,Ctx> - Class in me.bristermitten.mittenlib.gui.session
Represents an active GUI session with state management and event handling.
GUISession(SessionID<Model, Msg, V, Viewer>, GUIBase<Model, Msg, V, Ctx, ? extends Command<Ctx, Msg>>, Viewer, Model, Consumer<V>, GUISession.CommandRunner<Ctx, Msg>) - Constructor for class me.bristermitten.mittenlib.gui.session.GUISession
 
GUISession.CommandRunner<Ctx,Msg> - Interface in me.bristermitten.mittenlib.gui.session
 

H

handle(Function<T, R>, Function<Exception, R>) - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
handle(Function<T, R>, Function<Exception, R>) - Method in interface me.bristermitten.mittenlib.util.Result
Handle the 2 cases of the Result separately with 2 functions If the Result is Result.Ok, the first function is applied to the value.
handle(Function<T, R>, Function<Exception, R>) - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
hasCursor(Material) - Method in interface me.bristermitten.mittenlib.gui.spigot.ClickInputSpec
 
hasDefaultValue() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Returns the value of the hasDefaultValue record component.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTParentReference
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.ClassConfigTypeSource
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.InterfaceConfigTypeSource
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.FieldSource
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.MethodSource
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec.RecordFieldSpec
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordGenerator.GeneratedRecord
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordSpec
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionConstructor
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Returns a hash code value for this object.
hashCode() - Method in record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Returns a hash code value for this object.
hashCode() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeArray
 
hashCode() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralBoolean
 
hashCode() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralFloat
 
hashCode() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralInt
 
hashCode() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralString
 
hashCode() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeMap
 
hashCode() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeNull
 
hashCode() - Method in class me.bristermitten.mittenlib.gui.session.SessionID
 
hashCode() - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotInventoryViewer
 
hashCode() - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
hashCode() - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
hashCode() - Method in class me.bristermitten.mittenlib.util.Unit
 
hashCode() - Method in class me.bristermitten.mittenlib.util.Version
 
HexColorFixerHook - Class in me.bristermitten.mittenlib.lang.format.hook
This is a truly outrageous hack Essentially, when a papi expansion returns a hex color, it doesn't get parsed properly by MiniMessage and instead it just takes it to the nearest legacy color This class tries to parse the §x§a...
HexColorFixerHook() - Constructor for class me.bristermitten.mittenlib.lang.format.hook.HexColorFixerHook
 
HookModule - Class in me.bristermitten.mittenlib.lang.format.hook
Guice module for registering common FormattingHooks
HookModule() - Constructor for class me.bristermitten.mittenlib.lang.format.hook.HookModule
 
hooks - Variable in class me.bristermitten.mittenlib.lang.format.AbstractMessageFormatter
The set of FormattingHooks to use.
hotbarKey() - Method in interface me.bristermitten.mittenlib.gui.spigot.ClickInputSpec
 

I

id() - Method in interface me.bristermitten.mittenlib.commands.handlers.ArgumentCondition
The id of this condition.
id() - Method in interface me.bristermitten.mittenlib.commands.handlers.NamedCondition
 
id() - Method in interface me.bristermitten.mittenlib.commands.handlers.TabCompleter
 
ifOk(SafeConsumer<T>) - Method in interface me.bristermitten.mittenlib.util.Result
Applies the given SafeConsumer if the Result is Result.Ok.
implementReturningMatchMethod(ResolvedUnionSpec, ResolvedUnionConstructor) - Static method in class me.bristermitten.mittenlib.codegen.union.MatchGenerator
 
implementVoidMatchMethod(ResolvedUnionSpec, ResolvedUnionConstructor) - Static method in class me.bristermitten.mittenlib.codegen.union.MatchGenerator
 
improve(ConfigProvider<T>) - Method in interface me.bristermitten.mittenlib.config.provider.construct.ConfigProviderImprover
Improve a ConfigProvider by wrapping it with (possible) extra functionality.
improve(ConfigProvider<T>) - Method in class me.bristermitten.mittenlib.config.provider.construct.NoOpConfigProviderImprover
 
improve(ConfigProvider<T>) - Method in class me.bristermitten.mittenlib.config.provider.construct.SimpleConfigProviderImprover
 
init() - Method in class me.bristermitten.mittenlib.demo.DemoCounterGUI
 
init() - Method in interface me.bristermitten.mittenlib.gui.GUIBase
 
init() - Method in class me.bristermitten.mittenlib.ListenerRegistration
 
initializeConfig(String) - Method in interface me.bristermitten.mittenlib.config.paths.ConfigInitializationStrategy
Attempt to initialize the config
initializeConfig(String) - Method in class me.bristermitten.mittenlib.config.paths.NoOpConfigInitializationStrategy
 
initializeConfig(String) - Method in class me.bristermitten.mittenlib.config.paths.PluginConfigInitializationStrategy
 
INSTANCE - Static variable in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeNull
 
integer(long) - Static method in class me.bristermitten.mittenlib.config.tree.DataTree
 
InterfaceConfigTypeSource(TypeElement, List<TypeMirror>) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.InterfaceConfigTypeSource
Creates an instance of a InterfaceConfigTypeSource record class.
Intersection(ClassName, ConfigTypeSource, ASTSettings.ConfigASTSettings, ASTParentReference, List<AbstractConfigStructure>, List<ClassName>, List<Property>) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Creates an instance of a Intersection record class.
invalidate() - Method in class me.bristermitten.mittenlib.config.provider.CachingConfigProvider
Invalidate the cached config, causing it to be recomputed on the next call to CachingConfigProvider.get().
invalidate() - Method in class me.bristermitten.mittenlib.util.Cached
Invalidate the cached value, causing it to be recomputed on the next call to Cached.get().
invalidEnumException(Class<? extends Enum<?>>, String, Object) - Static method in class me.bristermitten.mittenlib.config.exception.ConfigLoadingErrors
 
InvalidEnumValueException - Exception Class in me.bristermitten.mittenlib.config.exception
 
InvalidEnumValueException(Class<? extends Enum<?>>, String, Object) - Constructor for exception class me.bristermitten.mittenlib.config.exception.InvalidEnumValueException
 
invalidPropertyTypeException(Class<?>, String, String, Object) - Static method in class me.bristermitten.mittenlib.config.exception.ConfigLoadingErrors
 
InventoryButton<Msg> - Class in me.bristermitten.mittenlib.gui.spigot
A button in a Spigot GUI Inventory.
InventoryButton(ItemStack, PureFunction<ClickInput, Msg>) - Constructor for class me.bristermitten.mittenlib.gui.spigot.InventoryButton
 
InventoryButton(ItemStack, Msg) - Constructor for class me.bristermitten.mittenlib.gui.spigot.InventoryButton
 
InventoryViewer<Msg,V> - Interface in me.bristermitten.mittenlib.gui.view
 
IOFunction<T,R> - Interface in me.bristermitten.mittenlib.util.lambda
Like SafeFunction but only for IOException
isA() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
isActive() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
isConfigType(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.util.TypesUtil
Checks if a type is a config type (annotated with @Config).
isFailure() - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
isFailure() - Method in interface me.bristermitten.mittenlib.util.Result
Checks if the Result is a failure.
isFailure() - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
isFallback() - Method in record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Returns the value of the isFallback record component.
isGlobal() - Method in record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Returns the value of the isGlobal record component.
isNewerThan(Version) - Method in class me.bristermitten.mittenlib.util.Version
 
isNullable() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Returns the value of the isNullable record component.
isNullable(Element) - Method in class me.bristermitten.mittenlib.annotations.util.TypesUtil
Return if a VariableElement should be considered nullable or not Everything is considered non-nullable unless it is specifically annotated as nullable.
isNullable(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.util.TypesUtil
 
isOlderThan(Version) - Method in class me.bristermitten.mittenlib.util.Version
 
isPrivate(String) - Static method in class me.bristermitten.mittenlib.annotations.util.PrivateAnnotations
 
isSerializationSupported(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.SerializationCodeGenerator
Checks if serialization is fully supported for the given configuration.
isStatic() - Method in record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Returns the value of the isStatic record component.
isSuccess() - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
isSuccess() - Method in interface me.bristermitten.mittenlib.util.Result
Checks if the Result is a success.
isSuccess() - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
IssuerAwareArgumentContext<T> - Interface in me.bristermitten.mittenlib.commands.handlers
An ArgumentContext that is aware of the issuer of the command and the argument's value.
IssuerOnlyArgumentContext<T> - Interface in me.bristermitten.mittenlib.commands.handlers
An ArgumentContext that is only aware of the issuer of the command, and not the argument's value.
isTransitioning() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
 
isWatching() - Method in class me.bristermitten.mittenlib.watcher.FileWatcherService
Returns whether the service is currently watching for file changes.

J

JarResourcesConfigPathResolver - Class in me.bristermitten.mittenlib.config.paths
 
JarResourcesConfigPathResolver() - Constructor for class me.bristermitten.mittenlib.config.paths.JarResourcesConfigPathResolver
 
joinWith(Collection<T>, Function<T, Object>, String) - Static method in class me.bristermitten.mittenlib.util.Strings
Join a collection of elements to a String using a given separator and toString function.
joinWith(T[], Function<T, Object>, String) - Static method in class me.bristermitten.mittenlib.util.Strings
Join a collection of elements to a String using a given separator and toString function.
JSONFileType - Class in me.bristermitten.mittenlib.files.json
 
JSONFileType(GsonObjectLoader, GsonObjectWriter) - Constructor for class me.bristermitten.mittenlib.files.json.JSONFileType
 

L

LangMessage - Class in me.bristermitten.mittenlib.lang
 
LangMessage(String, String, String, String, LangMessage.SoundConfig) - Constructor for class me.bristermitten.mittenlib.lang.LangMessage
 
LangMessage.SoundConfig - Class in me.bristermitten.mittenlib.lang
 
LangMessageBuilder - Class in me.bristermitten.mittenlib.lang
 
LangMessageBuilder() - Constructor for class me.bristermitten.mittenlib.lang.LangMessageBuilder
 
LangMessageTypeAdapterFactory - Class in me.bristermitten.mittenlib.lang
Creates a TypeAdapter that can serialize elements with just a message to plain Strings (i.e not complex objects), and vice versa
LangMessageTypeAdapterFactory() - Constructor for class me.bristermitten.mittenlib.lang.LangMessageTypeAdapterFactory
 
LangModule - Class in me.bristermitten.mittenlib.lang
 
LangModule() - Constructor for class me.bristermitten.mittenlib.lang.LangModule
 
LangService - Class in me.bristermitten.mittenlib.lang
A basic service for sending language messages to command senders.
LangService(MessageFormatter, BukkitAudiences) - Constructor for class me.bristermitten.mittenlib.lang.LangService
 
LangService(MessageFormatter, BukkitAudiences, UnaryOperator<Component>) - Constructor for class me.bristermitten.mittenlib.lang.LangService
 
LegacyCodeUpdaterHook - Class in me.bristermitten.mittenlib.lang.format.hook
A FormattingHook that replaces legacy color codes with their MiniMessage equivalent.
LegacyCodeUpdaterHook() - Constructor for class me.bristermitten.mittenlib.lang.format.hook.LegacyCodeUpdaterHook
 
LGson() - Constructor for class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson.LGson
 
ListenerRegistration - Class in me.bristermitten.mittenlib
 
ListenerRegistration(Plugin, Set<Listener>, Logger) - Constructor for class me.bristermitten.mittenlib.ListenerRegistration
 
ListenersModule - Class in me.bristermitten.mittenlib
Creates a new empty Multibinder for Bukkit Listeners and binds ListenerRegistration as an eager singleton.
ListenersModule() - Constructor for class me.bristermitten.mittenlib.ListenersModule
 
load(Reader) - Method in interface me.bristermitten.mittenlib.config.reader.ObjectLoader
Loads an object from the given source.
load(Reader) - Method in class me.bristermitten.mittenlib.config.reader.SearchingObjectLoader
 
load(Reader) - Method in class me.bristermitten.mittenlib.files.json.GsonObjectLoader
 
load(Reader) - Method in class me.bristermitten.mittenlib.files.yaml.YamlObjectLoader
 
load(String) - Method in interface me.bristermitten.mittenlib.config.reader.ObjectLoader
 
load(String) - Method in class me.bristermitten.mittenlib.config.reader.SearchingObjectLoader
 
load(Class<T>, Reader, DeserializationFunction<T>) - Method in class me.bristermitten.mittenlib.config.reader.ConfigReader
Read the data from the given reader, and map it to the given type
load(Class<T>, String, DeserializationFunction<T>) - Method in class me.bristermitten.mittenlib.config.reader.ConfigReader
Read the data from the given string, and map it to the given type
load(Class<T>, Path, DeserializationFunction<T>) - Method in class me.bristermitten.mittenlib.config.reader.ConfigReader
Read the data from the given path, and map it to the given type
load(Path) - Method in interface me.bristermitten.mittenlib.config.reader.ObjectLoader
Loads an object from the given Path.
load(Path) - Method in class me.bristermitten.mittenlib.config.reader.SearchingObjectLoader
 
load(Map<String, Object>, String, Class<T>, T, Function<Map<String, Object>, T>) - Static method in class me.bristermitten.mittenlib.config.ConfigMapLoader
Get a value from a map, or return an empty optional if the value is null This tries a few different ways to load the value: Cast if it is an instance of type If it is a Map, use fromMap Use the default value, if present If all of them fail, an IllegalArgumentException is thrown
loader() - Method in interface me.bristermitten.mittenlib.files.FileType
Returns an ObjectLoader for this file type.
loader() - Method in class me.bristermitten.mittenlib.files.json.JSONFileType
 
loader() - Method in class me.bristermitten.mittenlib.files.yaml.YamlFileType
 
loadFrom(Object) - Static method in class me.bristermitten.mittenlib.config.tree.DataTreeTransforms
Load a DataTree from an object.
lookupAST(ClassName) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigNameCache
Looks up an AbstractConfigStructure by its ClassName.
lookupAST(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigNameCache
Looks up an AbstractConfigStructure by its TypeMirror.
LOWER_CAMEL_CASE - Enum constant in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
lowerCamelCase.
LOWER_KEBAB_CASE - Enum constant in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
lower-kebab-case
LOWER_SNAKE_CASE - Enum constant in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
lower_snake_case

M

makeMatchMethodSpec(ResolvedUnionSpec) - Static method in class me.bristermitten.mittenlib.codegen.union.MatchGenerator
 
makeVoidMatchMethodSpec(ResolvedUnionSpec) - Static method in class me.bristermitten.mittenlib.codegen.union.MatchGenerator
 
map(A, Function<A, B>) - Static method in class me.bristermitten.mittenlib.util.Null
Applies the given function to the given value if it is not null, or returns null if it is.
map(Object) - Method in interface me.bristermitten.mittenlib.config.reader.ObjectMapper
Turn a given object into a mapped object
map(Object) - Method in class me.bristermitten.mittenlib.files.json.GsonObjectMapper
 
map(Object, TypeToken<T>) - Method in interface me.bristermitten.mittenlib.config.reader.ObjectMapper
Map a given object and type to an object of the Type
map(Object, TypeToken<T>) - Method in class me.bristermitten.mittenlib.files.json.GsonObjectMapper
 
map(Map<DataTree, DataTree>) - Static method in class me.bristermitten.mittenlib.config.tree.DataTree
 
map(SafeFunction<T, R>) - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
map(SafeFunction<T, R>) - Method in interface me.bristermitten.mittenlib.util.Result
Applies a given function to the Result, threading through the exception if the Result is Result.Fail.
map(SafeFunction<T, R>) - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
MapImpls - Class in me.bristermitten.mittenlib.collections
Implementations for immutable Maps used in Maps
Maps - Class in me.bristermitten.mittenlib.collections
Utility functions for creating immutable maps Unnecessary in Java 9+
matches(Path) - Method in interface me.bristermitten.mittenlib.files.FileType
If the given path matches this file type.
matches(Path) - Method in class me.bristermitten.mittenlib.files.json.JSONFileType
 
matches(Path) - Method in class me.bristermitten.mittenlib.files.yaml.YamlFileType
 
MatchGenerator - Class in me.bristermitten.mittenlib.codegen.union
 
MatchGenerator() - Constructor for class me.bristermitten.mittenlib.codegen.union.MatchGenerator
 
MatchStrategies - Enum Class in me.bristermitten.mittenlib.codegen
 
MatchStrategy - Annotation Interface in me.bristermitten.mittenlib.codegen
Specifies how match methods should be generated for a union.
me.bristermitten.mittenlib - package me.bristermitten.mittenlib
 
me.bristermitten.mittenlib.annotation.benchmark - package me.bristermitten.mittenlib.annotation.benchmark
 
me.bristermitten.mittenlib.annotations.ast - package me.bristermitten.mittenlib.annotations.ast
The structure of a config's data in a more abstract form than a class hierarchy.
me.bristermitten.mittenlib.annotations.compile - package me.bristermitten.mittenlib.annotations.compile
 
me.bristermitten.mittenlib.annotations.config - package me.bristermitten.mittenlib.annotations.config
 
me.bristermitten.mittenlib.annotations.exception - package me.bristermitten.mittenlib.annotations.exception
 
me.bristermitten.mittenlib.annotations.parser - package me.bristermitten.mittenlib.annotations.parser
"Parser" of Java elements annotated with MittenLib annotations, to be turned into config ASTs (me.bristermitten.mittenlib.annotations.ast)
me.bristermitten.mittenlib.annotations.util - package me.bristermitten.mittenlib.annotations.util
 
me.bristermitten.mittenlib.codegen - package me.bristermitten.mittenlib.codegen
 
me.bristermitten.mittenlib.codegen.record - package me.bristermitten.mittenlib.codegen.record
 
me.bristermitten.mittenlib.codegen.union - package me.bristermitten.mittenlib.codegen.union
 
me.bristermitten.mittenlib.collections - package me.bristermitten.mittenlib.collections
 
me.bristermitten.mittenlib.commands - package me.bristermitten.mittenlib.commands
 
me.bristermitten.mittenlib.commands.handlers - package me.bristermitten.mittenlib.commands.handlers
Nice helper interfaces making ACF's usage a little more flexible and intuitive
me.bristermitten.mittenlib.config - package me.bristermitten.mittenlib.config
 
me.bristermitten.mittenlib.config.exception - package me.bristermitten.mittenlib.config.exception
 
me.bristermitten.mittenlib.config.extension - package me.bristermitten.mittenlib.config.extension
 
me.bristermitten.mittenlib.config.generate - package me.bristermitten.mittenlib.config.generate
 
me.bristermitten.mittenlib.config.names - package me.bristermitten.mittenlib.config.names
 
me.bristermitten.mittenlib.config.paths - package me.bristermitten.mittenlib.config.paths
 
me.bristermitten.mittenlib.config.provider - package me.bristermitten.mittenlib.config.provider
 
me.bristermitten.mittenlib.config.provider.construct - package me.bristermitten.mittenlib.config.provider.construct
 
me.bristermitten.mittenlib.config.reader - package me.bristermitten.mittenlib.config.reader
 
me.bristermitten.mittenlib.config.tree - package me.bristermitten.mittenlib.config.tree
 
me.bristermitten.mittenlib.config.writer - package me.bristermitten.mittenlib.config.writer
 
me.bristermitten.mittenlib.demo - package me.bristermitten.mittenlib.demo
 
me.bristermitten.mittenlib.files - package me.bristermitten.mittenlib.files
 
me.bristermitten.mittenlib.files.json - package me.bristermitten.mittenlib.files.json
 
me.bristermitten.mittenlib.files.yaml - package me.bristermitten.mittenlib.files.yaml
 
me.bristermitten.mittenlib.gui - package me.bristermitten.mittenlib.gui
 
me.bristermitten.mittenlib.gui.command - package me.bristermitten.mittenlib.gui.command
 
me.bristermitten.mittenlib.gui.factory - package me.bristermitten.mittenlib.gui.factory
 
me.bristermitten.mittenlib.gui.manager - package me.bristermitten.mittenlib.gui.manager
 
me.bristermitten.mittenlib.gui.session - package me.bristermitten.mittenlib.gui.session
 
me.bristermitten.mittenlib.gui.spigot - package me.bristermitten.mittenlib.gui.spigot
 
me.bristermitten.mittenlib.gui.spigot.command - package me.bristermitten.mittenlib.gui.spigot.command
 
me.bristermitten.mittenlib.gui.view - package me.bristermitten.mittenlib.gui.view
 
me.bristermitten.mittenlib.lang - package me.bristermitten.mittenlib.lang
 
me.bristermitten.mittenlib.lang.format - package me.bristermitten.mittenlib.lang.format
 
me.bristermitten.mittenlib.lang.format.hook - package me.bristermitten.mittenlib.lang.format.hook
 
me.bristermitten.mittenlib.lang.hook - package me.bristermitten.mittenlib.lang.hook
 
me.bristermitten.mittenlib.minimessage - package me.bristermitten.mittenlib.minimessage
 
me.bristermitten.mittenlib.papi - package me.bristermitten.mittenlib.papi
 
me.bristermitten.mittenlib.util - package me.bristermitten.mittenlib.util
 
me.bristermitten.mittenlib.util.lambda - package me.bristermitten.mittenlib.util.lambda
 
me.bristermitten.mittenlib.watcher - package me.bristermitten.mittenlib.watcher
 
MessageFormatter - Interface in me.bristermitten.mittenlib.lang.format
A MessageFormatter is responsible for formatting a String into a Component, applying some FormattingHooks to the String.
methodAddAnnotation(MethodSpec.Builder, Class<?>) - Static method in class me.bristermitten.mittenlib.annotations.util.TypeSpecUtil
 
methodAddAnnotation(MethodSpec.Builder, Class<?>, Consumer<AnnotationSpec.Builder>) - Static method in class me.bristermitten.mittenlib.annotations.util.TypeSpecUtil
 
MethodNames - Class in me.bristermitten.mittenlib.annotations.compile
Manages method names for configuration classes to ensure they don't conflict with existing methods.
MethodSource(ExecutableElement) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.MethodSource
Creates an instance of a MethodSource record class.
MinecraftGUIFactory - Interface in me.bristermitten.mittenlib.gui.factory
Factory interface for creating GUI components.
MiniMessageFormatter - Class in me.bristermitten.mittenlib.lang.format
An AbstractMessageFormatter that uses MiniMessage to create a Component from a String
MiniMessageModule - Class in me.bristermitten.mittenlib.minimessage
An extension of LangModule that adds support for MiniMessage.
MiniMessageModule() - Constructor for class me.bristermitten.mittenlib.minimessage.MiniMessageModule
 
MittenLib<T> - Class in me.bristermitten.mittenlib
 
MittenLib(T) - Constructor for class me.bristermitten.mittenlib.MittenLib
 
MittenLibCodegenProcessor - Class in me.bristermitten.mittenlib.codegen
 
MittenLibCodegenProcessor() - Constructor for class me.bristermitten.mittenlib.codegen.MittenLibCodegenProcessor
 
MittenLibConsumer - Class in me.bristermitten.mittenlib
Stores the name of the consumer of MittenLib (usually the plugin name).
MittenLibConsumer(String) - Constructor for class me.bristermitten.mittenlib.MittenLibConsumer
Create a new MittenLibConsumer
MittenLibCoreModule<T> - Class in me.bristermitten.mittenlib
Main Guice Module for MittenLib.
MittenLibCoreModule(T) - Constructor for class me.bristermitten.mittenlib.MittenLibCoreModule
Create a new MittenLibModule
MLImmutableMap<K,V> - Class in me.bristermitten.mittenlib.collections
 
MLImmutableMap() - Constructor for class me.bristermitten.mittenlib.collections.MLImmutableMap
 
MLImmutableSet<E> - Class in me.bristermitten.mittenlib.collections
 
MLImmutableSet() - Constructor for class me.bristermitten.mittenlib.collections.MLImmutableSet
 
MultipleFailuresException - Exception Class in me.bristermitten.mittenlib.util
Exception representing multiple failures that occur simultaneously.
MultipleFailuresException(String, List<Throwable>) - Constructor for exception class me.bristermitten.mittenlib.util.MultipleFailuresException
 
MultipleFailuresException(List<Throwable>) - Constructor for exception class me.bristermitten.mittenlib.util.MultipleFailuresException
 

N

name() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns the value of the name record component.
name() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns the value of the name record component.
name() - Method in interface me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure
 
name() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns the value of the name record component.
name() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property
Returns the value of the name record component.
name() - Method in interface me.bristermitten.mittenlib.codegen.GenericTypeSpec
 
name() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec
Returns the value of the name record component.
name() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec.RecordFieldSpec
Returns the value of the name record component.
name() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordSpec
Returns the value of the name record component.
name() - Element in annotation interface me.bristermitten.mittenlib.codegen.RecordSpec
 
name() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionConstructor
Returns the value of the name record component.
name() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Returns the value of the name record component.
name() - Method in record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Returns the value of the name record component.
name() - Element in annotation interface me.bristermitten.mittenlib.codegen.UnionSpec
 
NamedCondition - Interface in me.bristermitten.mittenlib.commands.handlers
A command condition that is referenced by name on the full command rather than an argument.
namingPattern() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Returns the value of the namingPattern record component.
namingPattern() - Method in interface me.bristermitten.mittenlib.annotations.ast.ASTSettings
 
namingPattern() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Returns the value of the namingPattern record component.
NamingPattern - Annotation Interface in me.bristermitten.mittenlib.config.names
Defines a naming pattern for a class or field.
NamingPatterns - Enum Class in me.bristermitten.mittenlib.config.names
Patterns for naming fields in a config.
NamingPatternTransformer - Class in me.bristermitten.mittenlib.config.names
Transforms strings into different formats based on a NamingPatterns
NOMINAL - Enum constant in enum class me.bristermitten.mittenlib.codegen.MatchStrategies
 
NoOpConfigInitializationStrategy - Class in me.bristermitten.mittenlib.config.paths
 
NoOpConfigInitializationStrategy() - Constructor for class me.bristermitten.mittenlib.config.paths.NoOpConfigInitializationStrategy
 
NoOpConfigProviderImprover - Class in me.bristermitten.mittenlib.config.provider.construct
A ConfigProviderImprover that does nothing.
NoOpConfigProviderImprover() - Constructor for class me.bristermitten.mittenlib.config.provider.construct.NoOpConfigProviderImprover
 
notFoundException(String, String, Class<?>, String) - Static method in class me.bristermitten.mittenlib.config.exception.ConfigLoadingErrors
Creates an exception to use when a value cannot be deserialized as it is not found (i.e.
noUnionMatch() - Static method in class me.bristermitten.mittenlib.config.exception.ConfigLoadingErrors
 
Null - Class in me.bristermitten.mittenlib.util
Utility class for working with nullable values without having to use Optional.
null_() - Static method in class me.bristermitten.mittenlib.config.tree.DataTree
 
Nullity - Class in me.bristermitten.mittenlib.annotations.util
 
Nullity() - Constructor for class me.bristermitten.mittenlib.annotations.util.Nullity
 

O

ObjectLoader - Interface in me.bristermitten.mittenlib.config.reader
Responsible for parsing a tree-like file (JSON, YAML, etc) into a Map of String keys and Object values.
ObjectMapper - Interface in me.bristermitten.mittenlib.config.reader
Interface for mapping objects It should hold that map(map(t), T.class).getOrThrow().equals(t), i.e both map functions are inverses
ObjectWriter - Interface in me.bristermitten.mittenlib.config.writer
Inverse to ObjectLoader
of() - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of() - Static method in class me.bristermitten.mittenlib.collections.Sets
 
of(E) - Static method in class me.bristermitten.mittenlib.collections.Sets
 
of(E, E) - Static method in class me.bristermitten.mittenlib.collections.Sets
 
of(K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(Model, Cmd) - Static method in class me.bristermitten.mittenlib.gui.UpdateResult
 
of(E...) - Static method in class me.bristermitten.mittenlib.collections.Sets
 
of(E, E, E) - Static method in class me.bristermitten.mittenlib.collections.Sets
 
of(Type, TypeAdapter<T>) - Static method in class me.bristermitten.mittenlib.files.json.ExtraTypeAdapter
Creates an ExtraTypeAdapter from an existing TypeAdapter.
of(Map<K, V>, K, V) - Static method in class me.bristermitten.mittenlib.collections.Maps
Creates a copy of the given map with the specified key and value added.
of(Collection<Map.Entry<K, V>>) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
of(Consumer<SpigotCommandContext>) - Static method in interface me.bristermitten.mittenlib.gui.spigot.command.SpigotCommand
Wrap a simple consumer into a SpigotCommand.
of(Function<T, R>) - Static method in interface me.bristermitten.mittenlib.util.lambda.IOFunction
Wrap a Function in a IOFunction
of(Function<T, R>) - Static method in interface me.bristermitten.mittenlib.util.lambda.SafeFunction
of(Map.Entry<K, V>...) - Static method in class me.bristermitten.mittenlib.collections.Maps
 
ofAll(Collection<E>) - Static method in class me.bristermitten.mittenlib.collections.Sets
Create an immutable set from a collection of elements.
ok(T) - Static method in interface me.bristermitten.mittenlib.util.Result
Create a Result from a given value.
onClose(Msg) - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
onEnable() - Method in class me.bristermitten.mittenlib.demo.DemoPlugin
 
onInventoryClick(InventoryClickEvent) - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotEventHandler
 
onInventoryClose(InventoryCloseEvent) - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotEventHandler
 
onPlayerJoin(PlayerJoinEvent) - Method in class me.bristermitten.mittenlib.demo.DemoPlugin
 
orElse(Supplier<Result<T>>) - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
orElse(Supplier<Result<T>>) - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
orElse(Supplier<Result<T>>) - Method in interface me.bristermitten.mittenlib.util.Result
Applies an "or" operation to the Result.
orElse(T, Supplier<T>) - Static method in class me.bristermitten.mittenlib.util.Null
Returns the given value if it is not null, or the value returned by the given Supplier if it is.
orElse(T, T) - Static method in class me.bristermitten.mittenlib.util.Null
Returns the given value if it is not null, or the given other value if it is.

P

PAPIFormattingHook - Class in me.bristermitten.mittenlib.lang.hook
A FormattingHook which applies PlaceholderAPI placeholders to the message.
PAPIFormattingHook() - Constructor for class me.bristermitten.mittenlib.lang.hook.PAPIFormattingHook
 
PAPIModule - Class in me.bristermitten.mittenlib.papi
Binds PAPI related classes
PAPIModule() - Constructor for class me.bristermitten.mittenlib.papi.PAPIModule
 
parent() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTParentReference
Returns the value of the parent record component.
parent() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.ClassConfigTypeSource
Returns the value of the parent record component.
parentClassName() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTParentReference
Returns the value of the parentClassName record component.
parents() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns the value of the parents record component.
parents() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.ClassConfigTypeSource
 
parents() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.InterfaceConfigTypeSource
Returns the value of the parents record component.
parents() - Method in interface me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource
 
parseAbstract(TypeElement) - Method in class me.bristermitten.mittenlib.annotations.parser.ConfigClassParser
 
path() - Method in class me.bristermitten.mittenlib.config.provider.CachingConfigProvider
 
path() - Method in interface me.bristermitten.mittenlib.config.provider.ConfigProvider
The path of the source for the config, if available
path() - Method in class me.bristermitten.mittenlib.config.provider.DelegatingConfigProvider
 
path() - Method in class me.bristermitten.mittenlib.config.provider.FileWatchingConfigProvider
 
path() - Method in class me.bristermitten.mittenlib.config.provider.ReadingConfigProvider
 
path() - Method in class me.bristermitten.mittenlib.config.provider.StringReadingConfigProvider
Always empty, as this provider does not have a path.
PathUtil - Class in me.bristermitten.mittenlib.util
Utility class for working with Paths
player() - Method in class me.bristermitten.mittenlib.gui.spigot.command.DefaultSpigotCommandContext
 
player() - Method in interface me.bristermitten.mittenlib.gui.spigot.command.SpigotCommandContext
The player executing the command / viewing the GUI.
PluginConfigInitializationStrategy - Class in me.bristermitten.mittenlib.config.paths
A ConfigInitializationStrategy that copies a resource from a plugin's jar to its data folder if it does not exist
PluginConfigInitializationStrategy(Plugin) - Constructor for class me.bristermitten.mittenlib.config.paths.PluginConfigInitializationStrategy
 
PluginConfigInitializationStrategy.UnknownResourceException - Exception Class in me.bristermitten.mittenlib.config.paths
Thrown when a resource could not be found in a plugin
PluginConfigModule - Class in me.bristermitten.mittenlib.config
 
PluginConfigModule() - Constructor for class me.bristermitten.mittenlib.config.PluginConfigModule
 
PluginConfigPathResolver - Class in me.bristermitten.mittenlib.config.paths
A ConfigPathResolver that resolves paths relative to a Plugin's data folder
PluginConfigPathResolver(Plugin) - Constructor for class me.bristermitten.mittenlib.config.paths.PluginConfigPathResolver
 
plus(E) - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
plus(K, V) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
preFormat(String, OfflinePlayer) - Method in class me.bristermitten.mittenlib.lang.format.AbstractMessageFormatter
 
preFormat(String, OfflinePlayer) - Method in interface me.bristermitten.mittenlib.lang.format.MessageFormatter
Apply all FormattingHooks to a String, returning the formatted String.
prettyName(E) - Static method in class me.bristermitten.mittenlib.util.Enums
Creates a "prettified" name of an enum.
prettyStringify(Element) - Static method in class me.bristermitten.mittenlib.annotations.util.Stringify
Returns a generic pretty string representation of the given Element object.
printStackTrace() - Method in exception class me.bristermitten.mittenlib.util.MultipleFailuresException
 
PrivateAnnotations - Class in me.bristermitten.mittenlib.annotations.util
 
PrivateAnnotations() - Constructor for class me.bristermitten.mittenlib.annotations.util.PrivateAnnotations
 
processAnnotations(Set<? extends TypeElement>, RoundEnvironment) - Method in class me.bristermitten.mittenlib.annotations.config.ConfigProcessor
Processes annotations and generates configuration implementation classes.
processAnnotations(Set<? extends TypeElement>, RoundEnvironment) - Method in class me.bristermitten.mittenlib.codegen.MittenLibCodegenProcessor
 
processMessage(Msg) - Method in class me.bristermitten.mittenlib.gui.session.GUISession
The core message processing loop.
properties() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns the value of the properties record component.
properties() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns the value of the properties record component.
properties() - Method in interface me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure
 
properties() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns the value of the properties record component.
Property - Record Class in me.bristermitten.mittenlib.annotations.ast
A representation of a property in a configuration type.
Property(String, TypeMirror, Property.PropertySource, ASTSettings.PropertyASTSettings) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.Property
Creates an instance of a Property record class.
Property.PropertySource - Interface in me.bristermitten.mittenlib.annotations.ast
 
Property.PropertySource.FieldSource - Record Class in me.bristermitten.mittenlib.annotations.ast
 
Property.PropertySource.MethodSource - Record Class in me.bristermitten.mittenlib.annotations.ast
 
PropertyASTSettings(NamingPattern, ConfigName, EnumParsingSchemes, boolean, boolean) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Creates an instance of a PropertyASTSettings record class.
PropertyNotFoundException - Exception Class in me.bristermitten.mittenlib.config.exception
 
PropertyNotFoundException(Class<?>, String, String, String) - Constructor for exception class me.bristermitten.mittenlib.config.exception.PropertyNotFoundException
 
propertyType() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property
Returns the value of the propertyType record component.
publicPropertyClassName(TypeMirror) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get the public property class name for a type mirror.
publicPropertyClassName(Property) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Get the public property class name for a property.
pure(Model) - Static method in class me.bristermitten.mittenlib.gui.UpdateResult
 
pure(Msg) - Static method in interface me.bristermitten.mittenlib.gui.command.Command
 
PureCommand(Msg) - Constructor for class me.bristermitten.mittenlib.gui.command.Command.PureCommand
 
PureFunction<A,B> - Interface in me.bristermitten.mittenlib.util.lambda
A function isomorphic to Function, but with the expectation that it is pure.
put(K, V) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
put(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigNameCache
Adds an AbstractConfigStructure to the cache, indexed by its name.
putIfAbsent(K, V) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 

R

read(JsonReader) - Method in class me.bristermitten.mittenlib.config.tree.DataTreeTypeAdapter
 
ReadingConfigProvider<T> - Class in me.bristermitten.mittenlib.config.provider
A ConfigProvider that reads from a file, using a ConfigReader
ReadingConfigProvider(Path, Configuration<T>, ConfigReader, ObjectWriter) - Constructor for class me.bristermitten.mittenlib.config.provider.ReadingConfigProvider
Create a new ReadingConfigProvider
RecordConstructorSpec - Record Class in me.bristermitten.mittenlib.codegen.record
A record with a single constructor
RecordConstructorSpec(String, List<RecordConstructorSpec.RecordFieldSpec>) - Constructor for record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec
Creates an instance of a RecordConstructorSpec record class.
RecordConstructorSpec.RecordFieldSpec - Record Class in me.bristermitten.mittenlib.codegen.record
 
RecordFieldSpec(String, TypeName) - Constructor for record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec.RecordFieldSpec
Creates an instance of a RecordFieldSpec record class.
RecordGenerator - Class in me.bristermitten.mittenlib.codegen.record
 
RecordGenerator() - Constructor for class me.bristermitten.mittenlib.codegen.record.RecordGenerator
 
RecordGenerator.GeneratedRecord - Record Class in me.bristermitten.mittenlib.codegen.record
 
recordImplName() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordGenerator.GeneratedRecord
Returns the value of the recordImplName record component.
RecordSpec - Record Class in me.bristermitten.mittenlib.codegen.record
 
RecordSpec - Annotation Interface in me.bristermitten.mittenlib.codegen
 
RecordSpec(ClassName, ClassName, RecordConstructorSpec) - Constructor for record class me.bristermitten.mittenlib.codegen.record.RecordSpec
Creates an instance of a RecordSpec record class.
RecordSpecLike - Interface in me.bristermitten.mittenlib.codegen.record
 
recover(Function<Exception, T>) - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
recover(Function<Exception, T>) - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
recover(Function<Exception, T>) - Method in interface me.bristermitten.mittenlib.util.Result
Handles the exception case of the Result with a function.
register(TypeName, CustomDeserializerInfo) - Method in class me.bristermitten.mittenlib.annotations.parser.CustomDeserializers
 
registerCustomDeserializer(TypeElement) - Method in class me.bristermitten.mittenlib.annotations.parser.CustomDeserializers
 
remove(Object) - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
remove(Object) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
remove(Object, Object) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
removeAll(Collection<?>) - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
removeIf(Predicate<? super E>) - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
removeModule(Class<? extends Module>) - Method in class me.bristermitten.mittenlib.MittenLib
Removes a module by class.
removeWatcher(FileWatcher) - Method in class me.bristermitten.mittenlib.watcher.FileWatcherService
Removes a watcher from the service.
render(Counter) - Method in class me.bristermitten.mittenlib.demo.DemoCounterGUI
 
render(Model) - Method in interface me.bristermitten.mittenlib.gui.GUIBase
 
replace(K, V) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
replace(K, V, V) - Method in class me.bristermitten.mittenlib.collections.MLImmutableMap
 
replace(R) - Method in interface me.bristermitten.mittenlib.util.Result
Replaces the value of the Result with a new value.
requireSerialization() - Element in annotation interface me.bristermitten.mittenlib.config.Config
Whether to require that serialization methods are generated for this config.
ResolvedUnionConstructor - Record Class in me.bristermitten.mittenlib.codegen.union
 
ResolvedUnionConstructor(ClassName, ClassName, RecordConstructorSpec) - Constructor for record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionConstructor
Creates an instance of a ResolvedUnionConstructor record class.
ResolvedUnionSpec - Record Class in me.bristermitten.mittenlib.codegen.union
 
ResolvedUnionSpec(ClassName, ClassName, MatchStrategies, List<ResolvedUnionConstructor>) - Constructor for record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Creates an instance of a ResolvedUnionSpec record class.
resourceToPath(URL) - Static method in class me.bristermitten.mittenlib.util.PathUtil
Deprecated.
Resource leak, use PathUtil.resourceToPath(URL, IOFunction) instead
resourceToPath(URL, IOFunction<Path, T>) - Static method in class me.bristermitten.mittenlib.util.PathUtil
 
Result<T> - Interface in me.bristermitten.mittenlib.util
A Result encapsulates a computation that may fail, throwing an exception.
RESULT_CLASS_NAME - Static variable in class me.bristermitten.mittenlib.annotations.compile.DeserializationCodeGenerator
 
Result.Fail<T,E> - Class in me.bristermitten.mittenlib.util
 
Result.Ok<T> - Class in me.bristermitten.mittenlib.util
 
retainAll(Collection<?>) - Method in class me.bristermitten.mittenlib.collections.MLImmutableSet
 
returningFunctionalInterfaceFor(ResolvedUnionConstructor, MatchStrategies, TypeName) - Static method in class me.bristermitten.mittenlib.codegen.union.MatchGenerator
 
roots() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns the value of the roots record component.
run() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeRunnable
Run the code, possibly throwing an exception.
run(Ctx, Consumer<Msg>) - Method in class me.bristermitten.mittenlib.gui.command.Command.PureCommand
 
run(Ctx, Consumer<Msg>) - Method in interface me.bristermitten.mittenlib.gui.command.Command
 
run(Command<Ctx, Msg>, Consumer<Msg>) - Method in interface me.bristermitten.mittenlib.gui.session.GUISession.CommandRunner
 
run(SpigotCommandContext, Consumer<T>) - Method in class me.bristermitten.mittenlib.gui.spigot.command.SendMessageCommand
 
runCatching() - Method in interface me.bristermitten.mittenlib.util.lambda.SafeRunnable
Run the code, catching any exceptions and wrapping them in a Result
runCatching(SafeSupplier<T>) - Static method in interface me.bristermitten.mittenlib.util.Result
Safely runs a SafeSupplier, encapsulating the returned value or any thrown exception in a Result

S

SafeBiConsumer<T,T2> - Interface in me.bristermitten.mittenlib.util.lambda
A BiConsumer that can throw a checked exception.
safeCast(Object, Class<T>) - Static method in class me.bristermitten.mittenlib.util.Cast
Safely cast an object to a type, returning null if the cast fails or the object is null
SafeConsumer<T> - Interface in me.bristermitten.mittenlib.util.lambda
A Consumer that can throw a checked exception.
SafeFunction<T,R> - Interface in me.bristermitten.mittenlib.util.lambda
A Function that can throw a checked exception.
SafeFunction2<T,R1,R2> - Interface in me.bristermitten.mittenlib.util.lambda
A BiFunction that can throw a checked exception.
safeMethodName(VariableElement, TypeElement) - Method in class me.bristermitten.mittenlib.annotations.compile.MethodNames
Gets a safe method name for a variable element that doesn't conflict with existing methods.
safeMethodName(Property) - Method in class me.bristermitten.mittenlib.annotations.compile.MethodNames
Gets a safe method name for a property that doesn't conflict with existing methods.
SafeRunnable - Interface in me.bristermitten.mittenlib.util.lambda
A Runnable that can throw a checked exception.
SafeSupplier<T> - Interface in me.bristermitten.mittenlib.util.lambda
A Supplier that can throw a checked exception.
save(T) - Method in class me.bristermitten.mittenlib.config.provider.ReadingConfigProvider
Saves the given config instance back to the file.
save(T, boolean) - Method in class me.bristermitten.mittenlib.config.provider.ReadingConfigProvider
Saves the given config instance back to the file.
SearchingObjectLoader - Class in me.bristermitten.mittenlib.config.reader
 
SearchingObjectLoader(Set<FileType>, Logger) - Constructor for class me.bristermitten.mittenlib.config.reader.SearchingObjectLoader
 
SearchingObjectWriter - Class in me.bristermitten.mittenlib.config.writer
 
SearchingObjectWriter(Set<FileType>, Logger) - Constructor for class me.bristermitten.mittenlib.config.writer.SearchingObjectWriter
 
send(CommandSender, LangMessage) - Method in class me.bristermitten.mittenlib.lang.LangService
 
send(CommandSender, LangMessage, String) - Method in class me.bristermitten.mittenlib.lang.LangService
 
send(CommandSender, LangMessage, Map<String, Object>) - Method in class me.bristermitten.mittenlib.lang.LangService
 
send(CommandSender, LangMessage, Map<String, Object>, String) - Method in class me.bristermitten.mittenlib.lang.LangService
 
sendActionBar(CommandSender, String) - Method in class me.bristermitten.mittenlib.lang.LangService
 
sendMessage(SessionID<Model, Msg, V, Viewer>, Msg) - Method in interface me.bristermitten.mittenlib.gui.manager.GUIManager
Sends a command to an active GUI session.
sendMessage(SessionID<Model, Msg, V, Viewer>, Msg) - Method in class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
 
sendMessage(CommandSender, String) - Method in class me.bristermitten.mittenlib.lang.LangService
 
SendMessageCommand<T> - Class in me.bristermitten.mittenlib.gui.spigot.command
 
SendMessageCommand(String) - Constructor for class me.bristermitten.mittenlib.gui.spigot.command.SendMessageCommand
 
sendTitle(CommandSender, String, String) - Method in class me.bristermitten.mittenlib.lang.LangService
 
sequence(Iterable<CompletableFuture<T>>) - Static method in class me.bristermitten.mittenlib.util.Futures
Transform an Iterable of CompletableFutures into a single CompletableFuture holding a Collection<T>
sequence(Collection<Result<T>>) - Static method in interface me.bristermitten.mittenlib.util.Result
Turns a collection of Results into a Result of a collection of the same type If any of the results are Result.Fails, the whole result will be Result.Fail Otherwise, the result will be Result.Ok with the collection of values The returned collection is not guaranteed to be the same type as the input collection
sequence(Collection<CompletableFuture<T>>) - Static method in class me.bristermitten.mittenlib.util.Futures
Transform a collection of CompletableFutures into a single CompletableFuture holding a Collection<T>
sequence(CompletableFuture<T>...) - Static method in class me.bristermitten.mittenlib.util.Futures
Transform an array of CompletableFutures into a single CompletableFuture holding a Collection<T> This is similar to (Haskell's sequence function), but specialised for CompletableFutures because we don't have higher kinded types in Java :(
SerializationCodeGenerator - Class in me.bristermitten.mittenlib.annotations.compile
Generates serialization code for configuration classes.
SerializationCodeGenerator(FieldNameGenerator, ConfigurationClassNameGenerator, MethodNames, TypesUtil, CustomDeserializers) - Constructor for class me.bristermitten.mittenlib.annotations.compile.SerializationCodeGenerator
 
SerializationFunction<T> - Interface in me.bristermitten.mittenlib.config
A function that serializes a config object to a DataTree
SERIALIZE_METHOD_PREFIX - Static variable in class me.bristermitten.mittenlib.annotations.compile.SerializationCodeGenerator
The prefix for all generated serialization methods.
SessionID<Model,Msg,V,Viewer> - Class in me.bristermitten.mittenlib.gui.session
 
SessionID(UUID) - Constructor for class me.bristermitten.mittenlib.gui.session.SessionID
 
setA(boolean) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setActionBar(String) - Method in class me.bristermitten.mittenlib.lang.LangMessageBuilder
 
setB(Material) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setC(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setD(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setE(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setF(Map<Integer, Material>) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setG(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setH(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setI(Material) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
SetImpls - Class in me.bristermitten.mittenlib.collections
Implementations for immutable sets used in Sets
setJ(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setK(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setL(TestDataGson.LGson) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setM(Material) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setMessage(String) - Method in class me.bristermitten.mittenlib.lang.LangMessageBuilder
 
setN(Material) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setO(Material) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
setP(String) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson.LGson
 
setQ(int) - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson.LGson
 
Sets - Class in me.bristermitten.mittenlib.collections
Utility functions for creating immutable sets.
setSound(LangMessage.SoundConfig) - Method in class me.bristermitten.mittenlib.lang.LangMessageBuilder
 
setSubtitle(String) - Method in class me.bristermitten.mittenlib.lang.LangMessageBuilder
 
settings() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns the value of the settings record component.
settings() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns the value of the settings record component.
settings() - Method in interface me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure
 
settings() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns the value of the settings record component.
settings() - Method in interface me.bristermitten.mittenlib.annotations.ast.ASTNode
 
settings() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property
Returns the value of the settings record component.
setTitle(String) - Method in class me.bristermitten.mittenlib.lang.LangMessageBuilder
 
shouldRegister() - Method in interface me.bristermitten.mittenlib.lang.format.hook.FormattingHook
If the hook should be used.
shouldRegister() - Method in class me.bristermitten.mittenlib.lang.format.hook.HexColorFixerHook
 
shouldRegister() - Method in class me.bristermitten.mittenlib.lang.format.hook.LegacyCodeUpdaterHook
 
shouldRegister() - Method in class me.bristermitten.mittenlib.lang.format.hook.SimpleColorCodeHook
 
shouldRegister() - Method in class me.bristermitten.mittenlib.lang.format.hook.SimpleFormattingHook
 
shouldRegister() - Method in class me.bristermitten.mittenlib.lang.format.hook.StringReplacingHook
 
shouldRegister() - Method in class me.bristermitten.mittenlib.lang.hook.PAPIFormattingHook
 
shutdown() - Method in interface me.bristermitten.mittenlib.gui.manager.GUIManager
Closes all active sessions and shuts down the manager.
shutdown() - Method in class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
 
SimpleColorCodeHook - Class in me.bristermitten.mittenlib.lang.format.hook
 
SimpleColorCodeHook() - Constructor for class me.bristermitten.mittenlib.lang.format.hook.SimpleColorCodeHook
 
SimpleConfigProviderFactory - Class in me.bristermitten.mittenlib.config.provider.construct
 
SimpleConfigProviderFactory(ConfigReader, ConfigInitializationStrategy, ConfigPathResolver, ObjectWriter) - Constructor for class me.bristermitten.mittenlib.config.provider.construct.SimpleConfigProviderFactory
 
SimpleConfigProviderImprover - Class in me.bristermitten.mittenlib.config.provider.construct
 
SimpleFormattingHook - Class in me.bristermitten.mittenlib.lang.format.hook
A formatting hook that is always applied, and uses a lambda to format the string.
SimpleFormattingHook(BiFunction<String, OfflinePlayer, String>) - Constructor for class me.bristermitten.mittenlib.lang.format.hook.SimpleFormattingHook
Creates a SimpleFormattingHook configured with supplied BiFunction.
SimpleMessageFormatter - Class in me.bristermitten.mittenlib.lang.format
Default implementation of MessageFormatter that uses LegacyComponentSerializer to create Components.
sneakyThrow(Throwable) - Static method in class me.bristermitten.mittenlib.util.Errors
Sneakily throw a checked exception as an unchecked exception
SoundConfig(Sound, float, float) - Constructor for class me.bristermitten.mittenlib.lang.LangMessage.SoundConfig
 
source() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns the value of the source record component.
source() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns the value of the source record component.
source() - Method in interface me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure
 
source() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns the value of the source record component.
source() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Returns the value of the source record component.
source() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property
Returns the value of the source record component.
source() - Element in annotation interface me.bristermitten.mittenlib.codegen.GeneratedRecord
 
source() - Element in annotation interface me.bristermitten.mittenlib.codegen.GeneratedUnion
 
source() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordSpec
Returns the value of the source record component.
source() - Method in interface me.bristermitten.mittenlib.codegen.record.RecordSpecLike
 
source() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionConstructor
Returns the value of the source record component.
source() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Returns the value of the source record component.
source() - Method in record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Returns the value of the source record component.
source() - Element in annotation interface me.bristermitten.mittenlib.config.GeneratedConfig
The Config class that was used to generate this type.
Source - Annotation Interface in me.bristermitten.mittenlib.config
Marks a Config class as being loaded from a file.
SpigotCommand<Msg> - Interface in me.bristermitten.mittenlib.gui.spigot.command
A command that can be executed in a Spigot GUI context.
SpigotCommandContext - Interface in me.bristermitten.mittenlib.gui.spigot.command
The context for a Spigot command execution.
SpigotEventHandler - Class in me.bristermitten.mittenlib.gui.spigot
Handles Spigot inventory events and connects them to the GUI framework.
SpigotEventHandler(SpigotGUIManager) - Constructor for class me.bristermitten.mittenlib.gui.spigot.SpigotEventHandler
 
SpigotGUI<Model,Msg> - Class in me.bristermitten.mittenlib.gui.spigot
Base class for Spigot GUIs.
SpigotGUI() - Constructor for class me.bristermitten.mittenlib.gui.spigot.SpigotGUI
 
SpigotGUIManager - Class in me.bristermitten.mittenlib.gui.manager
Spigot implementation of the GUIManager.
SpigotGUIManager() - Constructor for class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
 
SpigotGUIView<Msg> - Class in me.bristermitten.mittenlib.gui.spigot
A view of a Spigot GUI - not a real inventory, but a description of one.
SpigotGUIView(int, String, Map<Integer, InventoryButton<Msg>>, Msg) - Constructor for class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
SpigotInventoryViewer<Msg> - Class in me.bristermitten.mittenlib.gui.spigot
 
SpigotInventoryViewer(Player) - Constructor for class me.bristermitten.mittenlib.gui.spigot.SpigotInventoryViewer
 
SpigotMinecraftGUIFactory - Class in me.bristermitten.mittenlib.gui.factory
Spigot implementation of GUIFactory for creating GUI components.
SpigotMinecraftGUIFactory(MessageFormatter) - Constructor for class me.bristermitten.mittenlib.gui.factory.SpigotMinecraftGUIFactory
 
start() - Method in class me.bristermitten.mittenlib.gui.session.GUISession
Starts the GUI session by rendering the initial view.
startSession(GUIBase<Model, Msg, V, Ctx, Cmd>, Viewer) - Method in interface me.bristermitten.mittenlib.gui.manager.GUIManager
Creates and starts a new GUI session for the given viewer.
startSession(GUIBase<Model, Msg, V, SpigotCommandContext, Cmd>, Viewer) - Method in class me.bristermitten.mittenlib.gui.manager.SpigotGUIManager
 
startWatching() - Method in class me.bristermitten.mittenlib.watcher.FileWatcherService
Start watching for file changes.
stopWatching() - Method in class me.bristermitten.mittenlib.watcher.FileWatcherService
Stop watching for file changes.
strategy() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Returns the value of the strategy record component.
strategy() - Method in record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Returns the value of the strategy record component.
string(String) - Static method in class me.bristermitten.mittenlib.config.tree.DataTree
 
Stringify - Class in me.bristermitten.mittenlib.annotations.util
Generic utilities for converting objects to strings.
StringReadingConfigProvider<T> - Class in me.bristermitten.mittenlib.config.provider
A ConfigProvider that reads a String to load a config
StringReadingConfigProvider(String, Configuration<T>, ConfigReader) - Constructor for class me.bristermitten.mittenlib.config.provider.StringReadingConfigProvider
 
StringReplacingHook - Class in me.bristermitten.mittenlib.lang.format.hook
A formatting hook that applies string replacements
StringReplacingHook(Object...) - Constructor for class me.bristermitten.mittenlib.lang.format.hook.StringReplacingHook
Create a new StringReplacingHook
Strings - Class in me.bristermitten.mittenlib.util
 
STRUCTURAL - Enum constant in enum class me.bristermitten.mittenlib.codegen.MatchStrategies
 

T

TabCompleter - Interface in me.bristermitten.mittenlib.commands.handlers
A tab completer for a command argument.
TestDataDTO - Class in me.bristermitten.mittenlib.annotation.benchmark
 
TestDataDTO() - Constructor for class me.bristermitten.mittenlib.annotation.benchmark.TestDataDTO
 
TestDataGson - Class in me.bristermitten.mittenlib.annotation.benchmark
 
TestDataGson() - Constructor for class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
TestDataGson.LGson - Class in me.bristermitten.mittenlib.annotation.benchmark
 
throwNotFound(String, String, Class<?>, String) - Static method in class me.bristermitten.mittenlib.config.ConfigMapLoader
toOptional() - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
toOptional() - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
toOptional() - Method in interface me.bristermitten.mittenlib.util.Result
Turns the Result into an Optional.
toPOJO(DataTree) - Static method in class me.bristermitten.mittenlib.config.tree.DataTreeTransforms
Convert a DataTree to a POJO representation, as an inverse of DataTreeTransforms.loadFrom(Object).
toString() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataDTO
 
toString() - Method in class me.bristermitten.mittenlib.annotation.benchmark.TestDataGson
 
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Atomic
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Intersection
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTParentReference
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.ConfigASTSettings
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.ASTSettings.PropertyASTSettings
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.ClassConfigTypeSource
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.ConfigTypeSource.InterfaceConfigTypeSource
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.CustomDeserializerInfo
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.FieldSource
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property.PropertySource.MethodSource
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.annotations.ast.Property
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec.RecordFieldSpec
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordGenerator.GeneratedRecord
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordSpec
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionConstructor
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.codegen.union.ResolvedUnionSpec
Returns a string representation of this record class.
toString() - Method in record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Returns a string representation of this record class.
toString() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeNull
 
toString() - Method in class me.bristermitten.mittenlib.gui.session.SessionID
 
toString() - Method in class me.bristermitten.mittenlib.util.Result.Fail
 
toString() - Method in class me.bristermitten.mittenlib.util.Result.Ok
 
toString() - Method in class me.bristermitten.mittenlib.util.Unit
 
ToStringGenerator - Class in me.bristermitten.mittenlib.annotations.compile
Generates toString methods for configuration classes.
ToStringGenerator() - Constructor for class me.bristermitten.mittenlib.annotations.compile.ToStringGenerator
 
translateConfigClassName(ClassName) - Static method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Creates a class name for the implementation of a DTO class.
translateConfigClassName(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.compile.ConfigurationClassNameGenerator
Creates a class name for the implementation of a configuration structure.
tryWithResources(SafeSupplier<R>, SafeFunction<R, Result<T>>) - Static method in interface me.bristermitten.mittenlib.util.Result
Executes a function with a lazily generated resource, closing the resource afterwards, and handling any exceptions.
tryWithResources(R, SafeFunction<R, Result<T>>) - Static method in interface me.bristermitten.mittenlib.util.Result
Executes a function with a resource, closing the resource afterwards, and handling any exceptions
type() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordConstructorSpec.RecordFieldSpec
Returns the value of the type record component.
type() - Method in interface me.bristermitten.mittenlib.commands.handlers.ArgumentCondition
The type of the argument that this condition applies to.
type() - Method in interface me.bristermitten.mittenlib.commands.handlers.ArgumentContext
The type of the argument that this context applies to.
type() - Method in class me.bristermitten.mittenlib.config.tree.DataTreeTypeAdapter
 
type() - Method in class me.bristermitten.mittenlib.files.json.ExtraTypeAdapter
Get the type that this ExtraTypeAdapter is for.
type() - Method in interface me.bristermitten.mittenlib.gui.spigot.ClickInputSpec
 
typeSpecBuilder() - Method in record class me.bristermitten.mittenlib.codegen.record.RecordGenerator.GeneratedRecord
Returns the value of the typeSpecBuilder record component.
TypeSpecUtil - Class in me.bristermitten.mittenlib.annotations.util
 
TypeSpecUtil() - Constructor for class me.bristermitten.mittenlib.annotations.util.TypeSpecUtil
 
TypesUtil - Class in me.bristermitten.mittenlib.annotations.util
Helper class for working with TypeMirrors

U

uncapitalize(String) - Static method in class me.bristermitten.mittenlib.util.Strings
Uncapitalize the first letter of a given String "" → "" "Hello" → "hello" "HEllo" → "hEllo"
union(Set<E>, Set<E>) - Static method in class me.bristermitten.mittenlib.collections.Sets
Returns a new set containing the elements of 2 given sets The returned set is immutable.
Union(ClassName, ConfigTypeSource, ASTSettings.ConfigASTSettings, ASTParentReference, List<ClassName>, List<AbstractConfigStructure>, List<Property>) - Constructor for record class me.bristermitten.mittenlib.annotations.ast.AbstractConfigStructure.Union
Creates an instance of a Union record class.
UNION_ALTERNATIVE_NOT_EXTENDING_UNION - Static variable in class me.bristermitten.mittenlib.annotations.parser.ConfigVerificationErrors
 
UnionGenerator - Class in me.bristermitten.mittenlib.codegen.union
 
UnionGenerator() - Constructor for class me.bristermitten.mittenlib.codegen.union.UnionGenerator
 
UnionSpec - Record Class in me.bristermitten.mittenlib.codegen.union
 
UnionSpec - Annotation Interface in me.bristermitten.mittenlib.codegen
 
UnionSpec(ClassName, ClassName, MatchStrategies, List<RecordConstructorSpec>) - Constructor for record class me.bristermitten.mittenlib.codegen.union.UnionSpec
Creates an instance of a UnionSpec record class.
Unit - Class in me.bristermitten.mittenlib.util
Unit value
UNIT - Static variable in class me.bristermitten.mittenlib.util.Unit
 
unitFuture() - Static method in class me.bristermitten.mittenlib.util.Unit
 
unitResult() - Static method in class me.bristermitten.mittenlib.util.Unit
 
UNKNOWN - Static variable in class me.bristermitten.mittenlib.util.Version
Unknown version, probably something very old
UnknownResourceException(String) - Constructor for exception class me.bristermitten.mittenlib.config.paths.PluginConfigInitializationStrategy.UnknownResourceException
 
update(Counter, CounterMessage) - Method in class me.bristermitten.mittenlib.demo.DemoCounterGUI
 
update(Model, Msg) - Method in interface me.bristermitten.mittenlib.gui.GUIBase
 
UpdateResult<Model,Msg,Ctx,Cmd> - Class in me.bristermitten.mittenlib.gui
 
UpdateResult(Model, Cmd) - Constructor for class me.bristermitten.mittenlib.gui.UpdateResult
 
UPPER_CAMEL_CASE - Enum constant in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
UpperCamelCase / PascalCase
UPPER_KEBAB_CASE - Enum constant in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
Upper-Kebab-Case
UPPER_SNAKE_CASE - Enum constant in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
Upper_Snake_Case
UseObjectMapperSerialization - Annotation Interface in me.bristermitten.mittenlib.config.extension
Marks a configuration property to use ObjectMapper for serialization.

V

value - Variable in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralBoolean
 
value - Variable in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralFloat
 
value - Variable in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralInt
 
value - Variable in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralString
 
value() - Element in annotation interface me.bristermitten.mittenlib.codegen.MatchStrategy
 
value() - Element in annotation interface me.bristermitten.mittenlib.config.EnumParsingScheme
 
value() - Element in annotation interface me.bristermitten.mittenlib.config.extension.CustomDeserializerFor
 
value() - Element in annotation interface me.bristermitten.mittenlib.config.names.ConfigName
The expected name of the field / key in the config file.
value() - Element in annotation interface me.bristermitten.mittenlib.config.names.NamingPattern
The naming pattern to use for the annotated class or field.
value() - Element in annotation interface me.bristermitten.mittenlib.config.Source
The file name of the source of the config.
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeArray
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralBoolean
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralFloat
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralInt
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral.DataTreeLiteralString
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeLiteral
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeMap
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeNull
 
value() - Method in class me.bristermitten.mittenlib.config.tree.DataTree
 
value() - Method in interface me.bristermitten.mittenlib.util.Result
Retrieves the value wrapped in an Optional, if present.
valueOf(String) - Static method in enum class me.bristermitten.mittenlib.codegen.MatchStrategies
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.bristermitten.mittenlib.config.EnumParsingSchemes
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
Returns the enum constant of this class with the specified name.
valueOfIgnoreCase(String, Class<E>) - Static method in class me.bristermitten.mittenlib.util.Enums
Retrieves an enum constant from the specified enumClass whose name matches the specified name, ignoring case sensitivity.
valueOfOrNull(String, Class<E>) - Static method in class me.bristermitten.mittenlib.util.Enums
Retrieves an enum constant from the specified enumClass whose name matches the given name.
values - Variable in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeArray
 
values() - Static method in enum class me.bristermitten.mittenlib.codegen.MatchStrategies
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.bristermitten.mittenlib.config.EnumParsingSchemes
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.bristermitten.mittenlib.config.names.NamingPatterns
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class me.bristermitten.mittenlib.config.tree.DataTree.DataTreeMap
 
VER_1_10 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.10
VER_1_10_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.10.1
VER_1_10_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.10.2
VER_1_11 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.11
VER_1_11_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.11.1
VER_1_11_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.11.2
VER_1_12 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.12
VER_1_12_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.12.1
VER_1_12_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.12.2
VER_1_13 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.13
VER_1_13_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.13.1
VER_1_13_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.13.2
VER_1_14 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.14
VER_1_14_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.14.1
VER_1_14_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.14.2
VER_1_14_3 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.14.3
VER_1_14_4 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.14.4
VER_1_15 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.15
VER_1_15_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.15.1
VER_1_15_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.15.2
VER_1_16 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.16
VER_1_16_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.16.1
VER_1_16_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.16.2
VER_1_16_3 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.16.3
VER_1_16_4 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.16.4
VER_1_16_5 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.16.5
VER_1_17 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.17
VER_1_17_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.17.1
VER_1_18 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.18
VER_1_18_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.18.1
VER_1_18_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.18.2
VER_1_19 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.19
VER_1_19_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.19.1
VER_1_19_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.19.2
VER_1_19_3 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.19.3
VER_1_19_4 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.19.4
VER_1_20 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.20
VER_1_20_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.20.1
VER_1_8_8 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.8.8
VER_1_8_9 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.8.9
VER_1_9 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.9
VER_1_9_1 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.9.1
VER_1_9_2 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.9.2
VER_1_9_3 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.9.3
VER_1_9_4 - Static variable in class me.bristermitten.mittenlib.util.Version
Version 1.9.4
verify(AbstractConfigStructure) - Method in class me.bristermitten.mittenlib.annotations.parser.ASTVerifier
 
Version - Class in me.bristermitten.mittenlib.util
Minecraft versions "enum"
Version(int, int, int) - Constructor for class me.bristermitten.mittenlib.util.Version
 
View<Msg,ThisView,Viewer> - Interface in me.bristermitten.mittenlib.gui.view
 
void_() - Method in interface me.bristermitten.mittenlib.util.Result
Replaces the value of the Result with the Unit value.
voidFunctionalInterfaceFor(ResolvedUnionConstructor, MatchStrategies) - Static method in class me.bristermitten.mittenlib.codegen.union.MatchGenerator
 

W

WatchServiceProvider - Class in me.bristermitten.mittenlib.watcher
 
WatchServiceProvider() - Constructor for class me.bristermitten.mittenlib.watcher.WatchServiceProvider
 
withButton(int, InventoryButton<Msg>) - Method in class me.bristermitten.mittenlib.gui.spigot.SpigotGUIView
 
withComponentPostProcessor(UnaryOperator<Component>) - Method in class me.bristermitten.mittenlib.lang.LangService
 
withData(DataTree) - Method in class me.bristermitten.mittenlib.config.DeserializationContext
 
withDefaults(T) - Static method in class me.bristermitten.mittenlib.MittenLib
 
withExtraHooks(FormattingHook...) - Method in interface me.bristermitten.mittenlib.lang.format.MessageFormatter
Creates a new MessageFormatter that applies the given FormattingHooks to the String, alongside the existing hooks.
withExtraHooks(FormattingHook...) - Method in class me.bristermitten.mittenlib.lang.format.MiniMessageFormatter
 
withExtraHooks(FormattingHook...) - Method in class me.bristermitten.mittenlib.lang.format.SimpleMessageFormatter
 
withLoader(ObjectLoader) - Method in class me.bristermitten.mittenlib.config.reader.ConfigReader
Create a new ConfigReader with the given ObjectLoader instead of the existing one
WrappingConfigProvider<T> - Interface in me.bristermitten.mittenlib.config.provider
Generic interface for a ConfigProvider that wraps another ConfigProvider.
write(JsonWriter, DataTree) - Method in class me.bristermitten.mittenlib.config.tree.DataTreeTypeAdapter
 
write(DataTree) - Method in interface me.bristermitten.mittenlib.config.writer.ObjectWriter
 
write(DataTree) - Method in class me.bristermitten.mittenlib.config.writer.SearchingObjectWriter
 
write(DataTree, Writer) - Method in interface me.bristermitten.mittenlib.config.writer.ObjectWriter
 
write(DataTree, Writer) - Method in class me.bristermitten.mittenlib.config.writer.SearchingObjectWriter
 
write(DataTree, Writer) - Method in class me.bristermitten.mittenlib.files.json.GsonObjectWriter
 
write(DataTree, Writer) - Method in class me.bristermitten.mittenlib.files.yaml.YamlObjectWriter
Writes a DataTree to the given writer as YAML.
write(DataTree, Path) - Method in interface me.bristermitten.mittenlib.config.writer.ObjectWriter
 
write(DataTree, Path) - Method in class me.bristermitten.mittenlib.config.writer.SearchingObjectWriter
 
writer() - Method in interface me.bristermitten.mittenlib.files.FileType
Returns an ObjectWriter for this file type.
writer() - Method in class me.bristermitten.mittenlib.files.json.JSONFileType
 
writer() - Method in class me.bristermitten.mittenlib.files.yaml.YamlFileType
 

Y

YamlFileType - Class in me.bristermitten.mittenlib.files.yaml
 
YamlFileType(YamlObjectLoader, YamlObjectWriter) - Constructor for class me.bristermitten.mittenlib.files.yaml.YamlFileType
 
YamlObjectLoader - Class in me.bristermitten.mittenlib.files.yaml
 
YamlObjectLoader(Yaml) - Constructor for class me.bristermitten.mittenlib.files.yaml.YamlObjectLoader
 
YamlObjectWriter - Class in me.bristermitten.mittenlib.files.yaml
Responsible for writing DataTree objects to YAML format.
YamlObjectWriter(Yaml) - Constructor for class me.bristermitten.mittenlib.files.yaml.YamlObjectWriter
 
A B C D E F G H I J L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form