T - public interface MethodGetter<T> extends InvokeGetter<T,Method>, PropertyGetter<T>
Method from an invocation. getName(Function) and
getType(Function) to get the property's information (from the Method's signature, so it works even there is
no backing field).| 限定符和类型 | 接口和说明 |
|---|---|
static class |
MethodGetter.Helper |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
UP_LOW_GAP |
| 限定符和类型 | 方法和说明 |
|---|---|
default Method |
get(java.util.function.BiConsumer<T,?> setter)
An adapter for setter method reference
|
default String |
getName(java.util.function.BiConsumer<T,?> setter) |
default String |
getName(java.util.function.Function<T,?> invoke)
Get name of property related in the invocation.
|
default Class<?> |
getType(java.util.function.BiConsumer<T,?> setter) |
default Class<?> |
getType(java.util.function.Function<T,?> invoke)
Get type of property related in the invocation.
|
default String |
nameOf(java.util.function.BiConsumer<T,?> setter) |
default Class<?> |
typeOf(java.util.function.BiConsumer<T,?> setter) |
getnameOf, supportFieldInvoke, typeOfstatic final int UP_LOW_GAP
default Method get(java.util.function.BiConsumer<T,?> setter)
setter - default String getName(java.util.function.Function<T,?> invoke)
PropertyGettergetName 在接口中 PropertyGetter<T>default String getName(java.util.function.BiConsumer<T,?> setter)
default Class<?> getType(java.util.function.Function<T,?> invoke)
PropertyGettergetType 在接口中 PropertyGetter<T>default Class<?> getType(java.util.function.BiConsumer<T,?> setter)
default String nameOf(java.util.function.BiConsumer<T,?> setter)
default Class<?> typeOf(java.util.function.BiConsumer<T,?> setter)
Copyright © 2017. All rights reserved.