类 ReflectionHintsPredicates.TypeHintPredicate
java.lang.Object
cn.taketoday.aot.hint.predicate.ReflectionHintsPredicates.TypeHintPredicate
- 所有已实现的接口:
Predicate<RuntimeHints>
public static class ReflectionHintsPredicates.TypeHintPredicate
extends Object
implements Predicate<RuntimeHints>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private TypeHintgetTypeHint(RuntimeHints hints) booleantest(RuntimeHints hints) withAnyMemberCategory(MemberCategory... memberCategories) Refine the current predicate to match if any of the givencategoriesis present.withMemberCategories(MemberCategory... memberCategories) Refine the current predicate to only match if the givencategoriesare present.withMemberCategory(MemberCategory memberCategory) Refine the current predicate to only match if the givenMemberCategoryis present.
-
字段详细资料
-
type
-
-
构造器详细资料
-
TypeHintPredicate
TypeHintPredicate(TypeReference type)
-
-
方法详细资料
-
getTypeHint
-
test
- 指定者:
test在接口中Predicate<RuntimeHints>
-
withMemberCategory
Refine the current predicate to only match if the givenMemberCategoryis present.- 参数:
memberCategory- the member category- 返回:
- the refined
RuntimeHintspredicate
-
withMemberCategories
Refine the current predicate to only match if the givencategoriesare present.- 参数:
memberCategories- the member categories- 返回:
- the refined
RuntimeHintspredicate
-
withAnyMemberCategory
Refine the current predicate to match if any of the givencategoriesis present.- 参数:
memberCategories- the member categories- 返回:
- the refined
RuntimeHintspredicate
-