Over a million developers have joined DZone.

FEST-Reflect 0.4: Fluent Interface for Java Reflection

·

FEST-Reflect is a Java library that provides a Fluent Interface-based API that simplifies the usage of Java Reflection, resulting in improved readability and type safety. It supports access to constructors, methods and fields.

We are proud to announce that FEST-Reflect 0.4 is out!

This new release provides support for accessing static fields and invoking static methods:

int count = staticField("count").ofType(int.class)  
.in(Person.class)
.get();

You can download the latest release here (file fest-reflect-0.4.zip.) FEST-Reflect requires Java SE 5.0 or later.

Here are some useful links:

Feedback is always appreciated :)

 

 


Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}