Searched refs:classNameString (Results 1 – 3 of 3) sorted by relevance
173 public static ClassName bestGuess(String classNameString) { in bestGuess() argument176 while (p < classNameString.length() && Character.isLowerCase(classNameString.codePointAt(p))) { in bestGuess()177 p = classNameString.indexOf('.', p) + 1; in bestGuess()178 checkArgument(p != 0, "couldn't make a guess for %s", classNameString); in bestGuess()180 String packageName = p == 0 ? "" : classNameString.substring(0, p - 1); in bestGuess()184 for (String simpleName : classNameString.substring(p).split("\\.", -1)) { in bestGuess()186 "couldn't make a guess for %s", classNameString); in bestGuess()
199 public static ClassName bestGuessFromString(String classNameString) { in bestGuessFromString() argument200 checkNotNull(classNameString); in bestGuessFromString()201 List<String> parts = Splitter.on('.').splitToList(classNameString); in bestGuessFromString()210 throw new IllegalArgumentException("couldn't make a guess for " + classNameString); in bestGuessFromString()218 throw new IllegalArgumentException("couldn't make a guess for " + classNameString); in bestGuessFromString()
170 String classNameString = Helpers.getAnnotationStringValue(className); in getImplementedClassName() local171 if (classNameString == null) { in getImplementedClassName()174 TypeElement impElement = elements.getTypeElement(classNameString.replace('$', '.')); in getImplementedClassName()