Home
last modified time | relevance | path

Searched refs:almostMatches (Results 1 – 3 of 3) sorted by relevance

/tools/platform-compat/java/com/android/class2nonsdklist/
DMultipleAlternativesFoundWarning.java25 public final List<ApiComponents> almostMatches; field in MultipleAlternativesFoundWarning
28 List<ApiComponents> almostMatches) { in MultipleAlternativesFoundWarning() argument
30 this.almostMatches = almostMatches; in MultipleAlternativesFoundWarning()
37 + Joiner.on(", ").join(almostMatches); in toString()
DApiResolver.java93 List<ApiComponents> almostMatches = mPotentialPublicAlternatives.stream() in resolvePublicAlternatives() local
96 if (almostMatches.size() == 0) { in resolvePublicAlternatives()
98 } else if (almostMatches.size() > 1) { in resolvePublicAlternatives()
99 throw new MultipleAlternativesFoundWarning(alternative, almostMatches); in resolvePublicAlternatives()
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DApiResolverTest.java74 assertThat(e.almostMatches).containsExactly( in testFindPublicAlternativeWarnsOnMultipleParameterTypes()