Package org.springframework.aot.hint
Class ExecutableHint
java.lang.Object
org.springframework.aot.hint.MemberHint
org.springframework.aot.hint.ExecutableHint
- All Implemented Interfaces:
Comparable<ExecutableHint>
A hint that describes the need for reflection on a
Method
or
Constructor
.- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Consumer<ExecutableHint.Builder>
builtWith
(ExecutableMode mode) int
compareTo
(ExecutableHint other) getMode()
Return the mode that applies to this hint.Return the parameter types of the executable.Methods inherited from class org.springframework.aot.hint.MemberHint
getName
-
Method Details
-
getParameterTypes
Return the parameter types of the executable.- Returns:
- the parameter types
- See Also:
-
getMode
Return the mode that applies to this hint.- Returns:
- the mode
-
builtWith
- Parameters:
mode
- the mode to apply- Returns:
- a consumer to apply the mode
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ExecutableHint>
-