Projects tagged ‘generics’ and ‘reflection’


[5 total ]

1 Users

A set of reflection utilities and miscellaneous utilities related to working with classes and their fields with no dependencies which is compatible with java 1.5 and generics. Features:These are ... [More] built to be compatible with Apache Commons BeanUtils and the nesting structure works the same, refer to the apache BeanUtils project docs for details. Support for Apache DynaClass / DynaBean is included. Current users of beanutils should be able to drop in these utilities and gain the functionality with minimal code changes. Handles field operations for properties (getters and setters), partial properties (only getter or only setter), and fields. This is configurable to use the fields only, properties only, or the hybrid approach (default). This improves upon the BeanUtils limitation of handlin [Less]
Created about 1 year ago.

0 Users

A small library for reflection related to generic types in Java. Java provides some reflection for generic types. There is the java.lang.reflect.Type, implemented by Class, and with subinterfaces ... [More] ParameterizedType, GenericArrayType,... These can represent complex types like List[]. But java does not provide anything beyond the introspection needed to get these types. There is no way to check if two types are supertypes. Or, for example, given a that implements List, get its type parameter for that interface. That's where this library comes in. It allows you to do arithmetics on Types. For examples on how to use this library, see ExampleUsage. See the API documentation Download Gentyref 1.0.0 [Less]
Created 10 months ago.

0 Users

Fast Invoker is small project to create a library that provide a fast and dynamic invoke in run-time. Fast Invoker like .NET Reflection but it's too much better and faster.
Created 10 months ago.

0 Users

This is an attempt to create a version of Generic List that aggregates values when objects are added/updated/removed to the list. The list uses reflection to figure out which property of the stored ... [More] objects to aggregate by and currently supports adding, removing and updating by string, double and int properties of the stored type. This project comes with the code for the list as well as a test project. There are basically 3 properties you need to set before using this just like any other Generic List. *bool RemoveOnNull*: This property defines whether items should be removed from the list when the aggregated values reach 0 (for numbers) or "" for strings. *string AggregatePropertyName*: the name of the property in the class you'll be storing in the list. *List PropertiesToAggregate*: A list of property names that should be aggregated when the *AggregatePropertyName* property of the item being added/removed from the list matches an item in the list. [Less]
Created 10 months ago.

0 Users

The Fast Reflection project provides a way to speed up the time it takes to interact with the member of a type by reflection. Currently, only properties are supported, but I am planning on creating ... [More] similar classes for all member types. The Fast Reflection project allows you to cut down the time it takes to invoke members via reflection through the use of Expression trees and Delegates. [Less]
Created 10 months ago.