Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractElement - Class in tools.devnull.trugger.element.impl
A common abstraction for an Element.
AbstractElement(String) - Constructor for class tools.devnull.trugger.element.impl.AbstractElement
 
addViolatedConstraint(Class<? extends Annotation>, Annotation) - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
and(Validator) - Method in interface tools.devnull.trugger.validation.Validator
Returns a validator that represents a short-circuiting logical AND of this validator and another.
andThen(InterceptionHandler) - Method in interface tools.devnull.trugger.interception.InterceptionHandler
Combines this interception with another one.
annotated() - Static method in class tools.devnull.trugger.element.ElementPredicates
A predicate that returns true if the element has annotations.
annotated() - Static method in class tools.devnull.trugger.reflection.ConstructorPredicates
 
annotated() - Static method in class tools.devnull.trugger.reflection.FieldPredicates
 
annotated() - Static method in class tools.devnull.trugger.reflection.MethodPredicates
 
annotated() - Static method in class tools.devnull.trugger.reflection.ReflectionPredicates
A predicate that returns true if the element has annotations.
annotatedElement - Variable in class tools.devnull.trugger.element.impl.AbstractElement
The element for retrieving annotation metadata.
annotatedWith(Class<? extends Annotation>) - Static method in class tools.devnull.trugger.element.ElementPredicates
 
annotatedWith(Class<? extends Annotation>) - Static method in class tools.devnull.trugger.reflection.ConstructorPredicates
 
annotatedWith(Class<? extends Annotation>) - Static method in class tools.devnull.trugger.reflection.FieldPredicates
 
annotatedWith(Class<? extends Annotation>) - Static method in class tools.devnull.trugger.reflection.MethodPredicates
 
annotatedWith(Class<? extends Annotation>) - Static method in class tools.devnull.trugger.reflection.ParameterPredicates
Returns a predicate that accepts parameters annotated with the given annotation type.
annotatedWith(Class<? extends Annotation>) - Static method in class tools.devnull.trugger.reflection.ReflectionPredicates
 
AnnotationElement - Class in tools.devnull.trugger.element.impl
Class that represents an Annotation property.
AnnotationElement(Method) - Constructor for class tools.devnull.trugger.element.impl.AnnotationElement
Creates a new AnnotationProperty based on the given method.
AnnotationElementFinder - Class in tools.devnull.trugger.element.impl
A default class for finding properties in annotations.
AnnotationElementFinder() - Constructor for class tools.devnull.trugger.element.impl.AnnotationElementFinder
 
annotationType() - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Predicate that returns true if a class is an annotation.
applying(Function<ElementCopy, ?>) - Method in interface tools.devnull.trugger.element.CopyDestination
Executes the given function to transform the elements before the copy.
applying(Function) - Method in class tools.devnull.trugger.element.impl.TruggerElementCopier
 
areAssignable(Class, Class) - Static method in class tools.devnull.trugger.util.Utils
Checks if both classes are assignable, including the autoboxing in case of a primitive class.
args() - Method in class tools.devnull.trugger.interception.impl.InterceptionContextImpl
 
args() - Method in interface tools.devnull.trugger.interception.InterceptionContext
 
ArgumentsValidator - Class in tools.devnull.trugger.validation
A class to help validating arguments of methods and constructors using a ValidatorFactory.
ArgumentsValidator() - Constructor for class tools.devnull.trugger.validation.ArgumentsValidator
Creates a new instance using the default factory.
ArgumentsValidator(ValidatorFactory) - Constructor for class tools.devnull.trugger.validation.ArgumentsValidator
Creates a new instance using the given validator factory.
ArrayElement - Class in tools.devnull.trugger.element.impl
 
ArrayElement(Object, int) - Constructor for class tools.devnull.trugger.element.impl.ArrayElement
 
ArrayElementFinder - Class in tools.devnull.trugger.element.impl
 
ArrayElementFinder() - Constructor for class tools.devnull.trugger.element.impl.ArrayElementFinder
 
arrayType() - Static method in class tools.devnull.trugger.reflection.ClassPredicates
A predicate that checks if the given element is an array.
assignableTo(Class<?>) - Static method in class tools.devnull.trugger.element.ElementPredicates
 
assignableTo(Class) - Static method in class tools.devnull.trugger.reflection.ClassPredicates
 
assignableTo(Class) - Static method in class tools.devnull.trugger.reflection.FieldPredicates
 
assignableTo(Class) - Static method in class tools.devnull.trugger.reflection.ParameterPredicates
Returns a predicate that accepts parameters compatible with the given type.

B

bridgedMethodFor(Method) - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
bridgedMethodFor(Method) - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects the bridged method of a given bridge method.

C

ClassElementsCache - Class in tools.devnull.trugger.element.impl
 
ClassElementsCache() - Constructor for class tools.devnull.trugger.element.impl.ClassElementsCache
 
classes() - Method in interface tools.devnull.trugger.scan.ClassScanner
Finds classes in a package
classes() - Method in class tools.devnull.trugger.scan.impl.TruggerClassScanner
 
ClassesSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for Class objects.
ClassIterator - Class in tools.devnull.trugger.util
An iterator that uses a class hierarchy.
ClassIterator(Object) - Constructor for class tools.devnull.trugger.util.ClassIterator
 
ClassIterator(Class) - Constructor for class tools.devnull.trugger.util.ClassIterator
 
ClassPredicates - Class in tools.devnull.trugger.reflection
A set of predicates to use with Class objects.
ClassScan - Class in tools.devnull.trugger.scan
A helper class for finding classes.
ClassScanner - Interface in tools.devnull.trugger.scan
Interface that defines a class capable of scanning other classes in the classpath.
ClassScannerFactory - Interface in tools.devnull.trugger.scan
Interface that defines a factory for the class finding operation.
ClassScanningException - Exception in tools.devnull.trugger.scan
Exception thrown to indicate an error while searching for classes.
ClassScanningException() - Constructor for exception tools.devnull.trugger.scan.ClassScanningException
Creates a new ClassFindingException.
ClassScanningException(String) - Constructor for exception tools.devnull.trugger.scan.ClassScanningException
Creates a new ClassFindingException with the given message.
ClassScanningException(String, Object...) - Constructor for exception tools.devnull.trugger.scan.ClassScanningException
Creates a new ClassFindingException with a formatted message.
ClassScanningException(Throwable, String, Object...) - Constructor for exception tools.devnull.trugger.scan.ClassScanningException
Creates a new ClassFindingException with the given cause and message
ClassScanningException(String, Throwable) - Constructor for exception tools.devnull.trugger.scan.ClassScanningException
Creates a new ClassFindingException with the given cause and message
ClassScanningException(Throwable) - Constructor for exception tools.devnull.trugger.scan.ClassScanningException
Creates a new ClassFindingException with the given cause.
classType() - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Predicate that returns true if a class is not an interface and is not an enum.
ComponentFactory<T extends java.lang.annotation.Annotation,E> - Class in tools.devnull.trugger.util.factory
A factory to create components specified by annotations.
ComponentFactory(Class<T>) - Constructor for class tools.devnull.trugger.util.factory.ComponentFactory
Creates a new factory that searches for the implementation by looking at the "value" property of the annotation.
ComponentFactory(Class<T>, String) - Constructor for class tools.devnull.trugger.util.factory.ComponentFactory
Creates a new factory that searches for the implementation by looking at the given property name of the annotation.
constructor() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
constructor() - Static method in class tools.devnull.trugger.reflection.Reflection
The same as reflect().constructor()
constructor() - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects a constructor with the specified parameters in a target.
ConstructorFinder - Class in tools.devnull.trugger.reflection.impl
 
ConstructorFinder(Class[]) - Constructor for class tools.devnull.trugger.reflection.impl.ConstructorFinder
 
constructorFinder(Class...) - Method in class tools.devnull.trugger.reflection.impl.DeclaredMemberFindersRegistry
 
constructorFinder(Class...) - Method in interface tools.devnull.trugger.reflection.impl.MemberFindersRegistry
 
constructorFinder(Class...) - Method in class tools.devnull.trugger.reflection.impl.VisibleMemberFindersRegistry
 
ConstructorInvoker - Interface in tools.devnull.trugger.reflection
Interface that defines a class capable of invoking a Constructor.
ConstructorPredicates - Class in tools.devnull.trugger.reflection
A set of predicates to use with Constructor objects.
constructors() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
constructors() - Static method in class tools.devnull.trugger.reflection.Reflection
The same as reflect().constructors()
constructors() - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects all the constructors.
ConstructorSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for a single Constructor object.
ConstructorsFinder - Class in tools.devnull.trugger.reflection.impl
 
ConstructorsFinder() - Constructor for class tools.devnull.trugger.reflection.impl.ConstructorsFinder
 
constructorsFinder() - Method in class tools.devnull.trugger.reflection.impl.DeclaredMemberFindersRegistry
 
constructorsFinder() - Method in interface tools.devnull.trugger.reflection.impl.MemberFindersRegistry
 
constructorsFinder() - Method in class tools.devnull.trugger.reflection.impl.VisibleMemberFindersRegistry
 
ConstructorsSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for Constructor objects.
Context - Interface in tools.devnull.trugger.util.factory
Interface that defines a context to create a object.
context() - Method in class tools.devnull.trugger.util.factory.ContextFactory
Returns the context used by this factory.
ContextFactory - Class in tools.devnull.trugger.util.factory
A class that can create objects based on a Context.
ContextFactory() - Constructor for class tools.devnull.trugger.util.factory.ContextFactory
Creates a new instance using a default context implementation
ContextFactory(Context) - Constructor for class tools.devnull.trugger.util.factory.ContextFactory
Creates a new instance using the given context implementation
copy() - Static method in class tools.devnull.trugger.element.Elements
Copies elements through objects.
copy(ElementsSelector) - Static method in class tools.devnull.trugger.element.Elements
Copies the elements returned by the given selector through objects.
CopyDestination - Interface in tools.devnull.trugger.element
Interface for defining a destination to a copy.
create(Annotation) - Method in class tools.devnull.trugger.util.factory.ComponentFactory
Tries to create the component based on the given annotation.
create(AnnotatedElement) - Method in class tools.devnull.trugger.util.factory.ComponentFactory
Creates a component using the first annotation that maps to a component.
create(Class<E>) - Method in class tools.devnull.trugger.util.factory.ContextFactory
Creates a new instance of the given type by looping through its public constructors to find one which all parameters are resolved by the context.
create(Annotation) - Method in class tools.devnull.trugger.validation.impl.TruggerValidatorFactory
 
create(Annotation, Element, Object, ValidationEngine) - Method in class tools.devnull.trugger.validation.impl.TruggerValidatorFactory
 
create(Annotation) - Method in interface tools.devnull.trugger.validation.ValidatorFactory
Creates a validator that the given constraint defines.
create(Annotation, Element, Object, ValidationEngine) - Method in interface tools.devnull.trugger.validation.ValidatorFactory
Creates a validator based on the given constraint and context objects.
createAll(AnnotatedElement) - Method in class tools.devnull.trugger.util.factory.ComponentFactory
Creates a list of components based on the annotations of the given element.
createClassScanner() - Method in interface tools.devnull.trugger.scan.ClassScannerFactory
Creates the implementation for the class finding operation.
createClassScanner() - Method in class tools.devnull.trugger.scan.impl.TruggerClassScannerFactory
Returns a new instance of TruggerClassScanner.
createElementCopier() - Method in interface tools.devnull.trugger.element.ElementFactory
Creates a new ElementCopier for all elements.
createElementCopier(ElementsSelector) - Method in interface tools.devnull.trugger.element.ElementFactory
Creates a new ElementCopier for the elements returned by the given selector
createElementCopier() - Method in class tools.devnull.trugger.element.impl.TruggerElementFactory
 
createElementCopier(ElementsSelector) - Method in class tools.devnull.trugger.element.impl.TruggerElementFactory
 
createElementSelector(String) - Method in interface tools.devnull.trugger.element.ElementFactory
Creates a selector for an Element object.
createElementSelector(String) - Method in class tools.devnull.trugger.element.impl.TruggerElementFactory
Returns a new TruggerElementSelector.
createElementsSelector() - Method in interface tools.devnull.trugger.element.ElementFactory
Creates a selector for a set of Element objects.
createElementsSelector() - Method in class tools.devnull.trugger.element.impl.TruggerElementFactory
CreateException - Exception in tools.devnull.trugger.util.factory
Exception thrown when an error occurs while creating an object.
CreateException() - Constructor for exception tools.devnull.trugger.util.factory.CreateException
 
CreateException(String) - Constructor for exception tools.devnull.trugger.util.factory.CreateException
 
CreateException(String, Throwable) - Constructor for exception tools.devnull.trugger.util.factory.CreateException
 
CreateException(Throwable) - Constructor for exception tools.devnull.trugger.util.factory.CreateException
 
createHandler(Field) - Method in class tools.devnull.trugger.reflection.impl.TruggerReflectionFactory
 
createHandler(Field) - Method in interface tools.devnull.trugger.reflection.ReflectionFactory
 
createInterceptor(Class) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptorFactory
 
createInterceptor(Class[]) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptorFactory
 
createInterceptor(Object) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptorFactory
 
createInterceptor(Class) - Method in interface tools.devnull.trugger.interception.InterceptorFactory
Creates an interceptor for the given interface.
createInterceptor(Class[]) - Method in interface tools.devnull.trugger.interception.InterceptorFactory
Creates an interceptor for the given interfaces.
createInterceptor(Object) - Method in interface tools.devnull.trugger.interception.InterceptorFactory
Creates an interceptor for the given target.
createInvoker(Method) - Method in class tools.devnull.trugger.reflection.impl.TruggerReflectionFactory
 
createInvoker(Constructor<?>) - Method in class tools.devnull.trugger.reflection.impl.TruggerReflectionFactory
 
createInvoker(Method) - Method in interface tools.devnull.trugger.reflection.ReflectionFactory
 
createInvoker(Constructor<?>) - Method in interface tools.devnull.trugger.reflection.ReflectionFactory
 
createReflector() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflectionFactory
 
createReflector() - Method in interface tools.devnull.trugger.reflection.ReflectionFactory
 
createValidationEngine() - Method in class tools.devnull.trugger.validation.impl.TruggerValidationFactory
 
createValidationEngine() - Method in interface tools.devnull.trugger.validation.ValidationFactory
Returns the validation engine to perform target validations.
createValidatorFactory() - Method in class tools.devnull.trugger.validation.impl.TruggerValidationFactory
 
createValidatorFactory() - Method in interface tools.devnull.trugger.validation.ValidationFactory
Returns the validator factory to create validator components.

D

declared() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
declared() - Method in interface tools.devnull.trugger.reflection.Reflector
Indicates to reflect a declared element (besides its access modifiers).
DeclaredConstructorFinder - Class in tools.devnull.trugger.reflection.impl
 
DeclaredConstructorFinder(Class[]) - Constructor for class tools.devnull.trugger.reflection.impl.DeclaredConstructorFinder
 
DeclaredConstructorsFinder - Class in tools.devnull.trugger.reflection.impl
 
DeclaredConstructorsFinder() - Constructor for class tools.devnull.trugger.reflection.impl.DeclaredConstructorsFinder
 
DeclaredFieldFinder - Class in tools.devnull.trugger.reflection.impl
 
DeclaredFieldFinder(String) - Constructor for class tools.devnull.trugger.reflection.impl.DeclaredFieldFinder
 
DeclaredFieldsFinder - Class in tools.devnull.trugger.reflection.impl
 
DeclaredFieldsFinder() - Constructor for class tools.devnull.trugger.reflection.impl.DeclaredFieldsFinder
 
DeclaredMemberFindersRegistry - Class in tools.devnull.trugger.reflection.impl
 
DeclaredMemberFindersRegistry() - Constructor for class tools.devnull.trugger.reflection.impl.DeclaredMemberFindersRegistry
 
DeclaredMethodFinder - Class in tools.devnull.trugger.reflection.impl
 
DeclaredMethodFinder(String, Class[]) - Constructor for class tools.devnull.trugger.reflection.impl.DeclaredMethodFinder
 
DeclaredMethodsFinder - Class in tools.devnull.trugger.reflection.impl
 
DeclaredMethodsFinder() - Constructor for class tools.devnull.trugger.reflection.impl.DeclaredMethodsFinder
 
declaring(int...) - Static method in class tools.devnull.trugger.reflection.ClassPredicates
 
declaring(int...) - Static method in class tools.devnull.trugger.reflection.ReflectionPredicates
 
declaringClass() - Method in interface tools.devnull.trugger.element.Element
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.AnnotationElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.ArrayElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.ListElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.MapElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.ObjectElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.PropertiesElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.ResourceBundleElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.ResultSetElement
 
declaringClass() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
declaringClass() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
deep() - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldSelector
 
deep() - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldsSelector
 
deep() - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodSelector
 
deep() - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodsSelector
 
deep() - Method in class tools.devnull.trugger.scan.impl.TruggerClassesSelector
 
deep() - Method in interface tools.devnull.trugger.selector.ClassesSelector
Scans the subpackages in addition to the given package
deep() - Method in interface tools.devnull.trugger.selector.DeepSelector
Selects using a deep operation.
deep() - Method in interface tools.devnull.trugger.selector.FieldSelector
 
deep() - Method in interface tools.devnull.trugger.selector.FieldsSelector
 
deep() - Method in interface tools.devnull.trugger.selector.MethodSelector
 
deep() - Method in interface tools.devnull.trugger.selector.MethodsSelector
 
deepFind(URL, String) - Method in class tools.devnull.trugger.scan.impl.FileResourceFinder
 
deepFind(URL, String) - Method in class tools.devnull.trugger.scan.impl.JarResourceFinder
 
deepFind(URL, String) - Method in class tools.devnull.trugger.scan.impl.VfsFileResourceFinder
 
deepFind(URL, String) - Method in class tools.devnull.trugger.scan.impl.VfsResourceFinder
 
deepFind(URL, String) - Method in class tools.devnull.trugger.scan.impl.VfsZipResourceFinder
 
deepFind(URL, String) - Method in interface tools.devnull.trugger.scan.ResourceFinder
Returns a set of resource names present in the specified package and its subpackages on the given path.
deepScan(String) - Method in interface tools.devnull.trugger.scan.impl.Scanner
 
deepScan(String) - Method in class tools.devnull.trugger.scan.impl.TruggerScanner
 
DeepSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector that allows deep operations.
DefaultContext - Class in tools.devnull.trugger.util.factory
 
DefaultContext() - Constructor for class tools.devnull.trugger.util.factory.DefaultContext
 
defaults() - Static method in class tools.devnull.trugger.util.factory.ComponentFactory
Returns the default consumer to configure the context for creating components.
defaults() - Static method in class tools.devnull.trugger.util.factory.ContextFactory
The default function to create objects.
delegate() - Static method in interface tools.devnull.trugger.interception.InterceptionHandler
Returns a handler that delegates the intercepted method to the target.
dest() - Method in interface tools.devnull.trugger.element.ElementCopy
 
DomainValidator - Class in tools.devnull.trugger.validation.validator
Validator that validates a group of constraints inside a constraint.
DomainValidator(ValidatorFactory, Annotation, Object, Element, ValidationEngine) - Constructor for class tools.devnull.trugger.validation.validator.DomainValidator
 

E

Element - Interface in tools.devnull.trugger.element
Interface that defines an element of a class or an object.
element(String) - Static method in class tools.devnull.trugger.element.Elements
Selects an element.
element() - Static method in class tools.devnull.trugger.element.Elements
Selects a single element.
ElementCopier - Interface in tools.devnull.trugger.element
Interface that defines a class that copies elements from a target to another.
ElementCopy - Interface in tools.devnull.trugger.element
Interface that defines a copy of an Element.
ElementFactory - Interface in tools.devnull.trugger.element
Interface that defines a factory for Element objects operations.
ElementPredicates - Class in tools.devnull.trugger.element
An utility class for helping the use of predicates for elements.
Elements - Class in tools.devnull.trugger.element
A class for helping Element selection.
elements() - Static method in class tools.devnull.trugger.element.Elements
Selects a set of elements.
ElementSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for Element objects.
ElementsSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for Element objects.
engine() - Static method in class tools.devnull.trugger.validation.Validation
Returns the engine for doing validations.
entries() - Method in class tools.devnull.trugger.util.registry.MapRegistry
 
entries() - Method in interface tools.devnull.trugger.util.registry.Registry
 
enumType() - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Predicate that returns true if a class is an enum.

F

factory() - Static method in class tools.devnull.trugger.validation.Validation
Returns the factory to create validators.
field(String) - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
field(String) - Static method in class tools.devnull.trugger.reflection.Reflection
The same as reflect().field(String)
field(String) - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects a field with the specified name in a target.
fieldFinder(String) - Method in class tools.devnull.trugger.reflection.impl.DeclaredMemberFindersRegistry
 
FieldFinder - Class in tools.devnull.trugger.reflection.impl
 
FieldFinder(String) - Constructor for class tools.devnull.trugger.reflection.impl.FieldFinder
 
fieldFinder(String) - Method in interface tools.devnull.trugger.reflection.impl.MemberFindersRegistry
 
fieldFinder(String) - Method in class tools.devnull.trugger.reflection.impl.VisibleMemberFindersRegistry
 
FieldHandler - Interface in tools.devnull.trugger.reflection
A handler for Field objects.
FieldPredicates - Class in tools.devnull.trugger.reflection
A set of predicates to use with Field objects.
fields() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
fields() - Static method in class tools.devnull.trugger.reflection.Reflection
The same as reflect().fields()
fields() - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects all fields in a target.
FieldSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for a single Field object assuming that the name was specified before.
FieldSelectorHandler - Class in tools.devnull.trugger.reflection.impl
 
FieldSelectorHandler(FieldSelector) - Constructor for class tools.devnull.trugger.reflection.impl.FieldSelectorHandler
 
FieldSelectorHandler(FieldSelector, Object) - Constructor for class tools.devnull.trugger.reflection.impl.FieldSelectorHandler
 
fieldsFinder() - Method in class tools.devnull.trugger.reflection.impl.DeclaredMemberFindersRegistry
 
FieldsFinder - Class in tools.devnull.trugger.reflection.impl
 
FieldsFinder() - Constructor for class tools.devnull.trugger.reflection.impl.FieldsFinder
 
fieldsFinder() - Method in interface tools.devnull.trugger.reflection.impl.MemberFindersRegistry
 
fieldsFinder() - Method in class tools.devnull.trugger.reflection.impl.VisibleMemberFindersRegistry
 
FieldsSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for Field objects.
FileResourceFinder - Class in tools.devnull.trugger.scan.impl
A class capable of search classes in a file/directory resource.
FileResourceFinder() - Constructor for class tools.devnull.trugger.scan.impl.FileResourceFinder
 
filter(Predicate<? super ElementCopy>) - Method in interface tools.devnull.trugger.element.CopyDestination
Filter the elements to copy by testing with the given predicate.
filter(Predicate<? super ElementCopy>) - Method in class tools.devnull.trugger.element.impl.TruggerElementCopier
 
filter(Predicate<? super Element>) - Method in class tools.devnull.trugger.element.impl.TruggerElementSelector
 
filter(Predicate<? super Element>) - Method in class tools.devnull.trugger.element.impl.TruggerElementsSelector
 
filter(Predicate<? super Constructor<?>>) - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorSelector
 
filter(Predicate<? super Constructor<?>>) - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorsSelector
 
filter(Predicate<? super Field>) - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldSelector
 
filter(Predicate<? super Field>) - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldsSelector
 
filter(Predicate<? super Method>) - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodSelector
 
filter(Predicate<? super Method>) - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodsSelector
 
filter(Predicate<? super Class>) - Method in class tools.devnull.trugger.scan.impl.TruggerClassesSelector
 
filter(Predicate<? super Class>) - Method in interface tools.devnull.trugger.selector.ClassesSelector
 
filter(Predicate<? super Constructor<?>>) - Method in interface tools.devnull.trugger.selector.ConstructorSelector
 
filter(Predicate<? super Constructor<?>>) - Method in interface tools.devnull.trugger.selector.ConstructorsSelector
 
filter(Predicate<? super Element>) - Method in interface tools.devnull.trugger.selector.ElementSelector
 
filter(Predicate<? super Element>) - Method in interface tools.devnull.trugger.selector.ElementsSelector
 
filter(Predicate<? super Field>) - Method in interface tools.devnull.trugger.selector.FieldSelector
 
filter(Predicate<? super Field>) - Method in interface tools.devnull.trugger.selector.FieldsSelector
 
filter(Predicate<? super Method>) - Method in interface tools.devnull.trugger.selector.MethodSelector
 
filter(Predicate<? super Method>) - Method in interface tools.devnull.trugger.selector.MethodsSelector
 
filter(Predicate<? super T>) - Method in interface tools.devnull.trugger.selector.PredicateSelector
Selects the elements that matches with the given predicate.
filter(Predicate<Element>) - Method in class tools.devnull.trugger.validation.impl.MergeValidationEngine
 
filter(Predicate<Element>) - Method in class tools.devnull.trugger.validation.impl.TruggerValidationEngine
 
filter(Predicate<Element>) - Method in interface tools.devnull.trugger.validation.ValidationEngine
Validates only the elements that matches the given filter.
find(String) - Method in class tools.devnull.trugger.element.impl.AnnotationElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.ArrayElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.ListElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.MapElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.ObjectElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.PropertiesElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.ResourceBundleElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.ResultSetElementFinder
 
find(String) - Method in class tools.devnull.trugger.element.impl.TruggerElementFinder
 
find(String) - Method in interface tools.devnull.trugger.Finder
Finds the object with the specified name in a target.
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.ConstructorFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.ConstructorsFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.DeclaredConstructorFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.DeclaredConstructorsFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.DeclaredFieldFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.DeclaredFieldsFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.DeclaredMethodFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.DeclaredMethodsFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.FieldFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.FieldsFinder
 
find(Class<?>) - Method in interface tools.devnull.trugger.reflection.impl.MemberFinder
Finds the object in the specified type.
find(Class<?>) - Method in interface tools.devnull.trugger.reflection.impl.MembersFinder
Finds the object in the specified type.
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.MethodFinder
 
find(Class<?>) - Method in class tools.devnull.trugger.reflection.impl.MethodsFinder
 
find(URL, String) - Method in class tools.devnull.trugger.scan.impl.FileResourceFinder
 
find(URL, String) - Method in class tools.devnull.trugger.scan.impl.JarResourceFinder
 
find(URL, String) - Method in class tools.devnull.trugger.scan.impl.VfsFileResourceFinder
 
find(URL, String) - Method in class tools.devnull.trugger.scan.impl.VfsResourceFinder
 
find(URL, String) - Method in class tools.devnull.trugger.scan.impl.VfsZipResourceFinder
 
find(URL, String, boolean) - Method in class tools.devnull.trugger.scan.impl.VfsZipResourceFinder
 
find(URL, String) - Method in interface tools.devnull.trugger.scan.ResourceFinder
Returns a set of resource names present in the specified package on the given path.
findAll() - Method in class tools.devnull.trugger.element.impl.AnnotationElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.ArrayElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.ListElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.MapElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.ObjectElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.PropertiesElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.ResourceBundleElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.ResultSetElementFinder
 
findAll() - Method in class tools.devnull.trugger.element.impl.TruggerElementFinder
 
findAll() - Method in interface tools.devnull.trugger.Finder
Finds all objects in a target.
Finder<T> - Interface in tools.devnull.trugger
Interface that defines a class capable of search a source for specific objects.
finderFor(String) - Method in interface tools.devnull.trugger.scan.ClassScannerFactory
Returns the registered ResourceFinder for the specified protocol.
finderFor(String) - Method in class tools.devnull.trugger.scan.impl.TruggerClassScannerFactory
 
from(Object) - Method in interface tools.devnull.trugger.element.ElementCopier
Sets the source object and copies the elements.
from(Object) - Method in class tools.devnull.trugger.element.impl.TruggerElementCopier
 

G

genericType(String) - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
genericType() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
genericType(String) - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects the generic type parameter declared in a target.
genericType() - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects the generic type parameter declared in a target.
get(Object) - Method in class tools.devnull.trugger.element.impl.ClassElementsCache
 
get(Object, String) - Method in class tools.devnull.trugger.element.impl.ClassElementsCache
 
get(int) - Method in class tools.devnull.trugger.element.impl.NestedElement
 
get(Class<E>) - Static method in class tools.devnull.trugger.util.ImplementationLoader
Returns the implementation for a given class.
getAnnotation(Class<T>) - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
getAnnotation(Class<T>) - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
getAnnotation(Class<T>) - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
getAnnotations() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
getAnnotations() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
getAnnotations() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
getDeclaredAnnotations() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
getDeclaredAnnotations() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
getDeclaredAnnotations() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
getFirst() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
getLast() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
getPath() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
getter() - Static method in class tools.devnull.trugger.reflection.MethodPredicates
A predicate that returns true if the evaluated method is a getter method.
getterOf(String) - Static method in class tools.devnull.trugger.reflection.MethodPredicates
 
getterOf(Field) - Static method in class tools.devnull.trugger.reflection.MethodPredicates
 
GreaterThan - Annotation Type in tools.devnull.trugger.validation.validator
Indicates that the value should be greater than another value.
GreaterThanValidator - Class in tools.devnull.trugger.validation.validator
Validator that checks if the value is less than another value.
GreaterThanValidator(Comparable, boolean) - Constructor for class tools.devnull.trugger.validation.validator.GreaterThanValidator
 

H

handle(InterceptionContext, Throwable) - Method in interface tools.devnull.trugger.interception.InterceptionFailHandler
Handles the error.
handle(Field) - Static method in class tools.devnull.trugger.reflection.Reflection
Uses the ReflectionFactory for creating a FieldHandler instance.
handle(FieldSelector) - Static method in class tools.devnull.trugger.reflection.Reflection
Handles the field selected by the given selector.
HandlingException - Exception in tools.devnull.trugger
Exception thrown when an error occurs while handling a value.
HandlingException() - Constructor for exception tools.devnull.trugger.HandlingException
Creates a new HandlingException.
HandlingException(String) - Constructor for exception tools.devnull.trugger.HandlingException
Creates a new HandlingException with the given message.
HandlingException(String, Throwable) - Constructor for exception tools.devnull.trugger.HandlingException
Creates a new HandlingException with the given cause and message
HandlingException(Throwable) - Constructor for exception tools.devnull.trugger.HandlingException
Creates a new HandlingException with the given cause.
hasNext() - Method in class tools.devnull.trugger.util.ClassIterator
 
hasRegistryFor(K) - Method in class tools.devnull.trugger.util.registry.MapRegistry
 
hasRegistryFor(K) - Method in interface tools.devnull.trugger.util.registry.Registry
Checks if the key is registered.
hierarchyOf(Object) - Static method in class tools.devnull.trugger.reflection.Reflection
 

I

ImplementationLoader - Class in tools.devnull.trugger.util
A class used for loading implementations for the DSLs exposed by this framework.
in(Object) - Method in interface tools.devnull.trugger.element.Element
Handles this element on the given target (if applies).
in(Object) - Method in class tools.devnull.trugger.element.impl.AnnotationElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.ArrayElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.ListElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.MapElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.NestedElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.ObjectElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.PropertiesElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.ResourceBundleElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.ResultSetElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
in(Object) - Method in class tools.devnull.trugger.element.impl.TruggerElementSelector
 
in(Object) - Method in class tools.devnull.trugger.element.impl.TruggerElementsSelector
 
in(Object) - Method in interface tools.devnull.trugger.reflection.FieldHandler
Handles the value on a given instance (use this if the field is not static).
in(Object) - Method in class tools.devnull.trugger.reflection.impl.FieldSelectorHandler
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.MemberSelector
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.MembersSelector
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.MethodSelectorInvoker
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorSelector
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorsSelector
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldHandler
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldSelector
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldsSelector
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodInvoker
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodSelector
 
in(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodsSelector
 
in(Object) - Method in interface tools.devnull.trugger.reflection.MethodInvoker
Indicates the instance that the method must be invoked.
in(Target) - Method in interface tools.devnull.trugger.Result
Computes the request based on the given target and previous configurations.
in(String) - Method in class tools.devnull.trugger.scan.impl.TruggerClassesSelector
 
in(String) - Method in interface tools.devnull.trugger.selector.ClassesSelector
Scans the packages for classes.
in(Object) - Method in interface tools.devnull.trugger.selector.ConstructorSelector
Selects the single constructor matching the previously specified selectors.
in(Object) - Method in interface tools.devnull.trugger.selector.MethodSelector
Selects the single method matching the previously specified selectors.
in(Object) - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
intercept(Class) - Static method in class tools.devnull.trugger.interception.Interception
Creates an interceptor for the given interface
intercept(Class...) - Static method in class tools.devnull.trugger.interception.Interception
Creates an interceptor for the given interfaces
intercept(Object) - Static method in class tools.devnull.trugger.interception.Interception
Creates an interceptor for the given target.
intercept(InterceptionContext) - Method in interface tools.devnull.trugger.interception.InterceptionHandler
Intercepts the method call.
intercept(InterceptionContext) - Method in class tools.devnull.trugger.interception.ValidationInterceptionHandler
 
Interception - Class in tools.devnull.trugger.interception
A class for helping create proxy instances
InterceptionContext - Interface in tools.devnull.trugger.interception
Interface that holds a context of a method interception.
InterceptionContextImpl - Class in tools.devnull.trugger.interception.impl
This class holds the parameters of a method interception.
InterceptionContextImpl(Object, Object, Method, Object[]) - Constructor for class tools.devnull.trugger.interception.impl.InterceptionContextImpl
Creates a new InterceptionContextImpl
InterceptionFailHandler - Interface in tools.devnull.trugger.interception
Interface that defines a handler to deal with interception fails.
InterceptionHandler - Interface in tools.devnull.trugger.interception
Interface that defines an action while intercepting a method call.
Interceptor - Interface in tools.devnull.trugger.interception
Interface that defines a component capable of creating proxy objects to intercept methods.
InterceptorFactory - Interface in tools.devnull.trugger.interception
A factory to create interceptors.
interfaces() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
interfaces() - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects all interfaces that a target implements.
interfaceType() - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Predicate that returns true if a class is an interface and is not an annotation.
InvalidElement - Interface in tools.devnull.trugger.validation
Interface that represents an invalid element.
invalidElement(String) - Method in interface tools.devnull.trugger.validation.ValidationResult
 
InvalidElementImpl - Class in tools.devnull.trugger.validation.impl
Default implementation of an invalid element.
InvalidElementImpl(Element, Object) - Constructor for class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
InvalidElementImpl(Element, Object, Collection<Annotation>) - Constructor for class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
invalidElements() - Method in interface tools.devnull.trugger.validation.ValidationResult
 
invalidValue() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
invalidValue() - Method in interface tools.devnull.trugger.validation.InvalidElement
Returns the invalid value.
invoke() - Method in class tools.devnull.trugger.interception.impl.InterceptionContextImpl
 
invoke(Object, Method, Object[]) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
invoke() - Method in interface tools.devnull.trugger.interception.InterceptionContext
Invokes the intercepted method on the target object.
invoke(Method) - Static method in class tools.devnull.trugger.reflection.Reflection
Uses the ReflectionFactory for creating a MethodInvoker instance.
invoke(Constructor<?>) - Static method in class tools.devnull.trugger.reflection.Reflection
Uses the ReflectionFactory for creating a ConstructorInvoker instance.
invoke(MethodSelector) - Static method in class tools.devnull.trugger.reflection.Reflection
Invokes the method selected by the given selector.
invokeOn(Object) - Method in class tools.devnull.trugger.interception.impl.InterceptionContextImpl
 
invokeOn(Object) - Method in interface tools.devnull.trugger.interception.InterceptionContext
Invokes the intercepted method on the given target object.
Invoker - Interface in tools.devnull.trugger
Interface that defines a class capable of invoking a object with the possibility of passing arguments.
isAnnotationPresent(Class<? extends Annotation>) - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
isAnnotationPresent(Class<? extends Annotation>) - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
isConstraintViolated(Class<? extends Annotation>) - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
isConstraintViolated(Class<? extends Annotation>) - Method in interface tools.devnull.trugger.validation.InvalidElement
 
isElementInvalid(String) - Method in interface tools.devnull.trugger.validation.ValidationResult
 
isFinal(Member) - Static method in class tools.devnull.trugger.reflection.Reflection
 
isInvalid() - Method in interface tools.devnull.trugger.validation.ValidationResult
 
isPrivate(Member) - Static method in class tools.devnull.trugger.reflection.Reflection
 
isPublic(Member) - Static method in class tools.devnull.trugger.reflection.Reflection
 
isReadable() - Method in interface tools.devnull.trugger.element.Element
 
isReadable() - Method in class tools.devnull.trugger.element.impl.AnnotationElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.ArrayElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.ListElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.MapElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.ObjectElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.PropertiesElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.ResourceBundleElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.ResultSetElement
 
isReadable() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
isReadable() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
isSpecific() - Method in interface tools.devnull.trugger.element.Element
Checks if this element is specific for a target.
isSpecific() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
isSpecific() - Method in class tools.devnull.trugger.element.impl.ArrayElement
 
isSpecific() - Method in class tools.devnull.trugger.element.impl.ListElement
 
isSpecific() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
isSpecific() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
isSpecific() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
isStatic(Member) - Static method in class tools.devnull.trugger.reflection.Reflection
 
isValid(Executable, Object...) - Method in class tools.devnull.trugger.validation.ArgumentsValidator
Checks if the arguments are valid using the annotations defined in the parameters.
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.DomainValidator
 
isValid(Comparable) - Method in class tools.devnull.trugger.validation.validator.GreaterThanValidator
 
isValid(T) - Method in interface tools.devnull.trugger.validation.Validator
Validates the value according to the constraints defined by this validator.
isValid(Comparable) - Method in class tools.devnull.trugger.validation.validator.LessThanValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.MaxValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.MinValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.MultiTypeValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.NotEmptyValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.NotNullValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.PatternValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.SizeValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.ValidsValidator
 
isValid(Object) - Method in class tools.devnull.trugger.validation.validator.ValidValidator
 
isWritable() - Method in interface tools.devnull.trugger.element.Element
 
isWritable() - Method in class tools.devnull.trugger.element.impl.AnnotationElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.ArrayElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.ListElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.MapElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.ObjectElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.PropertiesElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.ResourceBundleElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.ResultSetElement
 
isWritable() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
isWritable() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 

J

JarResourceFinder - Class in tools.devnull.trugger.scan.impl
A class capable of search classes in a jar resource.
JarResourceFinder() - Constructor for class tools.devnull.trugger.scan.impl.JarResourceFinder
 

K

key() - Method in interface tools.devnull.trugger.util.registry.Registry.Entry
 
key() - Method in class tools.devnull.trugger.util.registry.RegistryEntry
 

L

LessThan - Annotation Type in tools.devnull.trugger.validation.validator
Indicates that the value should be less than another value.
LessThanValidator - Class in tools.devnull.trugger.validation.validator
Validator that checks if the value is less than another value.
LessThanValidator(Comparable, boolean) - Constructor for class tools.devnull.trugger.validation.validator.LessThanValidator
 
ListElement - Class in tools.devnull.trugger.element.impl
 
ListElement(List, int) - Constructor for class tools.devnull.trugger.element.impl.ListElement
 
ListElementFinder - Class in tools.devnull.trugger.element.impl
 
ListElementFinder() - Constructor for class tools.devnull.trugger.element.impl.ListElementFinder
 
loadElements(Class, Map<String, Element>) - Method in class tools.devnull.trugger.element.impl.ClassElementsCache
 

M

map - Variable in class tools.devnull.trugger.util.registry.MapRegistry
The map used by this register.
map(Class<E>) - Method in class tools.devnull.trugger.validation.validator.MultiTypeValidator
Maps a validator to use when the value is assignable to the given type.
mapArray() - Method in class tools.devnull.trugger.validation.validator.MultiTypeValidator
Maps a validator to use when the value is an array.
MapElement - Class in tools.devnull.trugger.element.impl
 
MapElement(String) - Constructor for class tools.devnull.trugger.element.impl.MapElement
 
MapElementFinder - Class in tools.devnull.trugger.element.impl
 
MapElementFinder() - Constructor for class tools.devnull.trugger.element.impl.MapElementFinder
 
mapOthers() - Method in class tools.devnull.trugger.validation.validator.MultiTypeValidator
Maps a validator to the other object types.
MapRegistry<K,V> - Class in tools.devnull.trugger.util.registry
A simple registry that uses a Map as the storage.
MapRegistry() - Constructor for class tools.devnull.trugger.util.registry.MapRegistry
 
MapRegistry(Map<K, V>) - Constructor for class tools.devnull.trugger.util.registry.MapRegistry
 
Max - Annotation Type in tools.devnull.trugger.validation.validator
Constraint that defines a maximum value that an element should have.
MaxValidator - Class in tools.devnull.trugger.validation.validator
Validator that checks a maximum size requirement.
MaxValidator(double, boolean, double) - Constructor for class tools.devnull.trugger.validation.validator.MaxValidator
 
MemberFinder<T extends java.lang.reflect.Member> - Interface in tools.devnull.trugger.reflection.impl
Interface that defines a class capable of find Member objects.
MemberFindersRegistry - Interface in tools.devnull.trugger.reflection.impl
 
MemberSelector<T extends java.lang.reflect.Member> - Class in tools.devnull.trugger.reflection.impl
A base class for selecting a single Member object.
MemberSelector(MemberFinder<T>, Predicate<? super T>, boolean) - Constructor for class tools.devnull.trugger.reflection.impl.MemberSelector
 
MemberSelector(MemberFinder<T>, Predicate<? super T>) - Constructor for class tools.devnull.trugger.reflection.impl.MemberSelector
 
MembersFinder<T extends java.lang.reflect.Member> - Interface in tools.devnull.trugger.reflection.impl
Interface that defines a class capable of find Member objects.
MembersSelector<T extends java.lang.reflect.Member> - Class in tools.devnull.trugger.reflection.impl
A base class for selecting a set of Member objects.
MembersSelector(MembersFinder<T>) - Constructor for class tools.devnull.trugger.reflection.impl.MembersSelector
 
MembersSelector(MembersFinder<T>, Predicate<? super T>) - Constructor for class tools.devnull.trugger.reflection.impl.MembersSelector
 
MembersSelector(MembersFinder<T>, Predicate<? super T>, boolean) - Constructor for class tools.devnull.trugger.reflection.impl.MembersSelector
 
MergeElements - Annotation Type in tools.devnull.trugger.validation
Indicates that this constraint perform validations that should merge the invalid elements into the elements of the main validation.
MergeValidationEngine - Class in tools.devnull.trugger.validation.impl
A validation engine that merges the invalid elements with the main validation result.
MergeValidationEngine(ValidationEngine, Map<String, InvalidElement>, Element, Predicate<Element>, Object) - Constructor for class tools.devnull.trugger.validation.impl.MergeValidationEngine
 
method() - Method in class tools.devnull.trugger.interception.impl.InterceptionContextImpl
 
method() - Method in interface tools.devnull.trugger.interception.InterceptionContext
 
method(String) - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
method(String) - Static method in class tools.devnull.trugger.reflection.Reflection
The same as reflect().method(String)
method(String) - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects a method with the specified name and parameters in a target.
methodFinder(String, Class...) - Method in class tools.devnull.trugger.reflection.impl.DeclaredMemberFindersRegistry
 
methodFinder(String, Class...) - Method in interface tools.devnull.trugger.reflection.impl.MemberFindersRegistry
 
MethodFinder - Class in tools.devnull.trugger.reflection.impl
 
MethodFinder(String, Class[]) - Constructor for class tools.devnull.trugger.reflection.impl.MethodFinder
 
methodFinder(String, Class...) - Method in class tools.devnull.trugger.reflection.impl.VisibleMemberFindersRegistry
 
MethodInvoker - Interface in tools.devnull.trugger.reflection
Interface that defines a class capable of invoking a Method.
methodOn(Object) - Method in class tools.devnull.trugger.interception.impl.InterceptionContextImpl
 
methodOn(Object) - Method in interface tools.devnull.trugger.interception.InterceptionContext
 
MethodPredicates - Class in tools.devnull.trugger.reflection
A set of predicates to use with Method objects.
methods() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
methods() - Static method in class tools.devnull.trugger.reflection.Reflection
The same as reflect().methods()
methods() - Method in interface tools.devnull.trugger.reflection.Reflector
Reflects all methods in a target.
MethodSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for a single Method object assuming that the name was specified before.
MethodSelectorInvoker - Class in tools.devnull.trugger.reflection.impl
 
MethodSelectorInvoker(MethodSelector) - Constructor for class tools.devnull.trugger.reflection.impl.MethodSelectorInvoker
 
MethodSelectorInvoker(MethodSelector, Object) - Constructor for class tools.devnull.trugger.reflection.impl.MethodSelectorInvoker
 
methodsFinder() - Method in class tools.devnull.trugger.reflection.impl.DeclaredMemberFindersRegistry
 
methodsFinder() - Method in interface tools.devnull.trugger.reflection.impl.MemberFindersRegistry
 
MethodsFinder - Class in tools.devnull.trugger.reflection.impl
 
MethodsFinder() - Constructor for class tools.devnull.trugger.reflection.impl.MethodsFinder
 
methodsFinder() - Method in class tools.devnull.trugger.reflection.impl.VisibleMemberFindersRegistry
 
MethodsSelector - Interface in tools.devnull.trugger.selector
Interface that defines a selector for Method objects.
Min - Annotation Type in tools.devnull.trugger.validation.validator
Constraint that defines a minimum value that an element should have.
MinValidator - Class in tools.devnull.trugger.validation.validator
Validator that checks a minimum size requirement.
MinValidator(double, boolean, double) - Constructor for class tools.devnull.trugger.validation.validator.MinValidator
 
MultiTypeValidator - Class in tools.devnull.trugger.validation.validator
A composite validator that selects the most suitable validator based on the type of the target value.
MultiTypeValidator() - Constructor for class tools.devnull.trugger.validation.validator.MultiTypeValidator
 

N

name() - Method in interface tools.devnull.trugger.element.Element
 
name - Variable in class tools.devnull.trugger.element.impl.AbstractElement
The element name
name() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
name() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
name() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
named(String...) - Static method in class tools.devnull.trugger.element.ElementPredicates
 
named(String) - Static method in class tools.devnull.trugger.reflection.ParameterPredicates
Returns a predicate that accepts parameters with the given name.
named(String) - Static method in class tools.devnull.trugger.reflection.ReflectionPredicates
 
negate() - Method in interface tools.devnull.trugger.validation.Validator
Returns a validator that represents the logical negation of this validator.
NestedElement - Class in tools.devnull.trugger.element.impl
A class to handle a path of properties.
next() - Method in class tools.devnull.trugger.util.ClassIterator
 
NonSpecificElementException - Exception in tools.devnull.trugger.element
Exception thrown when a direct value handling is trying on a non-specific element.
NonSpecificElementException() - Constructor for exception tools.devnull.trugger.element.NonSpecificElementException
Creates a new NonSpecificElementException.
NonSpecificElementException(String) - Constructor for exception tools.devnull.trugger.element.NonSpecificElementException
Creates a new NonSpecificElementException with the given message.
NonSpecificElementException(String, Throwable) - Constructor for exception tools.devnull.trugger.element.NonSpecificElementException
Creates a new NonSpecificElementException with the given cause and message.
NonSpecificElementException(Throwable) - Constructor for exception tools.devnull.trugger.element.NonSpecificElementException
Creates a new NonSpecificElementException with the given cause.
NoResourceFinderException - Exception in tools.devnull.trugger.scan
Exception thrown to indicate that there is no ResourceFinder mapped for a given protocol.
NoResourceFinderException() - Constructor for exception tools.devnull.trugger.scan.NoResourceFinderException
 
NoResourceFinderException(String) - Constructor for exception tools.devnull.trugger.scan.NoResourceFinderException
 
NoResourceFinderException(String, Object...) - Constructor for exception tools.devnull.trugger.scan.NoResourceFinderException
 
NoResourceFinderException(Throwable, String, Object...) - Constructor for exception tools.devnull.trugger.scan.NoResourceFinderException
 
NoResourceFinderException(String, Throwable) - Constructor for exception tools.devnull.trugger.scan.NoResourceFinderException
 
NoResourceFinderException(Throwable) - Constructor for exception tools.devnull.trugger.scan.NoResourceFinderException
 
NotEmpty - Annotation Type in tools.devnull.trugger.validation.validator
Indicates that the element must not be empty.
NotEmptyValidator - Class in tools.devnull.trugger.validation.validator
Validator for objects that cannot be empty.
NotEmptyValidator() - Constructor for class tools.devnull.trugger.validation.validator.NotEmptyValidator
 
notNull() - Method in interface tools.devnull.trugger.element.CopyDestination
Copies only the elements that are not null.
notNull() - Method in class tools.devnull.trugger.element.impl.TruggerElementCopier
 
NotNull - Annotation Type in tools.devnull.trugger.validation.validator
Indicates that the element must not be null.
NotNullValidator - Class in tools.devnull.trugger.validation.validator
Validator that accepts only non null values.
NotNullValidator() - Constructor for class tools.devnull.trugger.validation.validator.NotNullValidator
 
Null - Class in tools.devnull.trugger.util
This class has a set of objects that should be used to eliminate the checks against null objects.
NULL_ANNOTATED_ELEMENT - Static variable in class tools.devnull.trugger.util.Null
An AnnotatedElement that has no annotation.
NULL_CONSTRUCTOR_INVOKER - Static variable in class tools.devnull.trugger.util.Null
 
NULL_FIELD_HANDLER - Static variable in class tools.devnull.trugger.util.Null
 
NULL_INVOKER - Static variable in class tools.devnull.trugger.util.Null
 
NULL_METHOD_INVOKER - Static variable in class tools.devnull.trugger.util.Null
 
NULL_VALUE_HANDLER - Static variable in class tools.devnull.trugger.util.Null
 

O

objectClass(Object) - Static method in class tools.devnull.trugger.util.Utils
Given c the object class, returns the wrapper class for c if c is a primitive class, returns c otherwise.
ObjectElement - Class in tools.devnull.trugger.element.impl
This class represents an object property.
ObjectElement(Field) - Constructor for class tools.devnull.trugger.element.impl.ObjectElement
 
ObjectElement(Method, String) - Constructor for class tools.devnull.trugger.element.impl.ObjectElement
Creates a new ObjectElement based on the specified method.
ObjectElementFinder - Class in tools.devnull.trugger.element.impl
A default class for finding properties in objects.
ObjectElementFinder() - Constructor for class tools.devnull.trugger.element.impl.ObjectElementFinder
 
ObjectMapper<T,R> - Interface in tools.devnull.trugger
Interface that maps two things inside a fluent interface.
ofType(Class<?>) - Static method in class tools.devnull.trugger.element.ElementPredicates
 
on(Object) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
on(Object) - Method in interface tools.devnull.trugger.interception.Interceptor
Defines the target object to intercept.
onCall(InterceptionHandler) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
onCall(InterceptionHandler) - Method in interface tools.devnull.trugger.interception.Interceptor
Defines the action to execute on method interception.
onFail(InterceptionFailHandler) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
onFail(InterceptionFailHandler) - Method in interface tools.devnull.trugger.interception.Interceptor
Defines a handler to deal with errors in interception.
onInvalid(InterceptionHandler) - Method in class tools.devnull.trugger.interception.ValidationInterceptionHandler
Defines a handler to use in case of an argument is invalid.
onValid(InterceptionHandler) - Method in class tools.devnull.trugger.interception.ValidationInterceptionHandler
Defines a handler to use in case of all arguments are valid.
or(Validator) - Method in interface tools.devnull.trugger.validation.Validator
Returns a validator that represents a short-circuiting logical OR of this validator and another.

P

ParameterPredicates - Class in tools.devnull.trugger.reflection
A class that holds a set of predicates to evaluate parameters.
parsePropertyName(Method) - Static method in class tools.devnull.trugger.reflection.Reflection
Parses the method name to return a property name if it is a getter or a setter.
Pattern - Annotation Type in tools.devnull.trugger.validation.validator
Indicates that the annotated element should follow a given pattern.
PatternValidator - Class in tools.devnull.trugger.validation.validator
Validator that checks against a defined pattern in the String representation of an object.
PatternValidator(String, int) - Constructor for class tools.devnull.trugger.validation.validator.PatternValidator
 
PredicateMapper<T,R> - Interface in tools.devnull.trugger
Interface that maps something to a predicate inside a fluent interface.
PredicateSelector<T> - Interface in tools.devnull.trugger.selector
Interface that defines a selector that uses Predicate objects.
primitiveArrayType() - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Returns a predicate that checks if a class is of a primitive array type.
primitiveType() - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Returns a predicate that checks if a class is of a primitive type.
PropertiesElement - Class in tools.devnull.trugger.element.impl
 
PropertiesElement(String) - Constructor for class tools.devnull.trugger.element.impl.PropertiesElement
 
PropertiesElementFinder - Class in tools.devnull.trugger.element.impl
 
PropertiesElementFinder() - Constructor for class tools.devnull.trugger.element.impl.PropertiesElementFinder
 
protocol() - Method in class tools.devnull.trugger.scan.impl.FileResourceFinder
 
protocol() - Method in class tools.devnull.trugger.scan.impl.JarResourceFinder
 
protocol() - Method in class tools.devnull.trugger.scan.impl.VfsFileResourceFinder
 
protocol() - Method in class tools.devnull.trugger.scan.impl.VfsResourceFinder
 
protocol() - Method in class tools.devnull.trugger.scan.impl.VfsZipResourceFinder
 
protocol() - Method in interface tools.devnull.trugger.scan.ResourceFinder
 
proxy() - Method in class tools.devnull.trugger.interception.impl.InterceptionContextImpl
 
proxy() - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
proxy() - Method in interface tools.devnull.trugger.interception.InterceptionContext
 
proxy() - Method in interface tools.devnull.trugger.interception.Interceptor
Creates the proxy instance based on the components configured.

R

readable() - Static method in class tools.devnull.trugger.element.ElementPredicates
A predicate that returns true if the element is readable.
reflect() - Static method in class tools.devnull.trugger.reflection.Reflection
Uses the ReflectionFactory for creating a Reflector instance.
Reflection - Class in tools.devnull.trugger.reflection
An utility class for help the use of Reflection.
ReflectionException - Exception in tools.devnull.trugger.reflection
Exception thrown when an error occurs in a Reflection operation.
ReflectionException(Throwable) - Constructor for exception tools.devnull.trugger.reflection.ReflectionException
Creates a new ReflectionException with the given cause.
ReflectionException(String, Throwable) - Constructor for exception tools.devnull.trugger.reflection.ReflectionException
Creates a new ReflectionException with the given cause and the specified message.
ReflectionException(String) - Constructor for exception tools.devnull.trugger.reflection.ReflectionException
Creates a new ReflectionException with the specified message.
ReflectionFactory - Interface in tools.devnull.trugger.reflection
Interface that defines a factory for objects using in the Reflection class.
ReflectionPredicates - Class in tools.devnull.trugger.reflection
An utility class for helping the use of Predicate object that involves Reflection in general.
ReflectionPredicates() - Constructor for class tools.devnull.trugger.reflection.ReflectionPredicates
 
Reflector - Interface in tools.devnull.trugger.reflection
Interface that defines a class that encapsulates the reflection using an automata to create a more readable language.
register(ResourceFinder...) - Static method in class tools.devnull.trugger.scan.ClassScan
 
register(ResourceFinder...) - Method in interface tools.devnull.trugger.scan.ClassScannerFactory
Registers the given resource finders.
register(ResourceFinder...) - Method in class tools.devnull.trugger.scan.impl.TruggerClassScannerFactory
 
register(V) - Method in class tools.devnull.trugger.util.registry.MapRegistry
 
register(V) - Method in interface tools.devnull.trugger.util.registry.Registry
Register the given object.
registry() - Method in interface tools.devnull.trugger.element.ElementFactory
Returns the registry that associates classes to finders.
registry() - Static method in class tools.devnull.trugger.element.Elements
 
registry() - Method in class tools.devnull.trugger.element.impl.TruggerElementFactory
 
Registry<K,V> - Interface in tools.devnull.trugger.util.registry
Interface that defines a registry.
Registry.Entry<K,V> - Interface in tools.devnull.trugger.util.registry
Interface that represents a registry entry.
Registry.RegistryMapper<K,V> - Interface in tools.devnull.trugger.util.registry
Interface for mapping a registry to a key.
RegistryEntry<K,V> - Class in tools.devnull.trugger.util.registry
Represents an entry in a registry.
RegistryEntry(K, V) - Constructor for class tools.devnull.trugger.util.registry.RegistryEntry
 
registryFor(K) - Method in class tools.devnull.trugger.util.registry.MapRegistry
 
registryFor(K) - Method in interface tools.devnull.trugger.util.registry.Registry
Returns the registry mapped to the given key.
remove() - Method in class tools.devnull.trugger.util.ClassIterator
 
removeRegistryFor(K) - Method in class tools.devnull.trugger.util.registry.MapRegistry
 
removeRegistryFor(K) - Method in interface tools.devnull.trugger.util.registry.Registry
Removes the registry for the given key.
resolve(Parameter) - Method in interface tools.devnull.trugger.util.factory.Context
Tries to resolve the given parameter to a object using the predicates added to the context.
resolve(Parameter) - Method in class tools.devnull.trugger.util.factory.DefaultContext
 
resolveType(Object) - Static method in class tools.devnull.trugger.util.Utils
Resolves the target type.
ResourceBundleElement - Class in tools.devnull.trugger.element.impl
A class that represents a ResourceBundle element.
ResourceBundleElement(String) - Constructor for class tools.devnull.trugger.element.impl.ResourceBundleElement
 
ResourceBundleElementFinder - Class in tools.devnull.trugger.element.impl
A finder for ResourceBundle elements.
ResourceBundleElementFinder() - Constructor for class tools.devnull.trugger.element.impl.ResourceBundleElementFinder
 
ResourceFinder - Interface in tools.devnull.trugger.scan
Interface that defines a class capable of find resources in a given path based on a package name.
Result<Value,Target> - Interface in tools.devnull.trugger
Interface that defines the final state of a request language.
ResultSetElement - Class in tools.devnull.trugger.element.impl
 
ResultSetElement(String) - Constructor for class tools.devnull.trugger.element.impl.ResultSetElement
 
ResultSetElementFinder - Class in tools.devnull.trugger.element.impl
 
ResultSetElementFinder() - Constructor for class tools.devnull.trugger.element.impl.ResultSetElementFinder
 
returns(Class) - Static method in class tools.devnull.trugger.reflection.MethodPredicates
 

S

scan() - Static method in class tools.devnull.trugger.scan.ClassScan
 
scan(String) - Method in interface tools.devnull.trugger.scan.impl.Scanner
Scans and returns the found classes in the specified package.
scan(String) - Method in class tools.devnull.trugger.scan.impl.TruggerScanner
 
Scanner - Interface in tools.devnull.trugger.scan.impl
Interface that defines a scanner for a package entry.
set(Object) - Method in interface tools.devnull.trugger.element.Element
Sets the value if this element is specific.
set(Object) - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
set(Object) - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
set(Object) - Method in interface tools.devnull.trugger.reflection.FieldHandler
Sets the value for a static Field.
set(Object) - Method in class tools.devnull.trugger.reflection.impl.FieldSelectorHandler
 
set(Object) - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldHandler
 
set(Object) - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
set(Object) - Method in interface tools.devnull.trugger.ValueHandler
Tries to set the value.
setAccessible(AccessibleObject...) - Static method in class tools.devnull.trugger.reflection.Reflection
Sets the accessible flag of the given objects to true using a PrivilegedAction.
setter() - Static method in class tools.devnull.trugger.reflection.MethodPredicates
A predicate that returns true if the evaluated method is a setter method.
setterOf(String) - Static method in class tools.devnull.trugger.reflection.MethodPredicates
 
setterOf(Field) - Static method in class tools.devnull.trugger.reflection.MethodPredicates
 
Shared - Annotation Type in tools.devnull.trugger.validation
Indicates that the validator should be shared with all validations.
SizeValidator - Class in tools.devnull.trugger.validation.validator
Base class for validators that compares object lengths and sizes.
SizeValidator(Function<Double, Boolean>) - Constructor for class tools.devnull.trugger.validation.validator.SizeValidator
 
specific() - Static method in class tools.devnull.trugger.element.ElementPredicates
A predicate that returns true if the element is specific.
SpecificElement - Class in tools.devnull.trugger.element.impl
A class that represents a specific element.
SpecificElement(Element, Object) - Constructor for class tools.devnull.trugger.element.impl.SpecificElement
 
src() - Method in interface tools.devnull.trugger.element.ElementCopy
 
subtypeOf(Class) - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Returns a predicate that checks if a class is a subtype of another class

T

target() - Method in interface tools.devnull.trugger.element.Element
Returns the target for this element in case of a specific one.
target() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
target() - Method in class tools.devnull.trugger.element.impl.ArrayElement
 
target() - Method in class tools.devnull.trugger.element.impl.ListElement
 
target() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
target() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
target() - Method in class tools.devnull.trugger.interception.impl.InterceptionContextImpl
 
target() - Method in interface tools.devnull.trugger.interception.InterceptionContext
 
target() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
target() - Method in interface tools.devnull.trugger.validation.ValidationResult
 
TargetElement - Annotation Type in tools.devnull.trugger.validation
Indicates that an element from the target object should be passed to the validator.
targetMethod() - Method in interface tools.devnull.trugger.interception.InterceptionContext
 
TargetObject - Annotation Type in tools.devnull.trugger.validation
Indicates that the object being validated should be passed to the validator.
throwError() - Static method in interface tools.devnull.trugger.interception.InterceptionFailHandler
Returns a handler that throws all exceptions.
to(Object) - Method in interface tools.devnull.trugger.element.CopyDestination
Copy the elements to the given object.
to(Object) - Method in class tools.devnull.trugger.element.impl.TruggerElementCopier
 
to(T) - Method in interface tools.devnull.trugger.ObjectMapper
Maps to the given object.
to(K) - Method in interface tools.devnull.trugger.util.registry.Registry.RegistryMapper
Associates the previously given registry to the given key.
toConfigure(BiConsumer<Context, Annotation>) - Method in class tools.devnull.trugger.util.factory.ComponentFactory
Changes the way the context is configured by replacing the consumer.
toCreate(BiFunction<Constructor, Object[], Object>) - Method in class tools.devnull.trugger.util.factory.ComponentFactory
Sets the function used to create the objects.
toCreate(BiFunction<Constructor, Object[], Object>) - Method in class tools.devnull.trugger.util.factory.ContextFactory
Changes the way the objects are created by using the given function.
tools.devnull.trugger - package tools.devnull.trugger
 
tools.devnull.trugger.element - package tools.devnull.trugger.element
 
tools.devnull.trugger.element.impl - package tools.devnull.trugger.element.impl
 
tools.devnull.trugger.interception - package tools.devnull.trugger.interception
 
tools.devnull.trugger.interception.impl - package tools.devnull.trugger.interception.impl
 
tools.devnull.trugger.reflection - package tools.devnull.trugger.reflection
 
tools.devnull.trugger.reflection.impl - package tools.devnull.trugger.reflection.impl
 
tools.devnull.trugger.scan - package tools.devnull.trugger.scan
 
tools.devnull.trugger.scan.impl - package tools.devnull.trugger.scan.impl
 
tools.devnull.trugger.selector - package tools.devnull.trugger.selector
 
tools.devnull.trugger.util - package tools.devnull.trugger.util
 
tools.devnull.trugger.util.factory - package tools.devnull.trugger.util.factory
 
tools.devnull.trugger.util.registry - package tools.devnull.trugger.util.registry
 
tools.devnull.trugger.validation - package tools.devnull.trugger.validation
 
tools.devnull.trugger.validation.impl - package tools.devnull.trugger.validation.impl
 
tools.devnull.trugger.validation.validator - package tools.devnull.trugger.validation.validator
 
toString() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
toString() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
TruggerClassesSelector - Class in tools.devnull.trugger.scan.impl
 
TruggerClassesSelector(Scanner) - Constructor for class tools.devnull.trugger.scan.impl.TruggerClassesSelector
 
TruggerClassesSelector(Scanner, boolean, Predicate<? super Class>) - Constructor for class tools.devnull.trugger.scan.impl.TruggerClassesSelector
 
TruggerClassScanner - Class in tools.devnull.trugger.scan.impl
A default class finder.
TruggerClassScanner(ClassScannerFactory) - Constructor for class tools.devnull.trugger.scan.impl.TruggerClassScanner
Creates a new finder using the context class loader in the current Thread.
TruggerClassScanner(ClassLoader, ClassScannerFactory) - Constructor for class tools.devnull.trugger.scan.impl.TruggerClassScanner
 
TruggerClassScannerFactory - Class in tools.devnull.trugger.scan.impl
The default class finder factory.
TruggerClassScannerFactory() - Constructor for class tools.devnull.trugger.scan.impl.TruggerClassScannerFactory
 
TruggerConstructorInvoker - Class in tools.devnull.trugger.reflection.impl
A default implementation for invoking Constructor objects.
TruggerConstructorInvoker(Constructor<?>) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerConstructorInvoker
 
TruggerConstructorSelector - Class in tools.devnull.trugger.reflection.impl
A default implementation for the constructor selector.
TruggerConstructorSelector(MemberFindersRegistry) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerConstructorSelector
 
TruggerConstructorSelector(MemberFindersRegistry, Predicate<? super Constructor<?>>, Class[]) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerConstructorSelector
 
TruggerConstructorsSelector - Class in tools.devnull.trugger.reflection.impl
A default implementation for the constructors selector.
TruggerConstructorsSelector(MembersFinder<Constructor<?>>) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerConstructorsSelector
 
TruggerConstructorsSelector(MembersFinder<Constructor<?>>, Predicate<? super Constructor<?>>) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerConstructorsSelector
 
TruggerElementCopier - Class in tools.devnull.trugger.element.impl
The default implementation for the property copy operation.
TruggerElementCopier() - Constructor for class tools.devnull.trugger.element.impl.TruggerElementCopier
 
TruggerElementCopier(ElementsSelector) - Constructor for class tools.devnull.trugger.element.impl.TruggerElementCopier
 
TruggerElementFactory - Class in tools.devnull.trugger.element.impl
A default implementation for ElementFactory.
TruggerElementFactory() - Constructor for class tools.devnull.trugger.element.impl.TruggerElementFactory
 
TruggerElementFinder - Class in tools.devnull.trugger.element.impl
A default implementation for an Element finder.
TruggerElementFinder(Finder<Element>, Registry<Predicate<Class>, Finder<Element>>) - Constructor for class tools.devnull.trugger.element.impl.TruggerElementFinder
 
TruggerElementSelector - Class in tools.devnull.trugger.element.impl
A default implementation for ElementSelector.
TruggerElementSelector(String, Finder<Element>) - Constructor for class tools.devnull.trugger.element.impl.TruggerElementSelector
 
TruggerElementSelector(String, Finder<Element>, Predicate<? super Element>) - Constructor for class tools.devnull.trugger.element.impl.TruggerElementSelector
 
TruggerElementsSelector - Class in tools.devnull.trugger.element.impl
A default implementation for ElementsSelector.
TruggerElementsSelector(Finder<Element>) - Constructor for class tools.devnull.trugger.element.impl.TruggerElementsSelector
 
TruggerElementsSelector(Finder<Element>, Predicate<? super Element>) - Constructor for class tools.devnull.trugger.element.impl.TruggerElementsSelector
 
TruggerException - Exception in tools.devnull.trugger
The root exception for the entire framework.
TruggerException() - Constructor for exception tools.devnull.trugger.TruggerException
Creates a new TruggerException.
TruggerException(String) - Constructor for exception tools.devnull.trugger.TruggerException
Creates a new TruggerException with the given message.
TruggerException(String, Throwable) - Constructor for exception tools.devnull.trugger.TruggerException
Creates a new TruggerException with the given cause and message.
TruggerException(Throwable) - Constructor for exception tools.devnull.trugger.TruggerException
Creates a new TruggerException with the given cause.
TruggerFieldHandler - Class in tools.devnull.trugger.reflection.impl
Implementation for the FieldHandler interface.
TruggerFieldHandler(Field) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerFieldHandler
Constructs a new handler for a static field.
TruggerFieldSelector - Class in tools.devnull.trugger.reflection.impl
A default implementation for the field selector.
TruggerFieldSelector(String, MemberFindersRegistry) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerFieldSelector
 
TruggerFieldSelector(String, MemberFindersRegistry, Predicate<? super Field>, boolean) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerFieldSelector
 
TruggerFieldsSelector - Class in tools.devnull.trugger.reflection.impl
A default implementation for the fields selector.
TruggerFieldsSelector(MembersFinder<Field>) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerFieldsSelector
 
TruggerFieldsSelector(MembersFinder<Field>, Predicate<? super Field>, boolean) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerFieldsSelector
 
TruggerInterceptor - Class in tools.devnull.trugger.interception.impl
 
TruggerInterceptor(Object) - Constructor for class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
TruggerInterceptor(Class[]) - Constructor for class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
TruggerInterceptor(Object, Class[], ClassLoader, InterceptionHandler, InterceptionFailHandler) - Constructor for class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
TruggerInterceptorFactory - Class in tools.devnull.trugger.interception.impl
 
TruggerInterceptorFactory() - Constructor for class tools.devnull.trugger.interception.impl.TruggerInterceptorFactory
 
TruggerMethodInvoker - Class in tools.devnull.trugger.reflection.impl
A default implementation for invoking Method objects.
TruggerMethodInvoker(Method) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerMethodInvoker
 
TruggerMethodInvoker(Method, Object) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerMethodInvoker
 
TruggerMethodSelector - Class in tools.devnull.trugger.reflection.impl
A default implementation for the method selector.
TruggerMethodSelector(String, MemberFindersRegistry) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerMethodSelector
 
TruggerMethodSelector(String, MemberFindersRegistry, Class[], boolean, Predicate<? super Method>) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerMethodSelector
 
TruggerMethodsSelector - Class in tools.devnull.trugger.reflection.impl
A default implementation for the methods selector.
TruggerMethodsSelector(MembersFinder<Method>) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerMethodsSelector
 
TruggerMethodsSelector(MembersFinder<Method>, Predicate<? super Method>, boolean) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerMethodsSelector
 
TruggerReflectionFactory - Class in tools.devnull.trugger.reflection.impl
A default factory for Reflector objects.
TruggerReflectionFactory() - Constructor for class tools.devnull.trugger.reflection.impl.TruggerReflectionFactory
 
TruggerReflector - Class in tools.devnull.trugger.reflection.impl
An implementation of the reflection operations.
TruggerReflector(MemberFindersRegistry) - Constructor for class tools.devnull.trugger.reflection.impl.TruggerReflector
 
TruggerReflector() - Constructor for class tools.devnull.trugger.reflection.impl.TruggerReflector
 
TruggerScanner - Class in tools.devnull.trugger.scan.impl
 
TruggerScanner(ClassScannerFactory, ClassLoader) - Constructor for class tools.devnull.trugger.scan.impl.TruggerScanner
 
TruggerValidationEngine - Class in tools.devnull.trugger.validation.impl
A default implementation of a validation engine.
TruggerValidationEngine(ValidatorFactory) - Constructor for class tools.devnull.trugger.validation.impl.TruggerValidationEngine
Creates a new engine using the given factory to create validators.
TruggerValidationFactory - Class in tools.devnull.trugger.validation.impl
The default validation factory.
TruggerValidationFactory() - Constructor for class tools.devnull.trugger.validation.impl.TruggerValidationFactory
 
TruggerValidatorFactory - Class in tools.devnull.trugger.validation.impl
Default validator factory implementation.
TruggerValidatorFactory() - Constructor for class tools.devnull.trugger.validation.impl.TruggerValidatorFactory
 
type() - Method in interface tools.devnull.trugger.element.Element
 
type() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
type() - Method in class tools.devnull.trugger.element.impl.AnnotationElement
 
type() - Method in class tools.devnull.trugger.element.impl.ArrayElement
 
type() - Method in class tools.devnull.trugger.element.impl.ListElement
 
type() - Method in class tools.devnull.trugger.element.impl.NestedElement
 
type() - Method in class tools.devnull.trugger.element.impl.ObjectElement
 
type() - Method in class tools.devnull.trugger.element.impl.PropertiesElement
 
type() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
type(Class) - Static method in class tools.devnull.trugger.reflection.ClassPredicates
Returns a predicate that checks if a class is of the given type.
type(Class) - Static method in class tools.devnull.trugger.reflection.FieldPredicates
 
type(Class) - Static method in class tools.devnull.trugger.reflection.ParameterPredicates
Returns a predicate that accepts parameters of the given type.
type() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 

U

UnreadableElementException - Exception in tools.devnull.trugger.element
Exception thrown when a code tries to get the value of a write-only element.
UnreadableElementException() - Constructor for exception tools.devnull.trugger.element.UnreadableElementException
Creates a new UnreadablePropertyException.
UnreadableElementException(String) - Constructor for exception tools.devnull.trugger.element.UnreadableElementException
Creates a new UnreadablePropertyException with the given message.
UnreadableElementException(String, Throwable) - Constructor for exception tools.devnull.trugger.element.UnreadableElementException
Creates a new UnreadablePropertyException with the given cause and message
UnreadableElementException(Throwable) - Constructor for exception tools.devnull.trugger.element.UnreadableElementException
Creates a new UnreadablePropertyException with the given cause.
UnresolvableValueException - Exception in tools.devnull.trugger.util.factory
Exception thrown to indicate that the context cannot resolve a value.
UnresolvableValueException() - Constructor for exception tools.devnull.trugger.util.factory.UnresolvableValueException
 
UnresolvableValueException(String) - Constructor for exception tools.devnull.trugger.util.factory.UnresolvableValueException
 
UnresolvableValueException(String, Throwable) - Constructor for exception tools.devnull.trugger.util.factory.UnresolvableValueException
 
UnresolvableValueException(Throwable) - Constructor for exception tools.devnull.trugger.util.factory.UnresolvableValueException
 
UnwritableElementException - Exception in tools.devnull.trugger.element
Exception thrown when a code tries to change the value of a read-only element.
UnwritableElementException() - Constructor for exception tools.devnull.trugger.element.UnwritableElementException
Creates a new UnwritablePropertyException.
UnwritableElementException(String) - Constructor for exception tools.devnull.trugger.element.UnwritableElementException
Creates a new UnwritablePropertyException with the given message.
UnwritableElementException(String, Throwable) - Constructor for exception tools.devnull.trugger.element.UnwritableElementException
Creates a new UnwritablePropertyException with the given cause and message
UnwritableElementException(Throwable) - Constructor for exception tools.devnull.trugger.element.UnwritableElementException
Creates a new UnwritablePropertyException with the given cause.
use(Object) - Method in interface tools.devnull.trugger.util.factory.Context
Adds the given object to the context by binding it to the given predicate.
use(Supplier) - Method in interface tools.devnull.trugger.util.factory.Context
Adds the object supplied by the given supplier by binding it to the given predicate.
use(Function<Parameter, Object>) - Method in interface tools.devnull.trugger.util.factory.Context
Adds the object returned by the given function by binding it to the given predicate.
use(Object) - Method in class tools.devnull.trugger.util.factory.DefaultContext
 
use(Supplier) - Method in class tools.devnull.trugger.util.factory.DefaultContext
 
use(Function<Parameter, Object>) - Method in class tools.devnull.trugger.util.factory.DefaultContext
 
Utils - Class in tools.devnull.trugger.util
A class with general utility methods.

V

Valid - Annotation Type in tools.devnull.trugger.validation.validator
Indicates that the element must be valid using a validation engine and its invalid elements will be included in the validation result.
validate(Object) - Method in class tools.devnull.trugger.validation.impl.MergeValidationEngine
 
validate(Object) - Method in class tools.devnull.trugger.validation.impl.TruggerValidationEngine
 
validate(Object) - Method in interface tools.devnull.trugger.validation.ValidationEngine
Validates all elements in the given target.
Validation - Class in tools.devnull.trugger.validation
A class to handle validations of objects based on their element constraints.
ValidationEngine - Interface in tools.devnull.trugger.validation
Interface that defines an engine capable of validating elements of an object and summarize it in a result that allows integration with other tools (like web frameworks).
ValidationFactory - Interface in tools.devnull.trugger.validation
A factory to create components for doing validations.
ValidationInterceptionHandler - Class in tools.devnull.trugger.interception
An interception handler that validates method arguments using a ValidatorFactory.
ValidationInterceptionHandler() - Constructor for class tools.devnull.trugger.interception.ValidationInterceptionHandler
Creates a new interceptor that invokes the target method if the arguments are valid and throws a IllegalArgumentException in case of any invalid argument.
ValidationInterceptionHandler(ValidatorFactory) - Constructor for class tools.devnull.trugger.interception.ValidationInterceptionHandler
Creates a new interceptor that invokes the target method if the arguments are valid and throws a IllegalArgumentException in case of any invalid argument.
ValidationResult - Interface in tools.devnull.trugger.validation
Interface that defines a validation result.
Validator<T> - Interface in tools.devnull.trugger.validation
Interface that defines a validator for objects.
ValidatorClass - Annotation Type in tools.devnull.trugger.validation
Indicates the validator that implements the constraint.
ValidatorFactory - Interface in tools.devnull.trugger.validation
Interface that defines a factory to create Validator objects.
Valids - Annotation Type in tools.devnull.trugger.validation.validator
Indicates that all items must be valid.
ValidsValidator - Class in tools.devnull.trugger.validation.validator
Validator for items of an array, a collection or a map.
ValidsValidator() - Constructor for class tools.devnull.trugger.validation.validator.ValidsValidator
 
ValidsValidator(ValidationEngine) - Constructor for class tools.devnull.trugger.validation.validator.ValidsValidator
 
ValidValidator - Class in tools.devnull.trugger.validation.validator
Validator that checks if the value is valid by validating its elements.
ValidValidator() - Constructor for class tools.devnull.trugger.validation.validator.ValidValidator
Creates a new validator using the default engine to validate the values.
ValidValidator(ValidationEngine) - Constructor for class tools.devnull.trugger.validation.validator.ValidValidator
Creates a new validator using the given engine to validate the values.
value() - Method in interface tools.devnull.trugger.element.Element
Returns the value if this element is specific.
value() - Method in interface tools.devnull.trugger.element.ElementCopy
 
value() - Method in class tools.devnull.trugger.element.impl.AbstractElement
 
value() - Method in class tools.devnull.trugger.element.impl.SpecificElement
 
value() - Method in interface tools.devnull.trugger.reflection.FieldHandler
Gets the value for a static Field.
value() - Method in class tools.devnull.trugger.reflection.impl.FieldSelectorHandler
 
value() - Method in class tools.devnull.trugger.reflection.impl.TruggerFieldHandler
 
value() - Method in interface tools.devnull.trugger.util.registry.Registry.Entry
 
value() - Method in class tools.devnull.trugger.util.registry.RegistryEntry
 
value() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
value() - Method in interface tools.devnull.trugger.ValueHandler
Tries to get the value.
ValueHandler - Interface in tools.devnull.trugger
Interface that defines a component for handling, modifying and/or accessing a value according to the implementation behavior.
VfsFileResourceFinder - Class in tools.devnull.trugger.scan.impl
A finder for file resources inside a JBoss AS 5.x and 6.x
VfsFileResourceFinder() - Constructor for class tools.devnull.trugger.scan.impl.VfsFileResourceFinder
 
VfsResourceFinder - Class in tools.devnull.trugger.scan.impl
A finder for zip resources (jar files) inside a JBoss AS 7.x
VfsResourceFinder() - Constructor for class tools.devnull.trugger.scan.impl.VfsResourceFinder
 
VfsZipResourceFinder - Class in tools.devnull.trugger.scan.impl
A finder for zip resources (jar files) inside a JBoss AS 5.x and 6.x
VfsZipResourceFinder() - Constructor for class tools.devnull.trugger.scan.impl.VfsZipResourceFinder
 
violatedConstraint(Class<? extends Annotation>) - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
violatedConstraint(Class<? extends Annotation>) - Method in interface tools.devnull.trugger.validation.InvalidElement
 
violatedConstraints() - Method in class tools.devnull.trugger.validation.impl.InvalidElementImpl
 
violatedConstraints() - Method in interface tools.devnull.trugger.validation.InvalidElement
Returns a list of the annotation that defines constraints violated by this element.
visible() - Method in class tools.devnull.trugger.reflection.impl.TruggerReflector
 
visible() - Method in interface tools.devnull.trugger.reflection.Reflector
Indicates to reflect only visible elements (declared as "public" in all hierarchy).
VisibleMemberFindersRegistry - Class in tools.devnull.trugger.reflection.impl
 
VisibleMemberFindersRegistry() - Constructor for class tools.devnull.trugger.reflection.impl.VisibleMemberFindersRegistry
 

W

when(Predicate<T>) - Method in interface tools.devnull.trugger.PredicateMapper
Use the given condition to map the value.
with(ClassLoader) - Method in class tools.devnull.trugger.interception.impl.TruggerInterceptor
 
with(ClassLoader) - Method in interface tools.devnull.trugger.interception.Interceptor
Defines the ClassLoader that should be used to create the proxy instance.
with(ClassLoader) - Method in interface tools.devnull.trugger.scan.ClassScanner
Sets the class loader to use.
with(ClassLoader) - Method in class tools.devnull.trugger.scan.impl.TruggerClassScanner
 
withArgs(Object...) - Method in interface tools.devnull.trugger.Invoker
Invokes the object passing the given arguments.
withArgs(Object...) - Method in class tools.devnull.trugger.reflection.impl.MethodSelectorInvoker
 
withArgs(Object...) - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorInvoker
 
withArgs(Object...) - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodInvoker
 
withoutArgs() - Method in interface tools.devnull.trugger.Invoker
Invokes the object without passing that argument.
withoutArgs() - Method in class tools.devnull.trugger.reflection.impl.MethodSelectorInvoker
 
withoutArgs() - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorInvoker
 
withoutArgs() - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodInvoker
 
withoutParameters() - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorSelector
 
withoutParameters() - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodSelector
 
withoutParameters() - Static method in class tools.devnull.trugger.reflection.MethodPredicates
Returns a predicate that evaluates to true if a method takes no parameter.
withoutParameters() - Method in interface tools.devnull.trugger.selector.ConstructorSelector
Selects the constructor that takes no parameters.
withoutParameters() - Method in interface tools.devnull.trugger.selector.MethodSelector
 
withParameters(Class<?>...) - Method in class tools.devnull.trugger.reflection.impl.TruggerConstructorSelector
 
withParameters(Class<?>...) - Method in class tools.devnull.trugger.reflection.impl.TruggerMethodSelector
 
withParameters(Class...) - Static method in class tools.devnull.trugger.reflection.MethodPredicates
Returns a predicate that evaluates to true if the parameter types of a method equals the given types.
withParameters(Class<?>...) - Method in interface tools.devnull.trugger.selector.ConstructorSelector
Selects the constructor that takes the specified parameter types.
withParameters(Class<?>...) - Method in interface tools.devnull.trugger.selector.MethodSelector
 
wrapperFor(Class<?>) - Static method in class tools.devnull.trugger.reflection.Reflection
Returns the wrapper class for the given primitive class.
writable() - Static method in class tools.devnull.trugger.element.ElementPredicates
A predicate that returns true if the element is writable.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links