No description
| .mvn/wrapper | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| mvnw | ||
| mvnw.cmd | ||
| pom.xml | ||
| README.md | ||
reflective
Utility classes that use ASM for generating metaclasses as if it were standard java reflection, but without the performance overhead.
nl.sander.reflective.compare.Compare
- universal (deep) compare tool
- compares [apple] to [orange] recursively and shows the diff
- no reflection
- compiles to bytecode version jdk11
- but also handles records, if you run jdk16+
- Can optionally do 'structural comparison' (as opposed to nominal like in the respective types of polymorphism). Let's say you have class Apple with property color and a class Orange, also with property color.
Compareprovidesanymethod with which you can compare the values disregarding the type that contains them.
nl.sander.reflective.tomap.ToMap
- turn any bean/record in a Map<String, Object>