Convenient access to private members of Java classes (Java 8)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.codecov.yml
.gitignore
.travis.yml
BindingConventions.md
CreatingPowerfulJUnitMatchers.md
HandlingSingletons.md
LICENSE
MaintainingAndTrackingXRayInterfaces.md
OpeningASealedClass.md
README.md
XRayInterfaceVsJavaReflection.md
pom.xml

README.md

XRayInterface

Build Status codecov Codacy Badge

XRayInterface (formerly Picklock) is a convenient interface to Java reflection.

  • not depending on strings
  • but on interface conventions

This Readme contains technical infos to the project (e.g. Problems, Roadmap or the State of Work)

Information on Usage and Download can be found on XRayInterface.

XRayInterface vs. Picklock

XRayInterface follows the same idea as Picklock, yet there are some difference:

  • XRayInterface requires Java 8 (or higher)
  • XRayInterface may be bound by convention (method names) or annotations
  • XRayInterface is probably more performant because it relies on method handles (and not on the reflection api as Picklock)
  • the API is different

Maven Dependency

<dependency>
    <groupId>net.amygdalum</groupId>
    <artifactId>xrayinterface</artifactId>
    <version>0.3.1</version>
</dependency>