Skip to content

A utility project for other QuantumMaid projects that handles reflections.

License

Notifications You must be signed in to change notification settings

quantummaid/reflectmaid

Maintainability Rating Reliability Rating Security Rating Quality Gate Status Bugs Code Smells Technical Debt Coverage Last Commit Maven Central Code Size License Slack Gitter Twitter

ReflectMaid

A utility project for other QuantumMaid projects that handles reflections.

GenericType

A lot of configuration methods throughout the QuantumMaid framework and its sub-probjects (HttpMaid, MapMaid, etc.) require the user to provide a java.lang.Class class. E.g., HttpMaid requires usecases to be configured by providing the java.lang.Class object of the use case class. Due to limitations of the Java Virtual Machine, java.lang.Class objects do not sufficiently support generic types (see Type Erasure).

To work around the aforementioned limitation, QuantumMaid offers the GenericClass type. Whenever a configuration method takes a parameter of type java.lang.Class, there will be an overloaded variant of that configuration method that accepts a GenericType parameter instead of the java.lang.Class parameter.

Synthetic methods, constructors and fields

Synthetic methods, constructors and fields are ignored by ReflectMaid. This is recommended to support tools like JaCoCo.

About

A utility project for other QuantumMaid projects that handles reflections.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages