reflection_factory 1.0.15
reflection_factory: ^1.0.15 copied to clipboard
Allows Dart reflection with an easy approach, even for third-party classes, using code generation portable for all Dart platforms.
1.0.15 #
ClassReflection: addedcallCasted.ReflectionInspector: now checks if a generated file version is the same of thereflection_factorypackage.
1.0.14 #
ClassReflection:- Added
siblingsClassReflectionandwithoutObjectInstance. registernow triggers registration of all siblingClassReflection.
- Added
- Using standard Dart coverage.
- coverage: ^1.0.3
1.0.13 #
- Allow call to
fieldwithout an object. Useful to get the field type before instantiate an object.
1.0.12 #
FieldReflection: addedhasSetter.
1.0.11 #
- Added support to default values of optional and named parameters.
1.0.10 #
- Removed
BUILD TIMEcomment in generated files to avoid unnecessary generate file modification/change.
1.0.9 #
- Added
ReflectionInspector. - Generated files now have the package version in the header comments.
toJsonEncodable: fixed handling ofDateTime.- Improved tests.
1.0.8 #
- Improve tests.
- Fix issue with genetic types.
1.0.7 #
TypeReflection:- Added
isOfType.
- Added
FunctionReflection(MethodReflection,ConstructorReflection):methodInvocation(parametersProvider)now accepts aParameterReflection, not only aStringwith the parameter name.
1.0.6 #
ClassReflection:- Added:
fieldsWhere,staticFieldsWhere,methodsWhere,staticMethodsWhere.
- Added:
TypeReflection:- Added:
isPrimitiveType,isCollectionType,isMapType,isIterableType,isNumericType,isIntType,isDoubleType,isBoolType,isStringType.
1.0.5 #
- Added support for class constructors.
- Added
TypeReflection:- Allows handling of Type generics/arguments.
- Added extensions:
IterableTypeReflectionExtension,IterableParameterReflectionExtension,IterableFieldReflectionExtension.
1.0.4 #
- Added
ElementResolver: ClassReflection:- Added resolvers:
fieldResolver,staticFieldResolver,methodResolver,staticMethodResolver. - Optimized
toJsonto resolve fasterMethodReflectionofobj.toJson.
- Added resolvers:
- Changed
FieldReflectionto allowwithObject. - Changed
MethodReflectionto allowwithObject. - Added
ReflectionFactory.toJsonEncodable. - Improve API Documentation.
- Fix issue with operator overloading.
1.0.3 #
- Annotation reflection:
- Support for classes, fields, methods and method parameters.
1.0.2 #
ClassReflection:- Added:
allMethods,allStaticMethods
- Added:
MethodReflection:- Methods parameters now are defined with
ParameterReflection. returnType: fixed forvoid.method: exposed, not private anymore.- Added:
equalsNormalParametersTypes,equalsOptionalParametersTypes,equalsNamedParametersTypes.methodInvocation,methodInvocationFromMap.
- Methods parameters now are defined with
MethodInvocation: class to represent an invocation.- Builder:
- Now generates documentation of generated extension methods.
- Better handling of parameters and fields with
ParameterReflection.- Now knows if a parameter is
required.
- Now knows if a parameter is
- Improved API documentation.
- Improved tests.
- collection: ^1.15.0
1.0.1 #
- @EnableReflection:
- Added
reflectionClassName,reflectionExtensionName.
- Added
- @ReflectionBridge:
- Added
bridgeExtensionName,reflectionClassNames,reflectionExtensionNames.
- Added
- Builder:
MethodReflection:- Added method parameters names to normal and optional parameters.
- Optimize generated code.
- Improved console output and verbose mode.
- Improved tests.
1.0.0 #
- Support for Class reflection:
- FieldReflection
- MethodReflection
- Initial version.