Skip to content

Commit

Permalink
include methods and fields in reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasJonssonYolean committed Sep 7, 2023
1 parent 7134d71 commit 296d595
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ void registerClassesForReflection(CombinedIndexBuildItem combinedIndexBuildItem,
packagesToReflect.stream()
.flatMap(pack -> index.getClassesInPackage(pack).stream())
.forEach(classInfo -> {
reflectiveClass.produce(ReflectiveClassBuildItem.builder(classInfo.name().toString()).build());
reflectiveClass
.produce(ReflectiveClassBuildItem.builder(classInfo.name().toString()).methods().fields().build());
});
}

Expand Down

0 comments on commit 296d595

Please sign in to comment.