Home
last modified time | relevance | path

Searched refs:bestGuessFromString (Results 1 – 2 of 2) sorted by relevance

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DClassNameTest.java37 assertThat(ClassName.bestGuessFromString(String.class.getName())) in bestGuessForString_simpleClass()
46 assertThat(ClassName.bestGuessFromString(Map.Entry.class.getCanonicalName())) in bestGuessForString_nestedClass()
48 assertThat(ClassName.bestGuessFromString(OuterClass.InnerClass.class.getCanonicalName())) in bestGuessForString_nestedClass()
55 assertThat(ClassName.bestGuessFromString("SomeClass")) in bestGuessForString_defaultPackage()
57 assertThat(ClassName.bestGuessFromString("SomeClass.Nested")) in bestGuessForString_defaultPackage()
59 assertThat(ClassName.bestGuessFromString("SomeClass.Nested.EvenMore")) in bestGuessForString_defaultPackage()
65 ClassName.bestGuessFromString("com.test.$"); in bestGuessForString_confusingInput()
69 ClassName.bestGuessFromString("com.test.LooksLikeAClass.pkg"); in bestGuessForString_confusingInput()
73 ClassName.bestGuessFromString("!@#$gibberish%^&*"); in bestGuessForString_confusingInput()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DClassName.java199 public static ClassName bestGuessFromString(String classNameString) { in bestGuessFromString() method in ClassName