Skip navigation links
A B D F G I J K M P R S U W 

A

AbstractBoundMethodCollectionFactory - Class in io.magus.methodmap
Base class for implementations of a BoundMethodCollectionFactory.
AbstractBoundMethodCollectionFactory(Object) - Constructor for class io.magus.methodmap.AbstractBoundMethodCollectionFactory
 
AbstractMethodMap<K> - Class in io.magus.methodmap
Base class for implementations of a MethodMap
AbstractMethodMap(Object, Collection<Method>, MapEntryKeyFactory<K>, MethodHandles.Lookup) - Constructor for class io.magus.methodmap.AbstractMethodMap
 
AnnotatedWithAnnotation(Annotation) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory.AnnotatedWithAnnotation
 
AnnotatedWithAnnotationClass(Class<? extends Annotation>) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory.AnnotatedWithAnnotationClass
 
ArgsFactory - Interface in io.magus.methodmap
Interface that encapsulates the factory pattern used for generating arguments for calls to invoke in subclasses of AbstractMethodMap.
ArgsProductionException - Exception in io.magus.methodmap.error
Exception used to indicate that an ArgsFactory could not produce arguments.
ArgsProductionException() - Constructor for exception io.magus.methodmap.error.ArgsProductionException
 
ArgsProductionException(String) - Constructor for exception io.magus.methodmap.error.ArgsProductionException
 
ArgsProductionException(String, Throwable) - Constructor for exception io.magus.methodmap.error.ArgsProductionException
 
ArgsProductionException(String, Throwable, boolean, boolean) - Constructor for exception io.magus.methodmap.error.ArgsProductionException
 
ArgsProductionException(Throwable) - Constructor for exception io.magus.methodmap.error.ArgsProductionException
 
AutoInstantiatingMethodMap<K> - Class in io.magus.methodmap
MethodMap that automatically instantiates an object of the appropriate class when invoking non-static methods.
AutoInstantiatingMethodMap(MapEntryKeyFactory<K>, MethodCollectionFactory, MethodHandles.Lookup) - Constructor for class io.magus.methodmap.AutoInstantiatingMethodMap
 

B

BoundAnnotatedMethodCollectionFactory - Class in io.magus.methodmap
BoundMethodCollectionFactory that produces a method collection consisting solely of methods from the class of the provided object that are annotated with the provided annotation class.
BoundAnnotatedMethodCollectionFactory(Object, Class<? extends Annotation>) - Constructor for class io.magus.methodmap.BoundAnnotatedMethodCollectionFactory
 
BoundMethodMap<K> - Class in io.magus.methodmap
MethodMap which is bound to a single object.
BoundMethodMap(MapEntryKeyFactory<K>, AbstractBoundMethodCollectionFactory, MethodHandles.Lookup) - Constructor for class io.magus.methodmap.BoundMethodMap
 

D

DuplicateKeyException - Exception in io.magus.methodmap.error
Exception used to indicate that a new method mapping was attempted under an existing entry key for an implementation of AbstractMethodMap.
DuplicateKeyException() - Constructor for exception io.magus.methodmap.error.DuplicateKeyException
 
DuplicateKeyException(String) - Constructor for exception io.magus.methodmap.error.DuplicateKeyException
 
DuplicateKeyException(String, Throwable) - Constructor for exception io.magus.methodmap.error.DuplicateKeyException
 
DuplicateKeyException(String, Throwable, boolean, boolean) - Constructor for exception io.magus.methodmap.error.DuplicateKeyException
 
DuplicateKeyException(Throwable) - Constructor for exception io.magus.methodmap.error.DuplicateKeyException
 

F

FullSignatureEntryKeyFactory - Class in io.magus.methodmap
MapEntryKeyFactory for string-keyed MethodMaps.
FullSignatureEntryKeyFactory(String) - Constructor for class io.magus.methodmap.FullSignatureEntryKeyFactory
 

G

getAnnotation() - Method in class io.magus.methodmap.ReflectionsMethodCollectionFactory.AnnotatedWithAnnotation
 
getAnnotation() - Method in class io.magus.methodmap.ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotation
 
getAnnotationClass() - Method in class io.magus.methodmap.ReflectionsMethodCollectionFactory.AnnotatedWithAnnotationClass
 
getAnnotationClass() - Method in class io.magus.methodmap.ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotationClass
 
getArgs() - Method in class io.magus.methodmap.KeyArgsPair
Retrieves the arguments of this keyargspair.
getKey() - Method in class io.magus.methodmap.KeyArgsPair
Retrieves the key of this keyargspair.
getLookup() - Method in class io.magus.methodmap.MethodHandleInfo
Retrieves the underlying lookup.
getMethod() - Method in class io.magus.methodmap.MethodHandleInfo
Retrieves the underlying method.
getMethodHandle() - Method in class io.magus.methodmap.MethodHandleInfo
Retrieves the underlying methodhandle.
getMethodHandleInfo(K) - Method in class io.magus.methodmap.AbstractMethodMap
Retrieves the methodhandleinfo mapped to the provided key.
getMethodMap(K) - Method in class io.magus.methodmap.domain.MethodMapDomain
Retrieves the methodmap mapped to the provided domain.
getModifiers() - Method in class io.magus.methodmap.MethodHandleInfo
Retrieves the access modifier value of the underlying method.
getReturnType() - Method in class io.magus.methodmap.ReflectionsMethodCollectionFactory.Returns
 
getTarget() - Method in class io.magus.methodmap.AbstractBoundMethodCollectionFactory
Retrieves the underlying object of this BoundMethodCollectionFactory.
getTarget() - Method in class io.magus.methodmap.MethodHandleInfo
Retrieves the target object to which the methodhandle is bound if it is non-static.
getTypes() - Method in class io.magus.methodmap.ReflectionsMethodCollectionFactory.MatchParams
 

I

include(Method) - Method in class io.magus.methodmap.AbstractBoundMethodCollectionFactory
Determines whether or not a candidate method should be included in the method collection produced by this BoundMethodCollectionFactory.
include(Method) - Method in class io.magus.methodmap.BoundAnnotatedMethodCollectionFactory
 
InvocationException - Exception in io.magus.methodmap.error
Exception used to indicate that a call to invoke has failed for subclasses of AbstractMethodMap.
InvocationException() - Constructor for exception io.magus.methodmap.error.InvocationException
 
InvocationException(String) - Constructor for exception io.magus.methodmap.error.InvocationException
 
InvocationException(String, Throwable) - Constructor for exception io.magus.methodmap.error.InvocationException
 
InvocationException(String, Throwable, boolean, boolean) - Constructor for exception io.magus.methodmap.error.InvocationException
 
InvocationException(Throwable) - Constructor for exception io.magus.methodmap.error.InvocationException
 
invoke(MethodHandleInfo, Object...) - Method in class io.magus.methodmap.AbstractMethodMap
Invokes the methodhandle contained in the provided methodhandleinfo with the provided arguments.
invoke(MethodHandleInfo, ArgsFactory) - Method in class io.magus.methodmap.AbstractMethodMap
Invokes the methodhandle contained in the provided methodhandleinfo with the arguments produced by the provided argsfactory.
invoke(K, Object...) - Method in class io.magus.methodmap.AbstractMethodMap
Invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with the given arguments.
invoke(K, ArgsFactory) - Method in class io.magus.methodmap.AbstractMethodMap
Invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with arguments produced by the given argsfactory.
invoke(Object...) - Method in class io.magus.methodmap.AbstractMethodMap
Treats the first argument as the key, the remaining arguments as the methodhandle arguments, and invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with the given arguments.
invoke(MethodHandleInfo, Class<?>[], Object[], Object...) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the provided methodhandleinfo with the given arguments.
invoke(MethodHandleInfo, Class<?>[], Object[], ArgsFactory) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the provided methodhandleinfo with the arguments produced by the given argsfactory.
invoke(MethodHandleInfo, Object...) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the provided methodhandleinfo with the provided arguments.
invoke(MethodHandleInfo, ArgsFactory) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the provided methodhandleinfo with the arguments produced by the provided argsfactory.
invoke(K, Class<?>[], Object[], Object...) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with the given arguments.
invoke(K, Class<?>[], Object[], ArgsFactory) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with the arguments produced by the given argsfactory.
invoke(K, Object...) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with the given arguments.
invoke(K, ArgsFactory) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with arguments produced by the given argsfactory.
invoke(Object...) - Method in class io.magus.methodmap.AutoInstantiatingMethodMap
Treats the first argument as the key, the remaining arguments as the methodhandle arguments, and invokes the methodhandle contained in the methodhandleinfo mapped to the provided key with the given arguments.
invoke(K, Object...) - Method in class io.magus.methodmap.BoundMethodMap
 
invoke(K, ArgsFactory) - Method in class io.magus.methodmap.BoundMethodMap
 
invoke(Object...) - Method in class io.magus.methodmap.BoundMethodMap
 
invoke(K, V, Class<?>[], Object[], Object...) - Method in class io.magus.methodmap.domain.MethodMapDomain
Retrieves the methodmap mapped to the provided domain and calls invoke with the given arguments.
invoke(K, V, Class<?>[], Object[], ArgsFactory) - Method in class io.magus.methodmap.domain.MethodMapDomain
Retrieves the methodmap mapped to the provided domain and calls invoke with the given argsfactory.
invoke(K, V, Object...) - Method in class io.magus.methodmap.domain.MethodMapDomain
Convenience method for calling invoke(Object, Object, null, null, Object...)
invoke(K, V, ArgsFactory) - Method in class io.magus.methodmap.domain.MethodMapDomain
invoke(Object...) - Method in class io.magus.methodmap.domain.MethodMapDomain
Treats the first argument as the domain, the second argument as the key, and the remaining arguments as the methodhandle arguments and calls invoke(Object, Object, Object...).
invoke(Object...) - Method in class io.magus.methodmap.MethodHandleInfo
 
io.magus.methodmap - package io.magus.methodmap
 
io.magus.methodmap.domain - package io.magus.methodmap.domain
 
io.magus.methodmap.domain.error - package io.magus.methodmap.domain.error
 
io.magus.methodmap.error - package io.magus.methodmap.error
 
io.magus.methodmap.json - package io.magus.methodmap.json
 

J

JacksonArgsFactory - Class in io.magus.methodmap.json
ArgsFactory that converts a JSON array to an array of java objects which coincide with the types of the expected parameters of the target method.
JacksonArgsFactory(ObjectMapper, ArrayNode) - Constructor for class io.magus.methodmap.json.JacksonArgsFactory
 
JacksonArgsFactory(ObjectMapper, String) - Constructor for class io.magus.methodmap.json.JacksonArgsFactory
 

K

KeyArgsPair<K> - Class in io.magus.methodmap
Utility class for splitting up an array of objects into a key and an array of arguments.
KeyArgsPair(Object...) - Constructor for class io.magus.methodmap.KeyArgsPair
 

M

MapEntryKeyFactory<K> - Interface in io.magus.methodmap
Interface encapsulating the factory pattern used to produce map entry keys for implementations of AbstractMethodMap.
MapEntryKeyProductionException - Exception in io.magus.methodmap.error
Exception used to indicate that a MapEntryKeyFactory failed to produce map entry keys.
MapEntryKeyProductionException() - Constructor for exception io.magus.methodmap.error.MapEntryKeyProductionException
 
MapEntryKeyProductionException(String) - Constructor for exception io.magus.methodmap.error.MapEntryKeyProductionException
 
MapEntryKeyProductionException(String, Throwable) - Constructor for exception io.magus.methodmap.error.MapEntryKeyProductionException
 
MapEntryKeyProductionException(String, Throwable, boolean, boolean) - Constructor for exception io.magus.methodmap.error.MapEntryKeyProductionException
 
MapEntryKeyProductionException(Throwable) - Constructor for exception io.magus.methodmap.error.MapEntryKeyProductionException
 
MatchParams(Class<?>...) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory.MatchParams
 
MethodCollectionFactory - Interface in io.magus.methodmap
Interface encapsulating the factory pattern used to produce method collections for implementations of AbstractMethodMap.
MethodCollectionProductionException - Exception in io.magus.methodmap.error
Exception used to indicate that a MethodCollectionFactory could not produce a method collection.
MethodCollectionProductionException() - Constructor for exception io.magus.methodmap.error.MethodCollectionProductionException
 
MethodCollectionProductionException(String) - Constructor for exception io.magus.methodmap.error.MethodCollectionProductionException
 
MethodCollectionProductionException(String, Throwable) - Constructor for exception io.magus.methodmap.error.MethodCollectionProductionException
 
MethodCollectionProductionException(String, Throwable, boolean, boolean) - Constructor for exception io.magus.methodmap.error.MethodCollectionProductionException
 
MethodCollectionProductionException(Throwable) - Constructor for exception io.magus.methodmap.error.MethodCollectionProductionException
 
MethodHandleInfo - Class in io.magus.methodmap
The entry value for implementations of AbstractMethodMap.
MethodHandleInfo(Object, Method, MethodHandles.Lookup) - Constructor for class io.magus.methodmap.MethodHandleInfo
 
MethodMapDomain<K,V> - Class in io.magus.methodmap.domain
Instances of this class can contain subclasses of AbstractMethodMap.
MethodMapDomain() - Constructor for class io.magus.methodmap.domain.MethodMapDomain
 

P

produceArgs(MethodHandleInfo) - Method in interface io.magus.methodmap.ArgsFactory
Interface method called by invoke in subclasses of AbstractMethodMap to generate the arguments.
produceArgs(MethodHandleInfo) - Method in class io.magus.methodmap.json.JacksonArgsFactory
 
produceMapEntryKeys(MethodHandleInfo) - Method in class io.magus.methodmap.FullSignatureEntryKeyFactory
 
produceMapEntryKeys(MethodHandleInfo) - Method in interface io.magus.methodmap.MapEntryKeyFactory
 
produceMapEntryKeys(MethodHandleInfo) - Method in class io.magus.methodmap.StringKeysAnnotationKeyFactory
 
produceMethodCollection() - Method in class io.magus.methodmap.AbstractBoundMethodCollectionFactory
 
produceMethodCollection() - Method in interface io.magus.methodmap.MethodCollectionFactory
 
produceMethodCollection() - Method in class io.magus.methodmap.ReflectionsMethodCollectionFactory
 

R

ReflectionsMethodCollectionFactory - Class in io.magus.methodmap
MethodCollectionFactory that utilizes the Reflections library to generate method collections.
ReflectionsMethodCollectionFactory(Reflections, ReflectionsMethodCollectionFactory.AnnotatedWithAnnotation) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory
 
ReflectionsMethodCollectionFactory(Reflections, ReflectionsMethodCollectionFactory.AnnotatedWithAnnotationClass) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory
 
ReflectionsMethodCollectionFactory(Reflections, ReflectionsMethodCollectionFactory.MatchParams) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory
 
ReflectionsMethodCollectionFactory(Reflections, ReflectionsMethodCollectionFactory.Returns) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory
 
ReflectionsMethodCollectionFactory(Reflections, ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotation) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory
 
ReflectionsMethodCollectionFactory(Reflections, ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotationClass) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory
 
ReflectionsMethodCollectionFactory.AnnotatedWithAnnotation - Class in io.magus.methodmap
 
ReflectionsMethodCollectionFactory.AnnotatedWithAnnotationClass - Class in io.magus.methodmap
 
ReflectionsMethodCollectionFactory.GetMethodsParams - Interface in io.magus.methodmap
 
ReflectionsMethodCollectionFactory.MatchParams - Class in io.magus.methodmap
 
ReflectionsMethodCollectionFactory.Returns - Class in io.magus.methodmap
 
ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotation - Class in io.magus.methodmap
 
ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotationClass - Class in io.magus.methodmap
 
Returns(Class<?>) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory.Returns
 

S

StringKeys - Annotation Type in io.magus.methodmap
Annotation used to provide string-based key mapping decorations for methods.
StringKeysAnnotationKeyFactory - Class in io.magus.methodmap
Simple factory for generating map entry keys using the string list value of a StringKeys annotation present on the target method.
StringKeysAnnotationKeyFactory() - Constructor for class io.magus.methodmap.StringKeysAnnotationKeyFactory
 

U

UnmappedDomainException - Exception in io.magus.methodmap.domain.error
Exception used to indicate that there is no methodmap mapped to a given domain for invocations of getMethodMap(Object);
UnmappedDomainException() - Constructor for exception io.magus.methodmap.domain.error.UnmappedDomainException
 
UnmappedDomainException(String) - Constructor for exception io.magus.methodmap.domain.error.UnmappedDomainException
 
UnmappedDomainException(String, Throwable) - Constructor for exception io.magus.methodmap.domain.error.UnmappedDomainException
 
UnmappedDomainException(String, Throwable, boolean, boolean) - Constructor for exception io.magus.methodmap.domain.error.UnmappedDomainException
 
UnmappedDomainException(Throwable) - Constructor for exception io.magus.methodmap.domain.error.UnmappedDomainException
 
UnmappedKeyException - Exception in io.magus.methodmap.error
Exception used to indicate that there is no method mapped to a given key for invocations of AbstractMethodMap.getMethodHandleInfo(Object).
UnmappedKeyException() - Constructor for exception io.magus.methodmap.error.UnmappedKeyException
 
UnmappedKeyException(String) - Constructor for exception io.magus.methodmap.error.UnmappedKeyException
 
UnmappedKeyException(String, Throwable) - Constructor for exception io.magus.methodmap.error.UnmappedKeyException
 
UnmappedKeyException(String, Throwable, boolean, boolean) - Constructor for exception io.magus.methodmap.error.UnmappedKeyException
 
UnmappedKeyException(Throwable) - Constructor for exception io.magus.methodmap.error.UnmappedKeyException
 

W

WithAnyParamAnnotatedWithAnnotation(Annotation) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotation
 
WithAnyParamAnnotatedWithAnnotationClass(Class<? extends Annotation>) - Constructor for class io.magus.methodmap.ReflectionsMethodCollectionFactory.WithAnyParamAnnotatedWithAnnotationClass
 
A B D F G I J K M P R S U W 
Skip navigation links