Interface Predicates
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Static MethodsModifier and TypeMethodDescriptiondeclaringClass(Predicate<Class<?>> predicate) APredicatethat introspects the declaring class of the member.static booleanisExcluded(Constructor<?> candidate) Whether to not consider aConstructor.static <T> Predicate<T> isFalse()APredicatethat yields alwaysfalse.static booleanisIncluded(Constructor<?> candidate) Whether to consider aConstructor.static <T> Predicate<T> isTrue()APredicatethat yields alwaystrue.static <T> Predicate<T> Returns aPredicatethat represents the logical negation ofpredicate.
-
Field Details
-
IS_ENUM_MEMBER
-
IS_HIBERNATE_MEMBER
Deprecated, for removal: This API element is subject to removal in a future version. -
IS_OBJECT_MEMBER
-
IS_JAVA
-
IS_NATIVE
-
IS_PRIVATE
-
IS_PROTECTED
-
IS_PUBLIC
-
IS_SYNTHETIC
-
IS_KOTLIN
-
IS_STATIC
-
IS_BRIDGE_METHOD
-
-
Method Details
-
declaringClass
-
isTrue
-
isFalse
-
negate
-
isIncluded
Whether to consider aConstructor. We generally exclude synthetic constructors for non-Kotlin classes.- Parameters:
candidate-- Returns:
-
isExcluded
Whether to not consider aConstructor. We generally exclude synthetic constructors for non-Kotlin classes.- Parameters:
candidate-- Returns:
-