类 ExecutableHint
java.lang.Object
cn.taketoday.aot.hint.MemberHint
cn.taketoday.aot.hint.ExecutableHint
- 所有已实现的接口:
Comparable<ExecutableHint>
A hint that describes the need for reflection on a
Method or
Constructor.- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll, Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Consumer<ExecutableHint.Builder>builtWith(ExecutableMode mode) intcompareTo(ExecutableHint other) getMode()Return the mode that applies to this hint.Return the parameter types of the executable.(专用程序包) static ExecutableHint.BuilderofConstructor(List<TypeReference> parameterTypes) Initialize a builder with the parameter types of a constructor.(专用程序包) static ExecutableHint.BuilderofMethod(String name, List<TypeReference> parameterTypes) Initialize a builder with the name and parameter types of a method.从类继承的方法 cn.taketoday.aot.hint.MemberHint
getName
-
字段详细资料
-
parameterTypes
-
mode
-
-
构造器详细资料
-
ExecutableHint
-
-
方法详细资料
-
ofConstructor
Initialize a builder with the parameter types of a constructor.- 参数:
parameterTypes- the parameter types of the constructor- 返回:
- a builder
-
ofMethod
Initialize a builder with the name and parameter types of a method.- 参数:
name- the name of the methodparameterTypes- the parameter types of the method- 返回:
- a builder
-
getParameterTypes
Return the parameter types of the executable.- 返回:
- the parameter types
- 另请参阅:
-
getMode
Return the mode that applies to this hint.- 返回:
- the mode
-
builtWith
- 参数:
mode- the mode to apply- 返回:
- a consumer to apply the mode
-
compareTo
- 指定者:
compareTo在接口中Comparable<ExecutableHint>
-