boolean (@Nullable String groupId, @Nullable String artifactId, @Nullable String version) { if (!equals(groupId, artifactId)) return false; if (!Objects.equals(myVersion, version)) return false; return true; }