https://github.com/thomwright/illuminator
Reflection library for Java
https://github.com/thomwright/illuminator
Last synced: 2 months ago
JSON representation
Reflection library for Java
- Host: GitHub
- URL: https://github.com/thomwright/illuminator
- Owner: ThomWright
- License: apache-2.0
- Created: 2015-04-17T23:52:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-19T14:04:05.000Z (about 10 years ago)
- Last Synced: 2025-01-18T17:57:04.751Z (4 months ago)
- Language: Java
- Size: 0 Bytes
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Illuminator
Illuminator is a simple Reflection library for Java. It is both an attempt to avoid the verboseness of the standard Reflection library and an exercise in learning for the author.# Getting started with Illuminator
Illuminator is in an extremely early form right now. To get ahold of, and to test the code please follow these instructions.
First, clone this repository:
git clone https://github.com/williammartin/illuminator.git
Then navigate into the illuminator project directory. Your next steps depend on whether you choose to run locally or in a VM.
## Running Locally
*Requirements:*
- Java 8
- MavenRun:
mvn test
## Using Vagrant
*Requirements:*
- Vagrant
- VirtualBoxRun:
vagrant up
vagrant ssh
mvn test# How do I use it?
Right now, Illuminator is in very early stages and doesn't support much functionality. Here is an example of how you might create an instance of a Class.
```java
import uk.me.williammartin.illuminator.Illuminator;
SomeClass someObject = Illuminator
.illuminate(SomeClass.class)
.construct();
```You can also pass arguments to the constructor as simply as:
```java
import uk.me.williammartin.illuminator.Illuminator;
SomeClass someObject = Illuminator
.illuminate(SomeClass.class)
.construct("Hello", "World!");
```Good luck!