Home
last modified time | relevance | path

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

/external/javapoet/src/main/java/com/squareup/javapoet/
DCodeWriter.java45 private static final String NO_PACKAGE = new String(); field in CodeWriter
53 private String packageName = NO_PACKAGE;
119 checkState(this.packageName == NO_PACKAGE, "package already set: %s", this.packageName); in pushPackage()
125 checkState(this.packageName != NO_PACKAGE, "package not set"); in popPackage()
126 this.packageName = NO_PACKAGE; in popPackage()
DClassName.java37 private static final String NO_PACKAGE = ""; field in ClassName
179 String packageName = (lastDot != -1) ? clazz.getName().substring(0, lastDot) : NO_PACKAGE; in get()
201 String packageName = p == 0 ? NO_PACKAGE : classNameString.substring(0, p - 1); in bestGuess()