File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33
33
* </p>
34
34
* @author Sanne Grinovero
35
35
*/
36
- public class GraalVMStaticAutofeature implements Feature {
36
+ public class GraalVMStaticFeature implements Feature {
37
37
38
38
public void beforeAnalysis (Feature .BeforeAnalysisAccess before ) {
39
39
final Class <?>[] needsHavingSimpleConstructors = StaticClassLists .typesNeedingDefaultConstructorAccessible ();
@@ -54,8 +54,8 @@ public void beforeAnalysis(Feature.BeforeAnalysisAccess before) {
54
54
RuntimeReflection .register ( executables .toArray (new Executable [0 ]) );
55
55
}
56
56
57
- @ Override
57
+ // @Override Method overridden in later API versions of GraalVM
58
58
public String getDescription () {
59
- return "Hibernate ORM GraalVM static reflection registration " ;
59
+ return "Hibernate ORM's static reflection registrations for GraalVM " ;
60
60
}
61
61
}
Original file line number Diff line number Diff line change 20
20
/**
21
21
* This registers all ANTLR parser nodes for reflection, something that is necessary
22
22
* as the HQL parser's inner workings are based on reflection.
23
- * This is different than the "static" registrations of {@link GraalVMStaticAutofeature }
23
+ * This is different than the "static" registrations of {@link GraalVMStaticFeature }
24
24
* as we only register these if the HQL parser is actually reachable: some particularly
25
25
* simple applications might not need dynamic queries being expressed in string form,
26
26
* and for such cases the reflective registrations can be skipped.
@@ -49,9 +49,9 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
49
49
access .registerReachabilityHandler (this ::enableHQLSupport , parserClazz );
50
50
}
51
51
52
- @ Override
52
+ // @Override Method overridden in later API versions of GraalVM
53
53
public String getDescription () {
54
- return "Hibernate ORM HQL Parser Support " ;
54
+ return "Hibernate ORM's support for HQL Parser in GraalVM " ;
55
55
}
56
56
57
57
@ AllowSysOut
You can’t perform that action at this time.
0 commit comments