FieldReflection<O, T> constructor
FieldReflection<O, T> (
- ClassReflection<
O> classReflection, - Type declaringType,
- TypeReflection type,
- String name,
- bool nullable,
- FieldReflectionGetterAccessor<
O, T> getterAccessor, - FieldReflectionSetterAccessor<
O, T> ? setterAccessor, - O? object,
- bool isStatic,
- bool isFinal, [
- List<
Object> ? annotations,
Implementation
FieldReflection(
ClassReflection<O> classReflection,
Type declaringType,
this.type,
this.name,
this.nullable,
this.getterAccessor,
this.setterAccessor,
this.object,
bool isStatic,
this.isFinal,
[List<Object>? annotations])
: _annotations = annotations == null || annotations.isEmpty
? _annotationsEmpty
: List<Object>.unmodifiable(annotations),
super(classReflection, declaringType, isStatic);