Home
last modified time | relevance | path

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

/external/javapoet/src/main/java/com/squareup/javapoet/
DCodeWriter.java67 int statementLine = -1; field in CodeWriter
266 checkState(statementLine == -1, "statement enter $[ followed by statement enter $["); in emit()
267 statementLine = 0; in emit()
271 checkState(statementLine != -1, "statement exit $] has no matching statement enter $["); in emit()
272 if (statementLine > 0) { in emit()
275 statementLine = -1; in emit()
455 if (statementLine != -1) { in emitAndIndent()
456 if (statementLine == 0) { in emitAndIndent()
459 statementLine++; in emitAndIndent()
DTypeSpec.java174 int previousStatementLine = codeWriter.statementLine; in emit()
175 codeWriter.statementLine = -1; in emit()
325 codeWriter.statementLine = previousStatementLine; in emit()