MirrorField<T, A extends MAnnotation, V> class
扫描到的属性信息
Constructors
-
MirrorField(A annotation, String name, bool isNonNullable, MirrorFieldGetInvoker<
T, V> ? getInvoker, MirrorFieldSetInvoker<T, dynamic> ? setInvoker) -
const
Properties
- annotation → A
-
扫描时的注解信息
final
-
annotationType
→ TypeToken<
A> -
扫描时的注解类型
no setter
-
fieldType
→ TypeToken<
V> -
属性的类型
no setter
-
getInvoker
→ MirrorFieldGetInvoker<
T, V> ? -
属性get代理执行器
final
- hasGetter → bool
-
是否可以get
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSetter → bool
-
是否可以set
no setter
- isNonNullable → bool
-
是否可以使用null赋值
final
- key → String
-
获取key信息 优先从注解中获取 当注解为空时返回扫描时的name
no setter
- name → String
-
扫描时的属性名
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setInvoker
→ MirrorFieldSetInvoker<
T, dynamic> ? -
属性set代理执行器
final
Methods
-
get(
T bean) → V? - 获取对象中的具体属性值
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
T bean, dynamic value) → void - 对象中的属性赋值
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited