From 577790b987c45d413ee6dd63456d722e63599126 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Mon, 26 Sep 2022 21:55:44 +0100 Subject: [PATCH] HHH-15484 Renaming GraalVMStaticAutofeature to GraalVMStaticFeature --- ...raalVMStaticAutofeature.java => GraalVMStaticFeature.java} | 4 ++-- .../org/hibernate/graalvm/internal/QueryParsingSupport.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/{GraalVMStaticAutofeature.java => GraalVMStaticFeature.java} (95%) diff --git a/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/GraalVMStaticAutofeature.java b/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/GraalVMStaticFeature.java similarity index 95% rename from hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/GraalVMStaticAutofeature.java rename to hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/GraalVMStaticFeature.java index a8f155b104..3cda838061 100644 --- a/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/GraalVMStaticAutofeature.java +++ b/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/GraalVMStaticFeature.java @@ -33,7 +33,7 @@ import org.graalvm.nativeimage.hosted.RuntimeReflection; *

* @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"; } } diff --git a/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/QueryParsingSupport.java b/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/QueryParsingSupport.java index 511634b33c..ab2da56dd1 100644 --- a/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/QueryParsingSupport.java +++ b/hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/QueryParsingSupport.java @@ -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