spring-geode/src/main/java/org/springframework/geode/pdx/MappingPdxSerializerIncludedTypesRegistrar.java
/**
	 * Null-safe method used to construct a new {@link Class type} include {@link Predicate filter}
	 * that can be registered with SDG's {@link MappingPdxSerializer}.
	 *
	 * The {@link Predicate} matches tested {@link Class types} that are
	 * {@link Class#isAssignableFrom(Class) assignable from} the given {@link Class type}.
	 *
	 * @param type {@link Class} used as the basis for matching in the {@link Predicate}.
	 * @return an (optional} {@link Predicate} from the given {@link Class type};
	 * returns {@literal null} if the given {@link Class type} is {@literal null}.
	 * @see java.util.function.Predicate
	 * @see java.lang.Class
	 */
Null-safe method used to construct a new  Class type include  Predicate filter
that can be registered with SDG's  MappingPdxSerializer.

The  Predicate matches tested  Class types that are
Class#isAssignableFrom(Class) assignable from the given  Class type.

@param type  Class used as the basis for matching in the  Predicate.
@return an (optional}  Predicate from the given  Class type;
returns  null if the given  Class type is  null.
Null - safe method used to construct a new Class type include Predicate filter that can be registered with SDG ' s MappingPdxSerializer . The Predicate matches tested Class types that are Class#isAssignableFrom ( Class ) assignable from the given Class type . @param type Class used as the basis for matching in the Predicate . @return an ( optional } Predicate from the given Class type ; returns null if the given Class type is null .
protected @Nullable Predicate<Class<?>> newIncludeTypeFilter(@Nullable Class<?> type) {
		return type != null
			? testType -> Objects.nonNull(testType) && type.isAssignableFrom(testType)
			: null;
	}
protected @ Nullable Predicate < Class < ? > > newIncludeTypeFilter ( @ Nullable Class < ? > type ) { return type != null ? testType -> Objects . nonNull ( testType ) && type . isAssignableFrom ( testType ) : null ; }
Null-safe method used to construct a new {@link Class type} include {@link Predicate filter}
 that can be registered with SDG's {@link MappingPdxSerializer}.
Null - safe method used to construct a new { @link Class type } include { @link Predicate filter } that can be registered with SDG ' s { @link MappingPdxSerializer } .