public class CapturingSlotMatcher<T> implements Matcher<T>, CapturingMatcher, TypedMatcher, EquivalentMatcher
Matcher capturing one last value to the CapturingSlot
Matcher.DefaultImplsTypedMatcher.DefaultImpls| Constructor and Description |
|---|
CapturingSlotMatcher(CapturingSlot<T> captureSlot,
kotlin.reflect.KClass<?> argumentType)
Matcher capturing one last value to the CapturingSlot
|
| Modifier and Type | Method and Description |
|---|---|
void |
capture(java.lang.Object arg) |
CapturingSlot<T> |
component1() |
kotlin.reflect.KClass<?> |
component2() |
CapturingSlotMatcher<T> |
copy(CapturingSlot<T> captureSlot,
kotlin.reflect.KClass<?> argumentType)
Matcher capturing one last value to the CapturingSlot
|
boolean |
equals(java.lang.Object p) |
Matcher<java.lang.Object> |
equivalent() |
kotlin.reflect.KClass<?> |
getArgumentType() |
CapturingSlot<T> |
getCaptureSlot() |
int |
hashCode() |
boolean |
match(T arg) |
java.lang.String |
toString() |
match, substitutecapturecheckType, getArgumentTypeequivalentpublic CapturingSlotMatcher(CapturingSlot<T> captureSlot, kotlin.reflect.KClass<?> argumentType)
Matcher capturing one last value to the CapturingSlot
public Matcher<java.lang.Object> equivalent()
public void capture(java.lang.Object arg)
public boolean match(T arg)
public java.lang.String toString()
public CapturingSlot<T> getCaptureSlot()
public kotlin.reflect.KClass<?> getArgumentType()
public CapturingSlot<T> component1()
public kotlin.reflect.KClass<?> component2()
public CapturingSlotMatcher<T> copy(CapturingSlot<T> captureSlot, kotlin.reflect.KClass<?> argumentType)
Matcher capturing one last value to the CapturingSlot
public int hashCode()
public boolean equals(java.lang.Object p)