Top Description Fields Constructors Methods
org.assertj.core.extractor

pack-priv Class ResultOfExtractor

extends Object
implements Function<Object, Object>
Class Inheritance
All Implemented Interfaces
java.util.function.Function
Imports
java.util.function.Function, org.assertj.core.util.introspection.MethodSupport

Extractor for extracting data by a method name.
Authors
Michał Piotrkowski, Mateusz Haligowski

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
apply(Object
the function argument
input
)

Implements java.util.function.Function.apply.

Behavior is described in MethodSupport#methodResultFor(Object, String)
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodNameback to summary
private final String methodName

Constructor Detail

ResultOfExtractorback to summary
pack-priv ResultOfExtractor(String methodName)

Method Detail

applyback to summary
public Object apply(Object input)

Implements java.util.function.Function.apply.

Behavior is described in MethodSupport#methodResultFor(Object, String)

Parameters
input:Object

Doc from java.util.function.Function.apply.

the function argument

Returns:Object

Doc from java.util.function.Function.apply.

the function result

Annotations
@Override