Home
last modified time | relevance | path

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

/external/javapoet/src/main/java/com/squareup/javapoet/
DClassName.java173 public static ClassName bestGuess(String classNameString) { in bestGuess() argument
176 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()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DClassName.java199 public static ClassName bestGuessFromString(String classNameString) { in bestGuessFromString() argument
200 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()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DHelpers.java170 String classNameString = Helpers.getAnnotationStringValue(className); in getImplementedClassName() local
171 if (classNameString == null) { in getImplementedClassName()
174 TypeElement impElement = elements.getTypeElement(classNameString.replace('$', '.')); in getImplementedClassName()