Home
last modified time | relevance | path

Searched defs:codeBlock (Results 1 – 15 of 15) sorted by relevance

/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DCodeBlockTest.kt191 val codeBlock = CodeBlock.builder() in tooManyStatementEnters() constant
210 val codeBlock = CodeBlock.builder() in statementExitWithoutStatementEnter() constant
487 val codeBlock = buildCodeBlock { in buildCodeBlock() constant
535 val codeBlock = CodeBlock.builder() in ensureEndsWithNewLineWithNoArgs() constant
570 val codeBlock = CodeBlock.Builder() in withIndent() constant
DTypeSpecTest.kt2421 val codeBlock = CodeBlock.builder() in codeBlockToString() constant
/external/dagger2/java/dagger/internal/codegen/javapoet/
DExpression.java43 private final CodeBlock codeBlock; field in Expression
45 private Expression(TypeMirror type, CodeBlock codeBlock) { in Expression()
106 public CodeBlock codeBlock() { in codeBlock() method in Expression
/external/javapoet/src/main/java/com/squareup/javapoet/
DMethodSpec.java448 public Builder addCode(CodeBlock codeBlock) { in addCode()
462 public Builder defaultValue(CodeBlock codeBlock) { in defaultValue()
481 public Builder beginControlFlow(CodeBlock codeBlock) { in beginControlFlow()
498 public Builder nextControlFlow(CodeBlock codeBlock) { in nextControlFlow()
520 public Builder endControlFlow(CodeBlock codeBlock) { in endControlFlow()
529 public Builder addStatement(CodeBlock codeBlock) { in addStatement()
DCodeWriter.java140 public void emitComment(CodeBlock codeBlock) throws IOException { in emitComment()
226 public CodeWriter emit(CodeBlock codeBlock) throws IOException { in emit()
230 public CodeWriter emit(CodeBlock codeBlock, boolean ensureTrailingNewline) throws IOException { in emit()
362 CodeBlock codeBlock = (CodeBlock) o; in emitLiteral() local
DFieldSpec.java165 public Builder initializer(CodeBlock codeBlock) { in initializer()
DAnnotationSpec.java206 public Builder addMember(String name, CodeBlock codeBlock) { in addMember()
/external/javapoet/src/test/java/com/squareup/javapoet/
DCodeBlockTest.java284 CodeBlock codeBlock = CodeBlock.builder().add("$[$[").build(); in tooManyStatementEnters() local
295 CodeBlock codeBlock = CodeBlock.builder().add("$]").build(); in statementExitWithoutStatementEnter() local
DTypeSpecTest.java1533 CodeBlock codeBlock = CodeBlock.builder() in codeBlockToString() local
/external/dagger2/java/dagger/internal/codegen/binding/
DFrameworkType.java73 CodeBlock codeBlock = to(requestKind, from.codeBlock()); in to() local
DAnnotationExpression.java106 CodeBlock codeBlock = visit(value, value); in getValueExpression() local
/external/dagger2/java/dagger/internal/codegen/writing/
DComponentImplementation.java620 void addInitialization(CodeBlock codeBlock) { in addInitialization()
625 void addComponentRequirementInitialization(CodeBlock codeBlock) { in addComponentRequirementInitialization()
632 void addCancellation(Key key, CodeBlock codeBlock) { in addCancellation()
/external/dokka/core/src/test/kotlin/format/
DHtmlFormatTest.kt80 @Test fun codeBlock() { in <lambda>() method in org.jetbrains.dokka.tests.HtmlFormatTest
DMarkdownFormatTest.kt229 @Test fun codeBlock() { in <lambda>() method in org.jetbrains.dokka.tests.MarkdownFormatTest
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/
DFunSpec.kt238 val codeBlock = this.trim() in <lambda>() constant