reflection_factory 1.0.7
reflection_factory: ^1.0.7 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.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.