Predicate<SdkTypeId> (@Nullable Predicate<? super SdkTypeId> condition) { if (condition == null) { return NOT_SIMPLE_JAVA_TYPE; } return sdkTypeId -> NOT_SIMPLE_JAVA_TYPE.test(sdkTypeId) && condition.test(sdkTypeId); }