Package io.quarkus.kotlin.deployment
Class IsDataClassWithDefaultValuesPredicate
java.lang.Object
io.quarkus.kotlin.deployment.IsDataClassWithDefaultValuesPredicate
- All Implemented Interfaces:
Predicate<org.jboss.jandex.ClassInfo>
public class IsDataClassWithDefaultValuesPredicate
extends Object
implements Predicate<org.jboss.jandex.ClassInfo>
Tests whether a class is a data class (based on this answer:
https://discuss.kotlinlang.org/t/detect-data-class-in-runtime/6155/2)
and whether the class has default values for fields (default values leads to having multiple constructors in bytecode)