Uses of Class
io.github.valentinherrmann.levenshtein.AttributeWrapper
-
Uses of AttributeWrapper in io.github.valentinherrmann.levenshtein
Methods in io.github.valentinherrmann.levenshtein with parameters of type AttributeWrapperModifier and TypeMethodDescriptionvoidClassWrapper.testGetter(AttributeWrapper<?, ?> attribute, MethodWrapper<?, ?> getter) Tests that a getter method returns the value of an attribute.voidClassWrapper.testGettersSetters(AttributeWrapper<?, ?> attribute, MethodWrapper<?, ?>... gettersSetters) Tests the getter and/or setter of an attribute without conditions, i.e. the setter stores every value and the getter returns the stored value.<V> voidClassWrapper.testGettersSetters(AttributeWrapper<?, ?> attribute, Predicate<V> setterCondition, MethodWrapper<?, ?>... gettersSetters) LikeClassWrapper.testGettersSetters(AttributeWrapper, MethodWrapper[]), but the setter must only store values for whichsetterConditionholds.<V> voidClassWrapper.testGettersSetters(AttributeWrapper<?, ?> attribute, List<V> sampleValues, MethodWrapper<?, ?>... gettersSetters) LikeClassWrapper.testGettersSetters(AttributeWrapper, MethodWrapper[]), but with own sample values instead of generated ones (required for types without generated values, e.g. own classes).<V> voidClassWrapper.testGettersSetters(AttributeWrapper<?, ?> attribute, List<V> sampleValues, Predicate<V> setterCondition, MethodWrapper<?, ?>... gettersSetters) CombinesClassWrapper.testGettersSetters(AttributeWrapper, List, MethodWrapper[])(own sample values) andClassWrapper.testGettersSetters(AttributeWrapper, Predicate, MethodWrapper[])(setter condition).