Searched refs:bestGuessFromString (Results 1 – 2 of 2) sorted by relevance
37 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()
199 public static ClassName bestGuessFromString(String classNameString) { in bestGuessFromString() method in ClassName