Package org.assertj.core.api
Class SoftProxies
- java.lang.Object
-
- org.assertj.core.api.SoftProxies
-
class SoftProxies extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static net.bytebuddy.ByteBuddyBYTE_BUDDYprivate static net.bytebuddy.TypeCache<net.bytebuddy.TypeCache.SimpleKey>CACHEprivate ErrorCollectorcollectorprivate static net.bytebuddy.implementation.ImplementationERROR_COLLECTORprivate static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>METHODS_CHANGING_THE_OBJECT_UNDER_TESTprivate static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>METHODS_NOT_TO_PROXYprivate static net.bytebuddy.implementation.ImplementationPROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST
-
Constructor Summary
Constructors Constructor Description SoftProxies(AssertionErrorCollector assertionErrorCollector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) IterableSizeAssert<?>createIterableSizeAssertProxy(IterableSizeAssert<?> iterableSizeAssert)(package private) MapSizeAssert<?,?>createMapSizeAssertProxy(MapSizeAssert<?,?> mapSizeAssert)(package private) RecursiveComparisonAssert<?>createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> recursiveComparisonAssert)(package private) <SELF extends Assert<? extends SELF,? extends ACTUAL>,ACTUAL>
SELFcreateSoftAssertionProxy(Class<SELF> assertClass, Class<ACTUAL> actualClass, ACTUAL actual)private static <ASSERT extends Assert<?,?>>
Class<ASSERT>createSoftAssertionProxyClass(Class<ASSERT> assertClass)(package private) static <V> Class<? extends V>generateProxyClass(Class<V> assertClass)private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>methodsChangingTheObjectUnderTestNamed(String... names)private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>methodsNamed(String... names)
-
-
-
Field Detail
-
METHODS_CHANGING_THE_OBJECT_UNDER_TEST
private static final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> METHODS_CHANGING_THE_OBJECT_UNDER_TEST
-
METHODS_NOT_TO_PROXY
private static final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> METHODS_NOT_TO_PROXY
-
BYTE_BUDDY
private static final net.bytebuddy.ByteBuddy BYTE_BUDDY
-
PROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST
private static final net.bytebuddy.implementation.Implementation PROXIFY_METHOD_CHANGING_THE_OBJECT_UNDER_TEST
-
ERROR_COLLECTOR
private static final net.bytebuddy.implementation.Implementation ERROR_COLLECTOR
-
CACHE
private static final net.bytebuddy.TypeCache<net.bytebuddy.TypeCache.SimpleKey> CACHE
-
collector
private ErrorCollector collector
-
-
Constructor Detail
-
SoftProxies
public SoftProxies(AssertionErrorCollector assertionErrorCollector)
-
-
Method Detail
-
createSoftAssertionProxy
<SELF extends Assert<? extends SELF,? extends ACTUAL>,ACTUAL> SELF createSoftAssertionProxy(Class<SELF> assertClass, Class<ACTUAL> actualClass, ACTUAL actual)
-
createSoftAssertionProxyClass
private static <ASSERT extends Assert<?,?>> Class<ASSERT> createSoftAssertionProxyClass(Class<ASSERT> assertClass)
-
createIterableSizeAssertProxy
IterableSizeAssert<?> createIterableSizeAssertProxy(IterableSizeAssert<?> iterableSizeAssert)
-
createMapSizeAssertProxy
MapSizeAssert<?,?> createMapSizeAssertProxy(MapSizeAssert<?,?> mapSizeAssert)
-
createRecursiveComparisonAssertProxy
RecursiveComparisonAssert<?> createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> recursiveComparisonAssert)
-
methodsNamed
private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodsNamed(String... names)
-
methodsChangingTheObjectUnderTestNamed
private static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodsChangingTheObjectUnderTestNamed(String... names)
-
-