From 3e9b57106e74b09265f247cbcd6853078c32ae49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Fri, 26 Aug 2022 08:35:18 +0200 Subject: [PATCH] Refine TypeHint.Builder#onReachableType Javadoc --- .../src/main/java/org/springframework/aot/hint/TypeHint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/aot/hint/TypeHint.java b/spring-core/src/main/java/org/springframework/aot/hint/TypeHint.java index e80f9fa8ad..343964c211 100644 --- a/spring-core/src/main/java/org/springframework/aot/hint/TypeHint.java +++ b/spring-core/src/main/java/org/springframework/aot/hint/TypeHint.java @@ -151,7 +151,7 @@ public final class TypeHint implements ConditionalHint { /** * Make this hint conditional on the fact that the specified type - * can be resolved. + * is in a reachable code path from a static analysis point of view. * @param reachableType the type that should be reachable for this * hint to apply * @return {@code this}, to facilitate method chaining @@ -163,7 +163,7 @@ public final class TypeHint implements ConditionalHint { /** * Make this hint conditional on the fact that the specified type - * can be resolved. + * is in a reachable code path from a static analysis point of view. * @param reachableType the type that should be reachable for this * hint to apply * @return {@code this}, to facilitate method chaining