A Java library for safely accessing private fields and methods

A Java library for safely accessing private fields and methods – Ewpratten/legalaccess… Read more

Similar

Sealed Classes Preview in Java 15

The release of Java SE 15 in Sept 2020 will introduce "sealed classes" (JEP 360) as a preview feature. A sealed class is a class or interface which restricts which other classes or interfaces may extend it. Sealed classes, like enums, capture alternative... (more…)

Read more »

Improving on Types: Specing a Java Library

Good application developers use existing libraries rather than reinventing every wheel. This is particularly true on the JVM, where there are a huge number of wheels to choose from. So in addition to writing good code, developers need be able to ass... (more…)

Read more »

Java Encapsulation for Adults

Imagine you're going to a big dance party with your crush. For the sake of this article, you and your crush are objects and your life is the component you're in.

Read more »