Skip to content

Tofpu/DynamicClass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamicClass

DynamicClass is a simple, lightweight & easy to use utility which helps you remove bloat from your code by handling the class initializing when you need it.

Features

DynamicClass supports:

  • Constructor(s)
  • Superclass(es)
  • Interface(s)
  • Interface(s) with Superclass(es)

How to use

It's extremely simple! All you need to do is, annotate the class that you'd want to be automatically created with @AutoRegister, and in your application, run DynamicClass#scan method. that's it!

Maven

        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>

        <dependency>
            <groupId>com.github.Tofpu</groupId>
            <artifactId>DynamicClass</artifactId>
            <version>[VERSION]</version>
        </dependency>

Example:

You can view the example code at https://github.com/Tofpu/DynamicClass/tree/main/src/main/java/example

About

A simple, lightweight & easy to use utility which helps you remove bloat from your code by handling the class initializing when you need it.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages