类 TypeHint
java.lang.Object
cn.taketoday.aot.hint.TypeHint
- 所有已实现的接口:
ConditionalHint
A hint that describes the need for reflection on a type.
- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll, Phillip Webb, Andy Wilkinson
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final Set<ExecutableHint>private final Set<MemberCategory>private final Set<ExecutableHint>private final TypeReferenceprivate final TypeReference -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Consumer<TypeHint.Builder>builtWith(MemberCategory... memberCategories) Return the constructors that require reflection.fields()Return the fields that require reflection.Return the member categories that apply.Return the type that should be reachable for this hint to apply, ornullif this hint should always been applied.getType()Return the type that this hint handles.methods()Return the methods that require reflection.(专用程序包) static TypeHint.Builderof(TypeReference type) Initialize a builder for the type defined by the specifiedTypeReference.toString()从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 cn.taketoday.aot.hint.ConditionalHint
conditionMatches
-
字段详细资料
-
type
-
reachableType
-
fields
-
constructors
-
methods
-
memberCategories
-
-
构造器详细资料
-
TypeHint
-
-
方法详细资料
-
of
Initialize a builder for the type defined by the specifiedTypeReference.- 参数:
type- the type to use- 返回:
- a builder
-
getType
Return the type that this hint handles.- 返回:
- the type
-
getReachableType
从接口复制的说明:ConditionalHintReturn the type that should be reachable for this hint to apply, ornullif this hint should always been applied.- 指定者:
getReachableType在接口中ConditionalHint- 返回:
- the reachable type, if any
-
fields
Return the fields that require reflection.- 返回:
- a stream of
FieldHint
-
constructors
Return the constructors that require reflection.- 返回:
- a stream of
ExecutableHint
-
methods
Return the methods that require reflection.- 返回:
- a stream of
ExecutableHint
-
getMemberCategories
Return the member categories that apply.- 返回:
- the member categories to enable
-
toString
-
builtWith
- 参数:
memberCategories- the memberCategories to apply- 返回:
- a consumer to apply the member categories
-