Uses of Interface
nl.jqno.equalsverifier.InstanceFactory
Packages that use InstanceFactory
Package
Description
-
Uses of InstanceFactory in nl.jqno.equalsverifier.api
Fields in nl.jqno.equalsverifier.api declared as InstanceFactoryModifier and TypeFieldDescriptionprivate InstanceFactory<T> SingleTypeEqualsVerifierApi.instanceFactoryprivate InstanceFactory<? extends T> SingleTypeEqualsVerifierApi.redefinedSubclassInstanceFactoryprivate InstanceFactory<?> SingleTypeEqualsVerifierApi.redefinedSuperclassInstanceFactoryprivate InstanceFactory<? extends T> SingleTypeEqualsVerifierApi.subclassInstanceFactoryMethods in nl.jqno.equalsverifier.api with parameters of type InstanceFactoryModifier and TypeMethodDescriptionSingleTypeEqualsVerifierApi.withFactory(InstanceFactory<T> factory) Provides a factory for the class under test, in case EqualsVerifier is unable to instantiate it without help.SingleTypeEqualsVerifierApi.withFactory(InstanceFactory<T> factory, InstanceFactory<? extends T> subclassFactory) Provides a factory for the class under test, in case EqualsVerifier is unable to instantiate it without help, as well as a factory for a subclass of the class under test.SingleTypeEqualsVerifierApi.withRedefinedSubclass(InstanceFactory<? extends T> subclassFactory) Supplies a factory for a subclass of T in whichequalsis overridden.SingleTypeEqualsVerifierApi.withRedefinedSuperclass(InstanceFactory<?> superclassFactory) Signals that T is part of an inheritance hierarchy whereequalsis overridden. -
Uses of InstanceFactory in nl.jqno.equalsverifier.internal.checkers
Methods in nl.jqno.equalsverifier.internal.checkers with parameters of type InstanceFactoryModifier and TypeMethodDescriptionHierarchyChecker.determineSubclass(T reference, InstanceFactory<? extends T> subclassFactory) private THierarchyChecker.getEqualSub(T reference, Class<? extends T> subclass, InstanceFactory<? extends T> subclassFactory, String methodName) -
Uses of InstanceFactory in nl.jqno.equalsverifier.internal.instantiators
Fields in nl.jqno.equalsverifier.internal.instantiators declared as InstanceFactoryModifier and TypeFieldDescriptionprivate final InstanceFactory<? extends T> ProvidedFactoryInstantiator.instanceFactoryMethods in nl.jqno.equalsverifier.internal.instantiators with parameters of type InstanceFactoryModifier and TypeMethodDescriptionstatic <T> Instantiator<T> InstantiatorFactory.of(ClassProbe<T> probe, InstanceFactory<T> factory, org.objenesis.Objenesis objenesis, boolean forceFinalMeansFinal, boolean throwOnUnknown) Factory method for obtaining an appropriate Instantiator for the class given via the ClassProbe parameter.Constructors in nl.jqno.equalsverifier.internal.instantiators with parameters of type InstanceFactoryModifierConstructorDescription(package private)ProvidedFactoryInstantiator(InstanceFactory<? extends T> instanceFactory, boolean throwing) Package private constructor. -
Uses of InstanceFactory in nl.jqno.equalsverifier.internal.util
Fields in nl.jqno.equalsverifier.internal.util declared as InstanceFactoryModifier and TypeFieldDescriptionprivate final InstanceFactory<T> Configuration.factoryThe field for thefactoryrecord component.private final InstanceFactory<? extends T> Configuration.redefinedSubclassFactoryThe field for theredefinedSubclassFactoryrecord component.private final InstanceFactory<?> Configuration.redefinedSuperclassFactoryThe field for theredefinedSuperclassFactoryrecord component.private final InstanceFactory<? extends T> Configuration.subclassFactoryThe field for thesubclassFactoryrecord component.Methods in nl.jqno.equalsverifier.internal.util that return InstanceFactoryModifier and TypeMethodDescriptionConfiguration.factory()Returns the value of thefactoryrecord component.InstanceFactory<? extends T> Configuration.redefinedSubclassFactory()Returns the value of theredefinedSubclassFactoryrecord component.Configuration.redefinedSuperclassFactory()Returns the value of theredefinedSuperclassFactoryrecord component.InstanceFactory<? extends T> Configuration.subclassFactory()Returns the value of thesubclassFactoryrecord component.Methods in nl.jqno.equalsverifier.internal.util with parameters of type InstanceFactoryModifier and TypeMethodDescriptionstatic <T> Configuration<T> Configuration.build(Class<T> type, InstanceFactory<T> factory, InstanceFactory<? extends T> subclassFactory, Set<String> excludedFields, Set<String> includedFields, Set<String> nonnullFields, Set<String> prefabbedFields, CachedHashCodeInitializer<T> cachedHashCodeInitializer, boolean hasRedefinedSuperclass, InstanceFactory<?> redefinedSuperclassFactory, Class<? extends T> redefinedSubclass, InstanceFactory<? extends T> redefinedSubclassFactory, boolean usingGetClass, EnumSet<Warning> warningsToSuppress, Set<Mode> modes, Function<String, String> fieldnameToGetter, Set<String> ignoredAnnotationClassNames, Set<String> actualFields, List<T> equalExamples, List<T> unequalExamples) Constructors in nl.jqno.equalsverifier.internal.util with parameters of type InstanceFactoryModifierConstructorDescriptionConfiguration(Class<T> type, TypeTag typeTag, InstanceFactory<T> factory, InstanceFactory<? extends T> subclassFactory, Set<String> ignoredFields, Set<String> nonnullFields, Set<String> prefabbedFields, AnnotationCache annotationCache, CachedHashCodeInitializer<T> cachedHashCodeInitializer, boolean hasRedefinedSuperclass, InstanceFactory<?> redefinedSuperclassFactory, Class<? extends T> redefinedSubclass, InstanceFactory<? extends T> redefinedSubclassFactory, boolean usingGetClass, EnumSet<Warning> warningsToSuppress, Set<Mode> modes, Function<String, String> fieldnameToGetter, boolean isKotlin, List<T> equalExamples, List<T> unequalExamples) Creates an instance of aConfigurationrecord class. -
Uses of InstanceFactory in nl.jqno.equalsverifier.internal.valueproviders
Methods in nl.jqno.equalsverifier.internal.valueproviders with parameters of type InstanceFactoryModifier and TypeMethodDescription<S extends T>
SSubjectCreator.copyIntoSubclass(T original, Class<S> subType, InstanceFactory<S> subclassFactory, String methodName) Creates a new instance of the given subclass of the current class, with all fields that also exist in the current class set to the same value as their counterparts fromoriginal.SubjectCreator.copyIntoSuperclass(T original, InstanceFactory<?> superclassFactory) Creates a new instance of the superclass of the current class, with all fields that exist within that superclass set to the same value as their counterparts fromoriginal.