Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractFilteringVisitor - Class in de.danielbechler.diff.node
- AbstractFilteringVisitor() - Constructor for class de.danielbechler.diff.node.AbstractFilteringVisitor
- accept(DiffNode) - Method in class de.danielbechler.diff.node.AbstractFilteringVisitor
- accept(DiffNode) - Method in class de.danielbechler.diff.node.CategoryFilteringVisitor
- accept(DiffNode) - Method in class de.danielbechler.diff.node.StateFilteringVisitor
- accepts(Class<?>) - Method in class de.danielbechler.diff.differ.BeanDiffer
- accepts(Class<?>) - Method in class de.danielbechler.diff.differ.CollectionDiffer
- accepts(Class<?>) - Method in interface de.danielbechler.diff.differ.Differ
- accepts(Class<?>) - Method in class de.danielbechler.diff.differ.MapDiffer
- accepts(Class<?>) - Method in class de.danielbechler.diff.differ.PrimitiveDiffer
- access(Accessor) - Method in class de.danielbechler.diff.access.Instances
- Accessor - Interface in de.danielbechler.diff.access
- accumulatedValuesForNodePath(NodePath) - Method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- addCategories(Collection<String>) - Method in class de.danielbechler.diff.node.DiffNode
- addChild(DiffNode) - Method in class de.danielbechler.diff.node.DiffNode
-
Adds a child to this node and sets this node as its parent node.
- ADDED - Enum constant in enum class de.danielbechler.diff.node.DiffNode.State
- addPropertyAccessor(PropertyAwareAccessor) - Method in class de.danielbechler.diff.instantiation.TypeInfo
- allAssignableFrom(Class<?>, Iterable<? extends Class<?>>) - Static method in class de.danielbechler.util.Classes
- also() - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToExclude
- also() - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToInclude
- and() - Method in interface de.danielbechler.diff.category.CategoryConfigurer
- and() - Method in class de.danielbechler.diff.category.CategoryService
- and() - Method in interface de.danielbechler.diff.circular.CircularReferenceConfigurer
- and() - Method in class de.danielbechler.diff.circular.CircularReferenceService
- and() - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer
- and() - Method in class de.danielbechler.diff.comparison.ComparisonService
- and() - Method in interface de.danielbechler.diff.filtering.FilteringConfigurer
- and() - Method in class de.danielbechler.diff.filtering.ReturnableNodeService
- and() - Method in interface de.danielbechler.diff.identity.IdentityConfigurer
- and() - Method in class de.danielbechler.diff.identity.IdentityService
- and() - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer
- and() - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToExclude
- and() - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToInclude
- and() - Method in class de.danielbechler.diff.inclusion.InclusionService
- and() - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer
- and() - Method in class de.danielbechler.diff.introspection.IntrospectionService
- areEqual() - Method in class de.danielbechler.diff.access.Instances
- areNull() - Method in class de.danielbechler.diff.access.Instances
- areSame() - Method in class de.danielbechler.diff.access.Instances
- Assert - Class in de.danielbechler.util
- ASSIGNED - Enum constant in enum class de.danielbechler.diff.comparison.PrimitiveDefaultValueMode
-
Default values of primitive types will be treated like any other value.
B
- BeanDiffer - Class in de.danielbechler.diff.differ
-
Used to find differences between objects that were not handled by one of the other (specialized)
Differs. - BeanDiffer(DifferDispatcher, IsIntrospectableResolver, IsReturnableResolver, ComparisonStrategyResolver, TypeInfoResolver) - Constructor for class de.danielbechler.diff.differ.BeanDiffer
- BeanPropertyElementSelector - Class in de.danielbechler.diff.selector
- BeanPropertyElementSelector(String) - Constructor for class de.danielbechler.diff.selector.BeanPropertyElementSelector
- build() - Method in class de.danielbechler.diff.ObjectDifferBuilder
- build() - Method in interface de.danielbechler.diff.path.NodePath.AppendableBuilder
- buildDefault() - Static method in class de.danielbechler.diff.ObjectDifferBuilder
C
- canonicalGet(Object) - Method in class de.danielbechler.diff.node.DiffNode
- canonicalSet(Object, Object) - Method in class de.danielbechler.diff.node.DiffNode
- canonicalUnset(Object) - Method in class de.danielbechler.diff.node.DiffNode
- categories() - Element in annotation interface de.danielbechler.diff.introspection.ObjectDiffProperty
-
Categories will be passed along with the object node and can be used for advanced filtering of specific property groups.
- categories() - Method in class de.danielbechler.diff.ObjectDifferBuilder
-
Allows to assign custom categories (or tags) to entire types or selected elements and properties.
- category(String) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToExclude
- category(String) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToInclude
- CategoryAware - Interface in de.danielbechler.diff.access
- CategoryConfigurer - Interface in de.danielbechler.diff.category
-
Allows to assign custom categories (or tags) to entire types or selected elements and properties.
- CategoryConfigurer.Of - Interface in de.danielbechler.diff.category
- CategoryFilteringVisitor - Class in de.danielbechler.diff.node
- CategoryFilteringVisitor() - Constructor for class de.danielbechler.diff.node.CategoryFilteringVisitor
- CategoryResolver - Interface in de.danielbechler.diff.category
- CategoryService - Class in de.danielbechler.diff.category
- CategoryService(ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.category.CategoryService
- CHANGED - Enum constant in enum class de.danielbechler.diff.node.DiffNode.State
- childCount() - Method in class de.danielbechler.diff.node.DiffNode
- children - Variable in class de.danielbechler.diff.inclusion.ValueNode
- CIRCULAR - Enum constant in enum class de.danielbechler.diff.node.DiffNode.State
- CircularReferenceConfigurer - Interface in de.danielbechler.diff.circular
-
Allows to define how the circular reference detector compares object instances.
- CircularReferenceDetector - Class in de.danielbechler.diff.circular
- CircularReferenceDetector(CircularReferenceDetector.ReferenceMatchingMode) - Constructor for class de.danielbechler.diff.circular.CircularReferenceDetector
- CircularReferenceDetector.CircularReferenceException - Exception in de.danielbechler.diff.circular
- CircularReferenceDetector.ReferenceMatchingMode - Enum Class in de.danielbechler.diff.circular
- CircularReferenceDetectorFactory - Interface in de.danielbechler.diff.circular
- CircularReferenceException(NodePath) - Constructor for exception de.danielbechler.diff.circular.CircularReferenceDetector.CircularReferenceException
- CircularReferenceExceptionHandler - Interface in de.danielbechler.diff.circular
- circularReferenceHandling() - Method in class de.danielbechler.diff.ObjectDifferBuilder
-
Allows to define how the circular reference detector compares object instances.
- CircularReferenceMatchingMode - Enum Class in de.danielbechler.diff.circular
-
Defines how the
CircularReferenceDetectorcompares object instances. - CircularReferenceService - Class in de.danielbechler.diff.circular
- CircularReferenceService(ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.circular.CircularReferenceService
- Classes - Class in de.danielbechler.util
- clear() - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- clearInstanceMemory() - Method in class de.danielbechler.diff.differ.DifferDispatcher
- collect(NodePathValueHolder.Collector<T>) - Method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- CollectionDiffer - Class in de.danielbechler.diff.differ
-
Used to find differences between
Collections. - CollectionDiffer(DifferDispatcher, ComparisonStrategyResolver, IdentityStrategyResolver) - Constructor for class de.danielbechler.diff.differ.CollectionDiffer
- collectionItem(T) - Method in interface de.danielbechler.diff.path.NodePath.AppendableBuilder
- CollectionItemAccessor - Class in de.danielbechler.diff.access
- CollectionItemAccessor(Object) - Constructor for class de.danielbechler.diff.access.CollectionItemAccessor
-
Default implementation uses IdentityService.EQUALS_IDENTITY_STRATEGY.
- CollectionItemAccessor(Object, IdentityStrategy) - Constructor for class de.danielbechler.diff.access.CollectionItemAccessor
-
Allows for custom IdentityStrategy.
- CollectionItemElementSelector - Class in de.danielbechler.diff.selector
- CollectionItemElementSelector(Object) - Constructor for class de.danielbechler.diff.selector.CollectionItemElementSelector
-
Default implementation uses EqualsIdentityStrategy.
- Collections - Class in de.danielbechler.util
- ComparableComparisonStrategy - Class in de.danielbechler.diff.comparison
- ComparableComparisonStrategy() - Constructor for class de.danielbechler.diff.comparison.ComparableComparisonStrategy
- Comparables - Class in de.danielbechler.util
- compare(DiffNode, Instances) - Method in class de.danielbechler.diff.differ.BeanDiffer
- compare(DiffNode, Instances) - Method in class de.danielbechler.diff.differ.CollectionDiffer
- compare(DiffNode, Instances) - Method in interface de.danielbechler.diff.differ.Differ
- compare(DiffNode, Instances) - Method in class de.danielbechler.diff.differ.MapDiffer
- compare(DiffNode, Instances) - Method in class de.danielbechler.diff.differ.PrimitiveDiffer
- compare(DiffNode, Class<?>, Object, Object) - Method in class de.danielbechler.diff.comparison.ComparableComparisonStrategy
- compare(DiffNode, Class<?>, Object, Object) - Method in interface de.danielbechler.diff.comparison.ComparisonStrategy
- compare(DiffNode, Class<?>, Object, Object) - Method in class de.danielbechler.diff.comparison.EqualsOnlyComparisonStrategy
- compare(T, T) - Method in class de.danielbechler.diff.ObjectDiffer
-
Recursively inspects the given objects and returns a node representing their differences.
- compareTo(NodePath) - Method in class de.danielbechler.diff.path.NodePath
- comparison() - Method in class de.danielbechler.diff.ObjectDifferBuilder
-
Allows to configure the way objects are compared.
- ComparisonConfigurer - Interface in de.danielbechler.diff.comparison
-
Allows to configure the way objects are compared.
- ComparisonConfigurer.Of - Interface in de.danielbechler.diff.comparison
- ComparisonConfigurer.OfPrimitiveTypes - Interface in de.danielbechler.diff.comparison
- ComparisonService - Class in de.danielbechler.diff.comparison
- ComparisonService(ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.comparison.ComparisonService
- ComparisonStrategy - Interface in de.danielbechler.diff.comparison
- comparisonStrategyForAnnotation(ObjectDiffEqualsOnlyType) - Method in class de.danielbechler.diff.comparison.ObjectDiffPropertyComparisonStrategyResolver
- comparisonStrategyForAnnotation(ObjectDiffProperty) - Method in class de.danielbechler.diff.comparison.ObjectDiffPropertyComparisonStrategyResolver
- ComparisonStrategyResolver - Interface in de.danielbechler.diff.comparison
- containsAny(Iterable<T>, Iterable<T>) - Static method in class de.danielbechler.util.Collections
- containsValue(T) - Method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- containsValue(V) - Method in class de.danielbechler.diff.inclusion.ValueNode
- copyWithIdentityStrategy(IdentityStrategy) - Method in class de.danielbechler.diff.selector.CollectionItemElementSelector
- createCircularReferenceDetector() - Method in interface de.danielbechler.diff.circular.CircularReferenceDetectorFactory
- createCircularReferenceDetector() - Method in class de.danielbechler.diff.circular.CircularReferenceService
- createDiffer(DifferDispatcher, NodeQueryService) - Method in interface de.danielbechler.diff.differ.DifferFactory
D
- de.danielbechler.diff - package de.danielbechler.diff
- de.danielbechler.diff.access - package de.danielbechler.diff.access
- de.danielbechler.diff.category - package de.danielbechler.diff.category
- de.danielbechler.diff.circular - package de.danielbechler.diff.circular
- de.danielbechler.diff.comparison - package de.danielbechler.diff.comparison
- de.danielbechler.diff.differ - package de.danielbechler.diff.differ
- de.danielbechler.diff.filtering - package de.danielbechler.diff.filtering
- de.danielbechler.diff.identity - package de.danielbechler.diff.identity
- de.danielbechler.diff.inclusion - package de.danielbechler.diff.inclusion
- de.danielbechler.diff.instantiation - package de.danielbechler.diff.instantiation
- de.danielbechler.diff.introspection - package de.danielbechler.diff.introspection
- de.danielbechler.diff.node - package de.danielbechler.diff.node
- de.danielbechler.diff.path - package de.danielbechler.diff.path
- de.danielbechler.diff.selector - package de.danielbechler.diff.selector
- de.danielbechler.util - package de.danielbechler.util
- DEFAULT - Enum constant in enum class de.danielbechler.diff.inclusion.Inclusion
- DefaultPropertyAccessExceptionHandler - Class in de.danielbechler.diff.introspection
- DefaultPropertyAccessExceptionHandler() - Constructor for class de.danielbechler.diff.introspection.DefaultPropertyAccessExceptionHandler
- Differ - Interface in de.danielbechler.diff.differ
- DifferConfigurer - Interface in de.danielbechler.diff.differ
-
Created by Daniel Bechler.
- DifferDispatcher - Class in de.danielbechler.diff.differ
- DifferDispatcher(DifferProvider, CircularReferenceDetectorFactory, CircularReferenceExceptionHandler, IsIgnoredResolver, IsReturnableResolver, PropertyAccessExceptionHandlerResolver, CategoryResolver) - Constructor for class de.danielbechler.diff.differ.DifferDispatcher
- differenceToString(DiffNode, Object, Object) - Method in class de.danielbechler.diff.node.PrintingVisitor
- differenceToString(DiffNode, Object, Object) - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- DifferFactory - Interface in de.danielbechler.diff.differ
-
Created by Daniel Bechler.
- DifferProvider - Class in de.danielbechler.diff.differ
- DifferProvider() - Constructor for class de.danielbechler.diff.differ.DifferProvider
- differs() - Method in class de.danielbechler.diff.ObjectDifferBuilder
- DifferService - Class in de.danielbechler.diff.differ
- DifferService(ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.differ.DifferService
- DiffNode - Class in de.danielbechler.diff.node
-
Represents a part of an object.
- DiffNode(DiffNode, Accessor) - Constructor for class de.danielbechler.diff.node.DiffNode
- DiffNode(DiffNode, Accessor, Class<?>) - Constructor for class de.danielbechler.diff.node.DiffNode
- DiffNode.State - Enum Class in de.danielbechler.diff.node
-
The state of a
DiffNoderepresenting the difference between two objects. - DiffNode.Visitor - Interface in de.danielbechler.diff.node
-
Visitor to traverse a node graph.
- DISABLED - Enum constant in enum class de.danielbechler.diff.introspection.IntrospectionService.IntrospectionMode
- dispatch(DiffNode, Instances, Accessor) - Method in class de.danielbechler.diff.differ.DifferDispatcher
-
Delegates the call to an appropriate
Differ. - dontGoDeeper() - Method in class de.danielbechler.diff.node.Visit
E
- element(ElementSelector) - Method in interface de.danielbechler.diff.path.NodePath.AppendableBuilder
- elementSelector - Variable in class de.danielbechler.diff.inclusion.ValueNode
- ElementSelector - Class in de.danielbechler.diff.selector
-
Serves mainly as marker class and enforces the proper implementation of hashCode(), equals() and toString() for all element selectors.
- ElementSelector() - Constructor for class de.danielbechler.diff.selector.ElementSelector
- ENABLED - Enum constant in enum class de.danielbechler.diff.introspection.IntrospectionService.IntrospectionMode
- enablesStrictIncludeMode() - Method in interface de.danielbechler.diff.inclusion.InclusionResolver
-
When this method returns
true, it causes the inclusion service to exclude all nodes that are not explicitly included viaInclusion.INCLUDED. - EQUALITY_OPERATOR - Enum constant in enum class de.danielbechler.diff.circular.CircularReferenceDetector.ReferenceMatchingMode
-
Compares objects using the
==operator. - EQUALITY_OPERATOR - Enum constant in enum class de.danielbechler.diff.circular.CircularReferenceMatchingMode
-
Compares objects using the
==operator. - equals(Object) - Method in class de.danielbechler.diff.access.MapEntryAccessor
- equals(Object) - Method in class de.danielbechler.diff.node.DiffNode
- equals(Object) - Method in class de.danielbechler.diff.path.NodePath
- equals(Object) - Method in class de.danielbechler.diff.selector.BeanPropertyElementSelector
- equals(Object) - Method in class de.danielbechler.diff.selector.CollectionItemElementSelector
- equals(Object) - Method in class de.danielbechler.diff.selector.ElementSelector
-
Must be implemented in a way so that this element can be distinguished from the other ones.
- equals(Object) - Method in class de.danielbechler.diff.selector.MapKeyElementSelector
- equals(Object) - Method in class de.danielbechler.diff.selector.RootElementSelector
- equals(Object, Object) - Method in class de.danielbechler.diff.identity.EqualsIdentityStrategy
- equals(Object, Object) - Method in interface de.danielbechler.diff.identity.IdentityStrategy
-
TODO Contract: IdentityStrategy.equals(Object working, Object base) must always be
truewhenworking == base - EQUALS_METHOD - Enum constant in enum class de.danielbechler.diff.circular.CircularReferenceDetector.ReferenceMatchingMode
-
Compares objects using Object.equals(Object).
- EQUALS_METHOD - Enum constant in enum class de.danielbechler.diff.circular.CircularReferenceMatchingMode
-
Compares objects using Object.equals(Object).
- EqualsIdentityStrategy - Class in de.danielbechler.diff.identity
-
Default implementation that uses Object.equals.
- EqualsIdentityStrategy() - Constructor for class de.danielbechler.diff.identity.EqualsIdentityStrategy
- equalsOnly() - Element in annotation interface de.danielbechler.diff.introspection.ObjectDiffProperty
-
Causes the
Differsto compare the object by using theObject.equals(Object)method instead of introspection. - EqualsOnlyComparisonStrategy - Class in de.danielbechler.diff.comparison
- EqualsOnlyComparisonStrategy() - Constructor for class de.danielbechler.diff.comparison.EqualsOnlyComparisonStrategy
- EqualsOnlyComparisonStrategy(String) - Constructor for class de.danielbechler.diff.comparison.EqualsOnlyComparisonStrategy
- equalsOnlyValueProviderMethod() - Element in annotation interface de.danielbechler.diff.introspection.ObjectDiffProperty
-
Can be used in conjunction with
ObjectDiffProperty.equalsOnly()to name a method on the object that provides the value to compare via equals. - equalTypesOrNull(Object...) - Static method in class de.danielbechler.util.Assert
- escalate(Exception) - Static method in class de.danielbechler.util.Exceptions
- escalate(String, Exception) - Static method in class de.danielbechler.util.Exceptions
- Exceptions - Class in de.danielbechler.util
- exclude() - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer
- exclude() - Method in class de.danielbechler.diff.inclusion.InclusionService
- exclude(String) - Method in class de.danielbechler.diff.node.CategoryFilteringVisitor
- excluded() - Element in annotation interface de.danielbechler.diff.introspection.ObjectDiffProperty
-
Deprecated.Please use ObjectDiffProperty.inclusion() instead. When used in conjunction with ObjectDiffProperty.inclusion(), the latter one will win over ObjectDiffProperty.excluded().
- EXCLUDED - Enum constant in enum class de.danielbechler.diff.inclusion.Inclusion
- ExclusionAware - Interface in de.danielbechler.diff.access
-
Deprecated.This was a shortcut to extract the "exclude" flag from the ObjectDiffProperty annotation. Since we found a better way to do that, it is not needed anymore and will be removed in future versions.
F
- fillInStackTrace() - Method in exception de.danielbechler.diff.circular.CircularReferenceDetector.CircularReferenceException
- filter(DiffNode) - Method in class de.danielbechler.diff.node.PrintingVisitor
- filteredCopyOf(Collection<? extends T>, Collection<? extends T>) - Static method in class de.danielbechler.util.Collections
- filtering() - Method in class de.danielbechler.diff.ObjectDifferBuilder
-
Allows to exclude nodes from being added to the object graph based on criteria that are only known after the diff for the affected node and all its children has been determined.
- FilteringConfigurer - Interface in de.danielbechler.diff.filtering
-
Allows to exclude nodes from being added to the object graph based on criteria that are only known after the diff for the affected node and all its children has been determined.
- firstElementOf(Collection<? extends T>) - Static method in class de.danielbechler.util.Collections
- forgetInstances(DiffNode, Instances) - Static method in class de.danielbechler.diff.differ.DifferDispatcher
- freshInstanceOf(Class<T>) - Static method in class de.danielbechler.util.Classes
G
- get(Object) - Method in interface de.danielbechler.diff.access.Accessor
- get(Object) - Method in class de.danielbechler.diff.access.CollectionItemAccessor
- get(Object) - Method in class de.danielbechler.diff.access.MapEntryAccessor
- get(Object) - Method in class de.danielbechler.diff.access.RootAccessor
- get(Object) - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- get(Object) - Method in class de.danielbechler.diff.node.DiffNode
- getAccessors() - Method in class de.danielbechler.diff.instantiation.TypeInfo
- getBase() - Method in class de.danielbechler.diff.access.Instances
- getBase(Class<T>) - Method in class de.danielbechler.diff.access.Instances
- getBeanInfo(Class<?>) - Method in class de.danielbechler.diff.introspection.StandardIntrospector
- getCategories() - Method in class de.danielbechler.diff.node.DiffNode
- getCategoriesFromAnnotation() - Method in interface de.danielbechler.diff.access.CategoryAware
- getCategoriesFromAnnotation() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getChild(NodePath) - Method in class de.danielbechler.diff.node.DiffNode
-
Retrieve a child that matches the given absolute path, starting from the current node.
- getChild(ElementSelector) - Method in class de.danielbechler.diff.inclusion.ValueNode
- getChild(ElementSelector) - Method in class de.danielbechler.diff.node.DiffNode
-
Retrieve a child that matches the given path element relative to this node.
- getChild(String) - Method in class de.danielbechler.diff.node.DiffNode
-
Retrieve a child with the given property name relative to this node.
- getChild(List<ElementSelector>) - Method in class de.danielbechler.diff.node.DiffNode
-
Retrieve a child that matches the given path element relative to this node.
- getCircleStartNode() - Method in class de.danielbechler.diff.node.DiffNode
- getCircleStartPath() - Method in class de.danielbechler.diff.node.DiffNode
- getClosestParentWithValue() - Method in class de.danielbechler.diff.inclusion.ValueNode
- getDifferFactories() - Method in class de.danielbechler.diff.differ.DifferService
- getElementSelector() - Method in interface de.danielbechler.diff.access.Accessor
- getElementSelector() - Method in class de.danielbechler.diff.access.CollectionItemAccessor
- getElementSelector() - Method in class de.danielbechler.diff.access.MapEntryAccessor
- getElementSelector() - Method in class de.danielbechler.diff.access.RootAccessor
- getElementSelector() - Method in class de.danielbechler.diff.inclusion.ValueNode
- getElementSelector() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getElementSelector() - Method in class de.danielbechler.diff.node.DiffNode
- getElementSelectors() - Method in class de.danielbechler.diff.path.NodePath
- getFieldAnnotation(Class<T>) - Method in interface de.danielbechler.diff.access.PropertyAwareAccessor
- getFieldAnnotation(Class<T>) - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getFieldAnnotation(Class<T>) - Method in class de.danielbechler.diff.node.DiffNode
- getFieldAnnotations() - Method in interface de.danielbechler.diff.access.PropertyAwareAccessor
- getFieldAnnotations() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getFieldAnnotations() - Method in class de.danielbechler.diff.node.DiffNode
-
If this node represents a bean property this method returns all annotations of its field.
- getFresh() - Method in class de.danielbechler.diff.access.Instances
- getFresh(Class<T>) - Method in class de.danielbechler.diff.access.Instances
- getIdentityStrategy() - Method in interface de.danielbechler.diff.identity.IdentityStrategyAware
- getInclusion(DiffNode) - Method in interface de.danielbechler.diff.inclusion.InclusionResolver
-
Determines whether a given
DiffNodeshould be included into the comparison process. - getInstance() - Static method in class de.danielbechler.diff.access.RootAccessor
- getInstance() - Static method in class de.danielbechler.diff.identity.EqualsIdentityStrategy
- getInstance() - Static method in class de.danielbechler.diff.selector.RootElementSelector
- getItem() - Method in class de.danielbechler.diff.selector.CollectionItemElementSelector
-
Deprecated.Low-level API. Don't use in production code. May be removed in future versions.
- getKey() - Method in class de.danielbechler.diff.selector.MapKeyElementSelector
-
Deprecated.Low-level API. Don't use in production code. May be removed in future versions.
- getKey(Map<?, ?>) - Method in class de.danielbechler.diff.access.MapEntryAccessor
- getLastElementSelector() - Method in class de.danielbechler.diff.path.NodePath
- getMatches() - Method in class de.danielbechler.diff.node.AbstractFilteringVisitor
- getMessage() - Method in exception de.danielbechler.diff.introspection.PropertyReadException
- getMessage() - Method in exception de.danielbechler.diff.introspection.PropertyWriteException
- getMessage(NodePath) - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- getMessages() - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- getMessagesAsString() - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- getNewValue() - Method in exception de.danielbechler.diff.introspection.PropertyWriteException
- getNode() - Method in class de.danielbechler.diff.node.NodePathVisitor
- getNodeForPath(NodePath) - Method in class de.danielbechler.diff.inclusion.ValueNode
- getNodePath() - Method in exception de.danielbechler.diff.circular.CircularReferenceDetector.CircularReferenceException
- getParent() - Method in class de.danielbechler.diff.inclusion.ValueNode
- getParentNode() - Method in class de.danielbechler.diff.node.DiffNode
- getPath() - Method in class de.danielbechler.diff.node.DiffNode
- getPropertyAnnotation(Class<T>) - Method in class de.danielbechler.diff.node.DiffNode
- getPropertyAnnotations() - Method in class de.danielbechler.diff.node.DiffNode
-
If this node represents a bean property this method returns all annotations of its getter.
- getPropertyName() - Method in interface de.danielbechler.diff.access.PropertyAwareAccessor
- getPropertyName() - Method in exception de.danielbechler.diff.introspection.PropertyAccessException
- getPropertyName() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getPropertyName() - Method in class de.danielbechler.diff.node.DiffNode
-
If this node represents a bean property, this method will simply return its name.
- getPropertyName() - Method in class de.danielbechler.diff.selector.BeanPropertyElementSelector
- getReadMethodAnnotation(Class<T>) - Method in interface de.danielbechler.diff.access.PropertyAwareAccessor
- getReadMethodAnnotation(Class<T>) - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getReadMethodAnnotations() - Method in interface de.danielbechler.diff.access.PropertyAwareAccessor
- getReadMethodAnnotations() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getReason() - Method in exception de.danielbechler.diff.instantiation.TypeInstantiationException
- getReason() - Method in enum class de.danielbechler.diff.node.DiffNode.State
- getSourceAccessor() - Method in class de.danielbechler.diff.access.Instances
- getState() - Method in class de.danielbechler.diff.node.DiffNode
- getTargetType() - Method in exception de.danielbechler.diff.introspection.PropertyAccessException
- getType() - Method in class de.danielbechler.diff.access.CollectionItemAccessor
- getType() - Method in class de.danielbechler.diff.access.Instances
- getType() - Method in interface de.danielbechler.diff.access.TypeAwareAccessor
- getType() - Method in class de.danielbechler.diff.instantiation.TypeInfo
- getType() - Method in exception de.danielbechler.diff.instantiation.TypeInstantiationException
- getType() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- getValue() - Method in class de.danielbechler.diff.inclusion.ValueNode
- getValueType() - Method in class de.danielbechler.diff.node.DiffNode
- getValueTypeInfo() - Method in class de.danielbechler.diff.node.DiffNode
- getWorking() - Method in class de.danielbechler.diff.access.Instances
- getWorking(Class<T>) - Method in class de.danielbechler.diff.access.Instances
H
- handleCircularReferenceExceptionsUsing(CircularReferenceExceptionHandler) - Method in interface de.danielbechler.diff.circular.CircularReferenceConfigurer
- handleCircularReferenceExceptionsUsing(CircularReferenceExceptionHandler) - Method in class de.danielbechler.diff.circular.CircularReferenceService
- handlePropertyAccessExceptionsUsing(PropertyAccessExceptionHandler) - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer
- handlePropertyAccessExceptionsUsing(PropertyAccessExceptionHandler) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- hasBeenAdded() - Method in class de.danielbechler.diff.access.Instances
- hasBeenRemoved() - Method in class de.danielbechler.diff.access.Instances
- hasChanges() - Method in class de.danielbechler.diff.node.DiffNode
- hasChild(ElementSelector) - Method in class de.danielbechler.diff.inclusion.ValueNode
- hasChildMatchingValue(NodePath, T) - Method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- hasChildren() - Method in class de.danielbechler.diff.node.DiffNode
- hashCode() - Method in class de.danielbechler.diff.access.MapEntryAccessor
- hashCode() - Method in class de.danielbechler.diff.node.DiffNode
- hashCode() - Method in class de.danielbechler.diff.path.NodePath
- hashCode() - Method in class de.danielbechler.diff.selector.BeanPropertyElementSelector
- hashCode() - Method in class de.danielbechler.diff.selector.CollectionItemElementSelector
- hashCode() - Method in class de.danielbechler.diff.selector.ElementSelector
-
Make sure to implement this properly.
- hashCode() - Method in class de.danielbechler.diff.selector.MapKeyElementSelector
- hashCode() - Method in class de.danielbechler.diff.selector.RootElementSelector
- hasMessages() - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- hasText(String) - Static method in class de.danielbechler.util.Strings
- hasText(String, String) - Static method in class de.danielbechler.util.Assert
-
Ensures that the given
valuecontains characters. - hasValue() - Method in class de.danielbechler.diff.inclusion.ValueNode
I
- identity() - Method in class de.danielbechler.diff.ObjectDifferBuilder
-
EXPERT FEATURE: Allows to configure the way the identity of objects is determined in order to establish the relationship between different versions.
- IdentityConfigurer - Interface in de.danielbechler.diff.identity
- IdentityConfigurer.OfCollectionItems - Interface in de.danielbechler.diff.identity
- IdentityService - Class in de.danielbechler.diff.identity
- IdentityService(ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.identity.IdentityService
- IdentityStrategy - Interface in de.danielbechler.diff.identity
-
Allows to configure the way objects identities are established when comparing collections via CollectionDiffer.
- IdentityStrategyAware - Interface in de.danielbechler.diff.identity
- IdentityStrategyResolver - Interface in de.danielbechler.diff.identity
- IGNORED - Enum constant in enum class de.danielbechler.diff.node.DiffNode.State
- INACCESSIBLE - Enum constant in enum class de.danielbechler.diff.node.DiffNode.State
- include() - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer
-
Includes elements (and implicitly all their children) based on certain criteria, unless their parent element is excluded.
- include() - Method in class de.danielbechler.diff.inclusion.InclusionService
- include(String) - Method in class de.danielbechler.diff.node.CategoryFilteringVisitor
- includeAllNonExcluded(boolean) - Method in class de.danielbechler.diff.node.CategoryFilteringVisitor
- INCLUDED - Enum constant in enum class de.danielbechler.diff.inclusion.Inclusion
- includeOnly(String) - Method in class de.danielbechler.diff.node.CategoryFilteringVisitor
-
Deprecated.This method is confusing. The name implies only nodes with the given category will be included, but that's not the case. Instead every previously included category will also be included. On top of that every excluded category will remain excluded. This method will be removed in future versions until the feature is explicitly requested.
- inclusion() - Element in annotation interface de.danielbechler.diff.introspection.ObjectDiffProperty
- inclusion() - Method in class de.danielbechler.diff.ObjectDifferBuilder
-
Allows to in- or exclude nodes based on property name, object type, category or location in the object graph.
- Inclusion - Enum Class in de.danielbechler.diff.inclusion
- InclusionConfigurer - Interface in de.danielbechler.diff.inclusion
-
Allows to in- or exclude nodes based on property name, object type, category or location in the object graph.
- InclusionConfigurer.ToExclude - Interface in de.danielbechler.diff.inclusion
- InclusionConfigurer.ToInclude - Interface in de.danielbechler.diff.inclusion
- InclusionResolver - Interface in de.danielbechler.diff.inclusion
-
This can be used to implement custom inclusion mechanisms.
- InclusionService - Class in de.danielbechler.diff.inclusion
- InclusionService(CategoryResolver, ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.inclusion.InclusionService
- indent(int, String) - Static method in class de.danielbechler.util.Strings
- instance - Static variable in class de.danielbechler.diff.comparison.ObjectDiffPropertyComparisonStrategyResolver
- InstanceFactory - Interface in de.danielbechler.diff.instantiation
-
Serves as factory for objects.
- Instances - Class in de.danielbechler.diff.access
- introspect(Class<?>) - Method in interface de.danielbechler.diff.introspection.Introspector
-
Gathers information about a given type.
- introspect(Class<?>) - Method in class de.danielbechler.diff.introspection.StandardIntrospector
- introspection() - Method in class de.danielbechler.diff.ObjectDifferBuilder
-
Allows to replace the default bean introspector with a custom implementation.
- IntrospectionConfigurer - Interface in de.danielbechler.diff.introspection
-
Allows to replace the default bean introspector with a custom implementation.
- IntrospectionConfigurer.Of - Interface in de.danielbechler.diff.introspection
- IntrospectionService - Class in de.danielbechler.diff.introspection
- IntrospectionService(ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.introspection.IntrospectionService
- IntrospectionService.IntrospectionMode - Enum Class in de.danielbechler.diff.introspection
- Introspector - Interface in de.danielbechler.diff.introspection
-
Resolves the accessors of a given type.
- introspectorForNode(DiffNode) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- isAdded() - Method in class de.danielbechler.diff.node.DiffNode
-
Convenience method for
DiffNode.getState()==DiffNode.State.ADDED - isAllowedToGoDeeper() - Method in class de.danielbechler.diff.node.Visit
- isChanged() - Method in class de.danielbechler.diff.node.DiffNode
-
Convenience method for
DiffNode.getState()==DiffNode.State.CHANGED - isChildOf(NodePath) - Method in class de.danielbechler.diff.path.NodePath
- isCircular() - Method in class de.danielbechler.diff.node.DiffNode
-
Convenience method for
DiffNode.getState()==DiffNode.State.CIRCULAR - isComparableType(Class<?>) - Static method in class de.danielbechler.util.Classes
- isEmpty(String) - Static method in class de.danielbechler.util.Strings
- isEmpty(Collection<?>) - Static method in class de.danielbechler.util.Collections
- isEqual(Object, Object) - Static method in class de.danielbechler.util.Objects
- isEqualByComparison(T, T) - Static method in class de.danielbechler.util.Comparables
- isExcluded() - Method in class de.danielbechler.diff.node.DiffNode
-
Deprecated.This method was a shortcut to extract the "exclude" flag from the ObjectDiffProperty annotation. Since we found a better way to do that, it is not needed anymore and will be removed in future versions. The name is also misleading. It implies that here lies the truth about the exclusion, but only the InclusionService can tell for sure. This flag is just only little piece of the puzzle.
- isExcludedByAnnotation() - Method in interface de.danielbechler.diff.access.ExclusionAware
-
Deprecated.
- isExcludedByAnnotation() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- isIgnored() - Method in class de.danielbechler.diff.node.DiffNode
-
Convenience method for
DiffNode.getState()==DiffNode.State.IGNORED - isIgnored(DiffNode) - Method in class de.danielbechler.diff.inclusion.InclusionService
- isIgnored(DiffNode) - Method in interface de.danielbechler.diff.inclusion.IsIgnoredResolver
- IsIgnoredResolver - Interface in de.danielbechler.diff.inclusion
- isIntrospectable(DiffNode) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- isIntrospectable(DiffNode) - Method in interface de.danielbechler.diff.introspection.IsIntrospectableResolver
- IsIntrospectableResolver - Interface in de.danielbechler.diff.introspection
- isMatch(Object, Object) - Method in class de.danielbechler.diff.circular.CircularReferenceDetector
- isParentOf(NodePath) - Method in class de.danielbechler.diff.path.NodePath
- isPrimitiveNumericType() - Method in class de.danielbechler.diff.access.Instances
- isPrimitiveNumericType(Class<?>) - Static method in class de.danielbechler.util.Classes
- isPrimitiveType() - Method in class de.danielbechler.diff.access.Instances
- isPrimitiveType(Class<?>) - Static method in class de.danielbechler.util.Classes
- isPrimitiveWrapperType() - Method in class de.danielbechler.diff.access.Instances
- isPrimitiveWrapperType(Class<?>) - Static method in class de.danielbechler.util.Classes
- isPropertyAware() - Method in class de.danielbechler.diff.node.DiffNode
-
Returns
truewhen this node represents a bean property and can therefore be queried for property specific information like annotations or property types. - isRemoved() - Method in class de.danielbechler.diff.node.DiffNode
-
Convenience method for
DiffNode.getState()==DiffNode.State.REMOVED - isReturnable(DiffNode) - Method in interface de.danielbechler.diff.filtering.IsReturnableResolver
- isReturnable(DiffNode) - Method in class de.danielbechler.diff.filtering.ReturnableNodeService
- IsReturnableResolver - Interface in de.danielbechler.diff.filtering
- isRootNode() - Method in class de.danielbechler.diff.node.DiffNode
- isSimpleType(Class<?>) - Static method in class de.danielbechler.util.Classes
- isStopped() - Method in class de.danielbechler.diff.node.Visit
- isUntouched() - Method in class de.danielbechler.diff.node.DiffNode
-
Convenience method for
DiffNode.getState()==DiffNode.State.UNTOUCHED - it(NodePath, T) - Method in interface de.danielbechler.diff.path.NodePathValueHolder.Collector
-
Deprecated.
J
- join(String, Object...) - Static method in class de.danielbechler.util.Strings
-
Joins all non-null elements of the given
elementsinto one String. - join(String, Collection<?>) - Static method in class de.danielbechler.util.Strings
-
Same as
Strings.join(String, Object...)but with aCollectioninstead of an Array for the elements.
K
- knows(Object) - Method in class de.danielbechler.diff.circular.CircularReferenceDetector
M
- MapDiffer - Class in de.danielbechler.diff.differ
-
Used to find differences between
Maps - MapDiffer(DifferDispatcher, ComparisonStrategyResolver) - Constructor for class de.danielbechler.diff.differ.MapDiffer
- MapEntryAccessor - Class in de.danielbechler.diff.access
- MapEntryAccessor(Object) - Constructor for class de.danielbechler.diff.access.MapEntryAccessor
- mapKey(K) - Method in interface de.danielbechler.diff.path.NodePath.AppendableBuilder
- MapKeyElementSelector - Class in de.danielbechler.diff.selector
- MapKeyElementSelector(Object) - Constructor for class de.danielbechler.diff.selector.MapKeyElementSelector
- matchCircularReferencesUsing(CircularReferenceMatchingMode) - Method in interface de.danielbechler.diff.circular.CircularReferenceConfigurer
- matchCircularReferencesUsing(CircularReferenceMatchingMode) - Method in class de.danielbechler.diff.circular.CircularReferenceService
- matches(NodePath) - Method in class de.danielbechler.diff.node.DiffNode
- matches(NodePath) - Method in class de.danielbechler.diff.path.NodePath
- merge(T, T, T) - Method in class de.danielbechler.diff.ObjectMerger
- mostSpecificSharedType(Collection<Class<?>>) - Static method in class de.danielbechler.util.Classes
-
This method will not extract the interfaces of the given types, since there is no way to determine, which interface is the most specific one (due to their compositional nature).
N
- newInstance() - Method in class de.danielbechler.diff.instantiation.TypeInfo
-
Creates a new instance of the represented type using the underlying
InstanceFactory. - newInstanceOfType(Class<?>) - Method in interface de.danielbechler.diff.instantiation.InstanceFactory
- newInstanceOfType(Class<?>) - Method in class de.danielbechler.diff.instantiation.PublicNoArgsConstructorInstanceFactory
- newNode(ElementSelector) - Method in class de.danielbechler.diff.inclusion.ValueNode
- newRootNode() - Static method in class de.danielbechler.diff.node.DiffNode
- newRootNodeWithType(Class<?>) - Static method in class de.danielbechler.diff.node.DiffNode
- node(DiffNode, Visit) - Method in class de.danielbechler.diff.node.AbstractFilteringVisitor
- node(DiffNode, Visit) - Method in interface de.danielbechler.diff.node.DiffNode.Visitor
- node(DiffNode, Visit) - Method in class de.danielbechler.diff.node.NodeHierarchyVisitor
- node(DiffNode, Visit) - Method in class de.danielbechler.diff.node.NodePathVisitor
- node(DiffNode, Visit) - Method in class de.danielbechler.diff.node.PrintingVisitor
- node(NodePath) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToExclude
- node(NodePath) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToInclude
- NodeHierarchyVisitor - Class in de.danielbechler.diff.node
-
Prints the hierarchy of the object graph in a human-readable form.
- NodeHierarchyVisitor() - Constructor for class de.danielbechler.diff.node.NodeHierarchyVisitor
- NodeHierarchyVisitor(int) - Constructor for class de.danielbechler.diff.node.NodeHierarchyVisitor
- NodePath - Class in de.danielbechler.diff.path
- NodePath.AppendableBuilder - Interface in de.danielbechler.diff.path
- NodePathValueHolder<T> - Class in de.danielbechler.diff.path
-
Deprecated.The ConfigNode provides a much more powerful way to store values for NodePaths.
- NodePathValueHolder() - Constructor for class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- NodePathValueHolder.Collector<T> - Interface in de.danielbechler.diff.path
-
Deprecated.
- NodePathVisitor - Class in de.danielbechler.diff.node
- NodePathVisitor(NodePath) - Constructor for class de.danielbechler.diff.node.NodePathVisitor
- NodeQueryService - Interface in de.danielbechler.diff
-
Created by Daniel Bechler.
- notEmpty(String, String) - Static method in class de.danielbechler.util.Assert
-
Same as
Assert.hasText(String, String). - notEmpty(Collection<?>, String) - Static method in class de.danielbechler.util.Assert
- notNull(Object, String) - Static method in class de.danielbechler.util.Assert
O
- ObjectDiffEqualsOnlyType - Annotation Interface in de.danielbechler.diff.introspection
- ObjectDiffer - Class in de.danielbechler.diff
-
This is the entry point for all comparisons.
- ObjectDiffer(DifferDispatcher) - Constructor for class de.danielbechler.diff.ObjectDiffer
- ObjectDifferBuilder - Class in de.danielbechler.diff
-
This is the entry point of every diffing operation.
- ObjectDiffProperty - Annotation Interface in de.danielbechler.diff.introspection
-
Annotation to be used on property getters in order to configure if and how they should be treated during object comparison.
- ObjectDiffPropertyComparisonStrategyResolver - Class in de.danielbechler.diff.comparison
-
Created by Daniel Bechler.
- ObjectMerger - Class in de.danielbechler.diff
-
Careful: This class has not yet been tested very thoroughly and serves more as an example for your own implementations.
- ObjectMerger() - Constructor for class de.danielbechler.diff.ObjectMerger
- ObjectMerger(ObjectDiffer) - Constructor for class de.danielbechler.diff.ObjectMerger
- Objects - Class in de.danielbechler.util
- of(Accessor, T, T) - Static method in class de.danielbechler.diff.access.Instances
- of(Accessor, T, T, T) - Static method in class de.danielbechler.diff.access.Instances
- of(Class<T>) - Static method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- of(T, T) - Static method in class de.danielbechler.diff.access.Instances
- ofCollectionItems(NodePath) - Method in interface de.danielbechler.diff.identity.IdentityConfigurer
-
Allows to configure the way object identities are established between collection items.
- ofCollectionItems(NodePath) - Method in class de.danielbechler.diff.identity.IdentityService
- ofCollectionItems(Class<?>, String) - Method in interface de.danielbechler.diff.identity.IdentityConfigurer
-
Allows to configure the way object identities are established between collection items.
- ofCollectionItems(Class<?>, String) - Method in class de.danielbechler.diff.identity.IdentityService
- ofNode(NodePath) - Method in interface de.danielbechler.diff.category.CategoryConfigurer
- ofNode(NodePath) - Method in class de.danielbechler.diff.category.CategoryService
- ofNode(NodePath) - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer
- ofNode(NodePath) - Method in class de.danielbechler.diff.comparison.ComparisonService
- ofNode(NodePath) - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer
- ofNode(NodePath) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- ofPrimitiveTypes() - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer
- ofPrimitiveTypes() - Method in class de.danielbechler.diff.comparison.ComparisonService
- ofType(Class<?>) - Method in interface de.danielbechler.diff.category.CategoryConfigurer
- ofType(Class<?>) - Method in class de.danielbechler.diff.category.CategoryService
- ofType(Class<?>) - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer
- ofType(Class<?>) - Method in class de.danielbechler.diff.comparison.ComparisonService
- ofType(Class<?>) - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer
- ofType(Class<?>) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- omitNodesWithState(DiffNode.State) - Method in interface de.danielbechler.diff.filtering.FilteringConfigurer
- omitNodesWithState(DiffNode.State) - Method in class de.danielbechler.diff.filtering.ReturnableNodeService
- onAccept(DiffNode, Visit) - Method in class de.danielbechler.diff.node.AbstractFilteringVisitor
- onAccept(DiffNode, Visit) - Method in class de.danielbechler.diff.node.StateFilteringVisitor
- onCircularReferenceException(DiffNode) - Method in interface de.danielbechler.diff.circular.CircularReferenceExceptionHandler
- onCircularReferenceException(DiffNode) - Method in class de.danielbechler.diff.circular.CircularReferenceService
- onDismiss(DiffNode, Visit) - Method in class de.danielbechler.diff.node.AbstractFilteringVisitor
- onDismiss(DiffNode, Visit) - Method in class de.danielbechler.diff.node.CategoryFilteringVisitor
- onDismiss(DiffNode, Visit) - Method in class de.danielbechler.diff.node.StateFilteringVisitor
- onPropertyReadException(PropertyReadException, DiffNode) - Method in class de.danielbechler.diff.introspection.DefaultPropertyAccessExceptionHandler
- onPropertyReadException(PropertyReadException, DiffNode) - Method in interface de.danielbechler.diff.introspection.PropertyAccessExceptionHandler
-
Will be called whenever the value of a property could not be retrieved due to an underlying exception.
P
- parent - Variable in class de.danielbechler.diff.inclusion.ValueNode
- PrimitiveDefaultValueMode - Enum Class in de.danielbechler.diff.comparison
-
Defines how default values of primitive types (int, long, short, byte, char, boolean, float, double) will be treated.
- PrimitiveDefaultValueModeResolver - Interface in de.danielbechler.diff.comparison
- PrimitiveDiffer - Class in de.danielbechler.diff.differ
- PrimitiveDiffer(PrimitiveDefaultValueModeResolver) - Constructor for class de.danielbechler.diff.differ.PrimitiveDiffer
- print(DiffNode, int) - Method in class de.danielbechler.diff.node.NodeHierarchyVisitor
- print(String) - Method in class de.danielbechler.diff.node.NodeHierarchyVisitor
- print(String) - Method in class de.danielbechler.diff.node.PrintingVisitor
- print(String) - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- PrintingVisitor - Class in de.danielbechler.diff.node
- PrintingVisitor(Object, Object) - Constructor for class de.danielbechler.diff.node.PrintingVisitor
- PropertyAccessException - Exception in de.danielbechler.diff.introspection
- PropertyAccessException(String, Class<?>, Throwable) - Constructor for exception de.danielbechler.diff.introspection.PropertyAccessException
- PropertyAccessExceptionHandler - Interface in de.danielbechler.diff.introspection
- PropertyAccessExceptionHandlerResolver - Interface in de.danielbechler.diff.introspection
- PropertyAccessor - Class in de.danielbechler.diff.introspection
- PropertyAccessor(String, Method, Method) - Constructor for class de.danielbechler.diff.introspection.PropertyAccessor
- PropertyAwareAccessor - Interface in de.danielbechler.diff.access
- propertyName(String) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToExclude
- propertyName(String) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToInclude
- propertyName(String, String...) - Method in interface de.danielbechler.diff.path.NodePath.AppendableBuilder
- propertyNameOfType(Class<?>, String...) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToExclude
-
Excludes one or more properties of the given type.
- propertyNameOfType(Class<?>, String...) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToInclude
-
Include one or more properties of the given type.
- PropertyReadException - Exception in de.danielbechler.diff.introspection
- PropertyReadException(String, Class<?>, Throwable) - Constructor for exception de.danielbechler.diff.introspection.PropertyReadException
- PropertyWriteException - Exception in de.danielbechler.diff.introspection
- PropertyWriteException(String, Class<?>, Object, Throwable) - Constructor for exception de.danielbechler.diff.introspection.PropertyWriteException
- PublicNoArgsConstructorInstanceFactory - Class in de.danielbechler.diff.instantiation
- PublicNoArgsConstructorInstanceFactory() - Constructor for class de.danielbechler.diff.instantiation.PublicNoArgsConstructorInstanceFactory
- push(Differ) - Method in class de.danielbechler.diff.differ.DifferProvider
- push(Object, NodePath) - Method in class de.danielbechler.diff.circular.CircularReferenceDetector
- pushAll(Iterable<Differ>) - Method in class de.danielbechler.diff.differ.DifferProvider
- put(NodePath, T) - Method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
R
- register(DifferFactory) - Method in interface de.danielbechler.diff.differ.DifferConfigurer
-
Registers a new Differ to be used when comparing objects.
- register(DifferFactory) - Method in class de.danielbechler.diff.differ.DifferService
- rememberInstances(DiffNode, Instances) - Static method in class de.danielbechler.diff.differ.DifferDispatcher
- remove(Object) - Method in class de.danielbechler.diff.circular.CircularReferenceDetector
- REMOVED - Enum constant in enum class de.danielbechler.diff.node.DiffNode.State
- resetInstanceMemory() - Method in class de.danielbechler.diff.differ.DifferDispatcher
- resolve(DiffNode) - Method in class de.danielbechler.diff.identity.TypePropertyIdentityStrategyResolver
- resolveCategories(DiffNode) - Method in interface de.danielbechler.diff.category.CategoryResolver
- resolveCategories(DiffNode) - Method in class de.danielbechler.diff.category.CategoryService
- resolveComparisonStrategy(DiffNode) - Method in class de.danielbechler.diff.comparison.ComparisonService
- resolveComparisonStrategy(DiffNode) - Method in interface de.danielbechler.diff.comparison.ComparisonStrategyResolver
- resolveIdentityStrategy(DiffNode) - Method in class de.danielbechler.diff.identity.IdentityService
- resolveIdentityStrategy(DiffNode) - Method in interface de.danielbechler.diff.identity.IdentityStrategyResolver
- resolvePrimitiveDefaultValueMode(DiffNode) - Method in class de.danielbechler.diff.comparison.ComparisonService
- resolvePrimitiveDefaultValueMode(DiffNode) - Method in interface de.danielbechler.diff.comparison.PrimitiveDefaultValueModeResolver
- resolvePropertyAccessExceptionHandler(Class<?>, String) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- resolvePropertyAccessExceptionHandler(Class<?>, String) - Method in interface de.danielbechler.diff.introspection.PropertyAccessExceptionHandlerResolver
- resolveUsing(InclusionResolver) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer
-
Registers a custom
InclusionResolver. - resolveUsing(InclusionResolver) - Method in class de.danielbechler.diff.inclusion.InclusionService
- retrieveDifferForType(Class<?>) - Method in class de.danielbechler.diff.differ.DifferProvider
- ReturnableNodeService - Class in de.danielbechler.diff.filtering
- ReturnableNodeService(ObjectDifferBuilder) - Constructor for class de.danielbechler.diff.filtering.ReturnableNodeService
- returnNodesWithState(DiffNode.State) - Method in interface de.danielbechler.diff.filtering.FilteringConfigurer
- returnNodesWithState(DiffNode.State) - Method in class de.danielbechler.diff.filtering.ReturnableNodeService
- returnNodesWithState(DiffNode.State, boolean) - Method in interface de.danielbechler.diff.filtering.FilteringConfigurer
- returnNodesWithState(DiffNode.State, boolean) - Method in class de.danielbechler.diff.filtering.ReturnableNodeService
- ROOT - Static variable in class de.danielbechler.diff.node.DiffNode
- RootAccessor - Class in de.danielbechler.diff.access
- RootElementSelector - Class in de.danielbechler.diff.selector
S
- set(Object, Object) - Method in interface de.danielbechler.diff.access.Accessor
- set(Object, Object) - Method in class de.danielbechler.diff.access.CollectionItemAccessor
- set(Object, Object) - Method in class de.danielbechler.diff.access.MapEntryAccessor
- set(Object, Object) - Method in class de.danielbechler.diff.access.RootAccessor
- set(Object, Object) - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- set(Object, Object) - Method in class de.danielbechler.diff.node.DiffNode
- setChildIdentityStrategy(IdentityStrategy) - Method in class de.danielbechler.diff.node.DiffNode
- setCircleStartNode(DiffNode) - Method in class de.danielbechler.diff.node.DiffNode
- setCircleStartPath(NodePath) - Method in class de.danielbechler.diff.node.DiffNode
- setDefaultCollectionItemIdentityStrategy(IdentityStrategy) - Method in interface de.danielbechler.diff.identity.IdentityConfigurer
- setDefaultCollectionItemIdentityStrategy(IdentityStrategy) - Method in class de.danielbechler.diff.identity.IdentityService
- setDefaultIntrospector(Introspector) - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer
- setDefaultIntrospector(Introspector) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- setIdentityStrategy(IdentityStrategy) - Method in interface de.danielbechler.diff.identity.IdentityStrategyAware
- setInstanceFactory(InstanceFactory) - Method in class de.danielbechler.diff.instantiation.TypeInfo
- setInstanceFactory(InstanceFactory) - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer
-
When assigning new values via
DiffNode(e.g. - setInstanceFactory(InstanceFactory) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- setOf(Collection<T>) - Static method in class de.danielbechler.util.Collections
- setParentNode(DiffNode) - Method in class de.danielbechler.diff.node.DiffNode
-
Sets the parent node.
- setState(DiffNode.State) - Method in class de.danielbechler.diff.node.DiffNode
- setStrategy(IdentityStrategy, Class<?>, String...) - Method in class de.danielbechler.diff.identity.TypePropertyIdentityStrategyResolver
- setType(Class<?>) - Method in class de.danielbechler.diff.node.DiffNode
-
Allows to explicity set the type of this node.
- setValue(V) - Method in class de.danielbechler.diff.inclusion.ValueNode
- setValueTypeInfo(TypeInfo) - Method in class de.danielbechler.diff.node.DiffNode
- size() - Method in class de.danielbechler.diff.circular.CircularReferenceDetector
- StandardIntrospector - Class in de.danielbechler.diff.introspection
-
Resolves the accessors of a given type by using the standard Java
Introspector. - StandardIntrospector() - Constructor for class de.danielbechler.diff.introspection.StandardIntrospector
- startBuilding() - Static method in class de.danielbechler.diff.ObjectDifferBuilder
- startBuilding() - Static method in class de.danielbechler.diff.path.NodePath
- startBuildingFrom(NodePath) - Static method in class de.danielbechler.diff.path.NodePath
- StateFilteringVisitor - Class in de.danielbechler.diff.node
- StateFilteringVisitor(DiffNode.State) - Constructor for class de.danielbechler.diff.node.StateFilteringVisitor
- stop() - Method in class de.danielbechler.diff.node.Visit
- Strings - Class in de.danielbechler.util
T
- toBe(String...) - Method in interface de.danielbechler.diff.category.CategoryConfigurer.Of
- toBeDisabled() - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer.Of
- toBeEnabled() - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer.Of
- toHumanReadableString() - Method in class de.danielbechler.diff.selector.BeanPropertyElementSelector
- toHumanReadableString() - Method in class de.danielbechler.diff.selector.CollectionItemElementSelector
- toHumanReadableString() - Method in class de.danielbechler.diff.selector.ElementSelector
- toHumanReadableString() - Method in class de.danielbechler.diff.selector.MapKeyElementSelector
- toHumanReadableString() - Method in class de.danielbechler.diff.selector.RootElementSelector
- ToMapPrintingVisitor - Class in de.danielbechler.diff.node
-
This visitor generates the same output as the
PrintingVisitor, but instead of printing it toSystem.out, it will store the messages in a Map, identified by the property path of the visited node. - ToMapPrintingVisitor(Object, Object) - Constructor for class de.danielbechler.diff.node.ToMapPrintingVisitor
- toSingleLineString(Object) - Static method in class de.danielbechler.util.Strings
- toString() - Method in class de.danielbechler.diff.access.CollectionItemAccessor
- toString() - Method in class de.danielbechler.diff.access.MapEntryAccessor
- toString() - Method in class de.danielbechler.diff.access.RootAccessor
- toString() - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- toString() - Method in class de.danielbechler.diff.node.DiffNode
- toString() - Method in class de.danielbechler.diff.node.ToMapPrintingVisitor
- toString() - Method in class de.danielbechler.diff.path.NodePath
- toString() - Method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- toString() - Method in class de.danielbechler.diff.selector.ElementSelector
-
The string representation will only be used to print readable property paths for debug purposes.
- toTreatDefaultValuesAs(PrimitiveDefaultValueMode) - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer.OfPrimitiveTypes
- toUse(ComparisonStrategy) - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer.Of
- toUse(Introspector) - Method in interface de.danielbechler.diff.introspection.IntrospectionConfigurer.Of
- toUseCompareToMethod() - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer.Of
- toUseEqualsMethod() - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer.Of
- toUseEqualsMethodOfValueProvidedByMethod(String) - Method in interface de.danielbechler.diff.comparison.ComparisonConfigurer.Of
- type(Class<?>) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToExclude
- type(Class<?>) - Method in interface de.danielbechler.diff.inclusion.InclusionConfigurer.ToInclude
- TypeAwareAccessor - Interface in de.danielbechler.diff.access
- TypeInfo - Class in de.danielbechler.diff.instantiation
-
Holds type information gathered during introspection and serves as factory for new instances of that type.
- TypeInfo(Class<?>) - Constructor for class de.danielbechler.diff.instantiation.TypeInfo
- typeInfoForNode(DiffNode) - Method in class de.danielbechler.diff.introspection.IntrospectionService
- typeInfoForNode(DiffNode) - Method in interface de.danielbechler.diff.introspection.TypeInfoResolver
- TypeInfoResolver - Interface in de.danielbechler.diff.introspection
- TypeInstantiationException - Exception in de.danielbechler.diff.instantiation
- TypeInstantiationException(Class<?>, String, Throwable) - Constructor for exception de.danielbechler.diff.instantiation.TypeInstantiationException
- TypePropertyIdentityStrategyResolver - Class in de.danielbechler.diff.identity
- TypePropertyIdentityStrategyResolver() - Constructor for class de.danielbechler.diff.identity.TypePropertyIdentityStrategyResolver
- typesOf(Object...) - Static method in class de.danielbechler.util.Classes
U
- UNASSIGNED - Enum constant in enum class de.danielbechler.diff.comparison.PrimitiveDefaultValueMode
-
Default values of primitive types will be treated as if the property has not been set.
- UNLIMITED - Static variable in class de.danielbechler.diff.node.NodeHierarchyVisitor
- unset(Object) - Method in interface de.danielbechler.diff.access.Accessor
- unset(Object) - Method in class de.danielbechler.diff.access.CollectionItemAccessor
- unset(Object) - Method in class de.danielbechler.diff.access.MapEntryAccessor
- unset(Object) - Method in class de.danielbechler.diff.access.RootAccessor
- unset(Object) - Method in class de.danielbechler.diff.introspection.PropertyAccessor
- unset(Object) - Method in class de.danielbechler.diff.node.DiffNode
- UNTOUCHED - Enum constant in enum class de.danielbechler.diff.node.DiffNode.State
V
- value - Variable in class de.danielbechler.diff.inclusion.ValueNode
- valueForNodePath(NodePath) - Method in class de.danielbechler.diff.path.NodePathValueHolder
-
Deprecated.
- ValueNode<V> - Class in de.danielbechler.diff.inclusion
-
INTERNAL CLASS.
- ValueNode() - Constructor for class de.danielbechler.diff.inclusion.ValueNode
- ValueNode(ElementSelector, ValueNode<V>) - Constructor for class de.danielbechler.diff.inclusion.ValueNode
- valueOf(String) - Static method in enum class de.danielbechler.diff.circular.CircularReferenceDetector.ReferenceMatchingMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.danielbechler.diff.circular.CircularReferenceMatchingMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.danielbechler.diff.comparison.PrimitiveDefaultValueMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.danielbechler.diff.inclusion.Inclusion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.danielbechler.diff.introspection.IntrospectionService.IntrospectionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.danielbechler.diff.node.DiffNode.State
-
Returns the enum constant of this class with the specified name.
- valueProviderMethod() - Element in annotation interface de.danielbechler.diff.introspection.ObjectDiffEqualsOnlyType
-
The name of a method of the annotated type.
- values() - Static method in enum class de.danielbechler.diff.circular.CircularReferenceDetector.ReferenceMatchingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.danielbechler.diff.circular.CircularReferenceMatchingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.danielbechler.diff.comparison.PrimitiveDefaultValueMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.danielbechler.diff.inclusion.Inclusion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.danielbechler.diff.introspection.IntrospectionService.IntrospectionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.danielbechler.diff.node.DiffNode.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- via(IdentityStrategy) - Method in interface de.danielbechler.diff.identity.IdentityConfigurer.OfCollectionItems
- visit(DiffNode.Visitor) - Method in class de.danielbechler.diff.node.DiffNode
-
Visit this and all child nodes.
- visit(DiffNode.Visitor, Visit) - Method in class de.danielbechler.diff.node.DiffNode
- Visit - Class in de.danielbechler.diff.node
- Visit() - Constructor for class de.danielbechler.diff.node.Visit
- visitChildren(DiffNode.Visitor) - Method in class de.danielbechler.diff.node.DiffNode
-
Visit all child nodes but not this one.
- visitParents(DiffNode.Visitor) - Method in class de.danielbechler.diff.node.DiffNode
W
- with(String, String...) - Static method in class de.danielbechler.diff.path.NodePath
- withRoot() - Static method in class de.danielbechler.diff.path.NodePath
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form