HHH-15484 Renaming GraalVMStaticAutofeature to GraalVMStaticFeature

This commit is contained in:
Sanne Grinovero 2022-09-26 21:55:44 +01:00
parent 7d34f86a95
commit 577790b987
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ import org.graalvm.nativeimage.hosted.RuntimeReflection;
* </p>
* @author Sanne Grinovero
*/
public class GraalVMStaticAutofeature implements Feature {
public class GraalVMStaticFeature implements Feature {
public void beforeAnalysis(Feature.BeforeAnalysisAccess before) {
final Class<?>[] needsHavingSimpleConstructors = StaticClassLists.typesNeedingDefaultConstructorAccessible();
@ -56,6 +56,6 @@ public class GraalVMStaticAutofeature implements Feature {
@Override
public String getDescription() {
return "Hibernate ORM GraalVM static reflection registration";
return "Hibernate ORM's static reflection registrations for GraalVM";
}
}

View File

@ -20,7 +20,7 @@ import org.graalvm.nativeimage.hosted.RuntimeReflection;
/**
* This registers all ANTLR parser nodes for reflection, something that is necessary
* as the HQL parser's inner workings are based on reflection.
* This is different than the "static" registrations of {@link GraalVMStaticAutofeature}
* This is different than the "static" registrations of {@link GraalVMStaticFeature}
* as we only register these if the HQL parser is actually reachable: some particularly
* simple applications might not need dynamic queries being expressed in string form,
* and for such cases the reflective registrations can be skipped.
@ -51,7 +51,7 @@ public final class QueryParsingSupport implements Feature {
@Override
public String getDescription() {
return "Hibernate ORM HQL Parser Support";
return "Hibernate ORM's support for HQL Parser in GraalVM";
}
@AllowSysOut