Class NativeConfigurationUtils
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeConfigurationUtils
-
public class NativeConfigurationUtils extends Object
Common utilities for native configuration processors.- Author:
- Andy Clement
-
-
Constructor Summary
Constructors Constructor Description NativeConfigurationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
collectReferenceTypesUsed(Type type, Set<Class<?>> collector)
static Set<Class<?>>
collectTypesInSignature(Class<?> clazz)
static Set<Class<?>>
collectTypesInSignature(Field field)
Determine all the reference types used in a field signature.static Set<Class<?>>
collectTypesInSignature(Method controllerMethod)
Determine all the reference types used in a method signature.
-
-
-
Method Detail
-
collectTypesInSignature
public static Set<Class<?>> collectTypesInSignature(Field field)
Determine all the reference types used in a field signature. This includes navigating generic type references.- Parameters:
field
- the field to check- Returns:
- a set of the reference types used in the field signature
-
collectTypesInSignature
public static Set<Class<?>> collectTypesInSignature(Method controllerMethod)
Determine all the reference types used in a method signature. This includes navigating generic type references. This includes the return type and parameter types.- Parameters:
controllerMethod
- the method to check- Returns:
- a set of the reference types used in the method signature
-
-