v.1.0.0 available now #2
gregory-ledenev
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
v1.0.0 of Java Class Extension available now:
I would really appreciate if you check it and let me know your impressions, thoughts and ideas.
The Java Class Extension library provides an ability to emulate class extensions (categories) in Java.
Class extensions (categories) are beneficial because they:
These benefits lead to more flexible, maintainable, and efficient code structures. Unfortunately, Java does not natively support class extensions (categories) and there is a little chance such support is going to be introduced in the near future.
Java Class Extension library provides a valuable alternative for native class extensions with just a little more verbose code and little more complex implementation.
The library supports the following approaches for creating of class extensions:
Both approaches leverage the ClassExtension interface, which facilitates querying for an extension based on an object's extension interface. Once obtained, these extensions unlock additional functionality with remarkable ease.
Beta Was this translation helpful? Give feedback.
All reactions