/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/ |
D | FakeOtherGenerator.java | 192 methodBuilder.nextControlFlow("catch ($T e)", RuntimeException.class); in generateBlockingMethodOnFakeOther() 194 methodBuilder.nextControlFlow("catch ($T e)", Error.class); in generateBlockingMethodOnFakeOther() 246 methodBuilder.nextControlFlow("catch ($T e)", RuntimeException.class); in generateCrossProfileCallbackMethodOnFakeOther() 248 methodBuilder.nextControlFlow("catch ($T e)", Error.class); in generateCrossProfileCallbackMethodOnFakeOther() 313 methodBuilder.nextControlFlow("catch ($T e)", RuntimeException.class); in generateFutureMethodOnFakeOther() 315 methodBuilder.nextControlFlow("catch ($T e)", Error.class); in generateFutureMethodOnFakeOther()
|
D | BundlerGenerator.java | 147 codeBuilder.nextControlFlow( in addWriteToParcelTypes() 204 codeBuilder.nextControlFlow( in addReadFromParcelTypes() 259 codeBuilder.nextControlFlow( in addCreateArrayTypes() 304 codeBuilder.nextControlFlow( in addWriteToBundleTypes() 366 codeBuilder.nextControlFlow( in addReadFromBundleTypes()
|
D | OtherProfileGenerator.java | 177 methodBuilder.nextControlFlow("catch ($T e)", UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME); in generateBlockingMethodOnOtherProfileClass() 181 methodBuilder.nextControlFlow("catch ($T e)", exception); in generateBlockingMethodOnOtherProfileClass() 185 methodBuilder.nextControlFlow("catch ($T e)", PROFILE_RUNTIME_EXCEPTION_CLASSNAME); in generateBlockingMethodOnOtherProfileClass() 188 methodBuilder.nextControlFlow("catch ($T e)", Throwable.class); in generateBlockingMethodOnOtherProfileClass()
|
D | FakeCrossProfileTypeGenerator.java | 122 .nextControlFlow("else") in generateFakeCrossProfileType() 137 .nextControlFlow("else") in generateFakeCrossProfileType() 155 .nextControlFlow("else") in generateFakeCrossProfileType() 265 .nextControlFlow("else") in addPersonalMethod() 294 .nextControlFlow("else") in addWorkMethod()
|
D | IfAvailableGenerator.java | 128 .nextControlFlow("catch ($T e)", UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME) in generateMethodOnIfAvailableClass() 144 .nextControlFlow("catch ($T e)", UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME) in generateMethodOnIfAvailableClass()
|
D | CrossUserTypeCodeGenerator.java | 198 .nextControlFlow("else if (userHandle == $T.myUserHandle())", PROCESS_CLASSNAME) in addUserMethod() 200 .nextControlFlow("else") in addUserMethod()
|
D | DispatcherGenerator.java | 228 methodCode.nextControlFlow("catch ($T e)", RuntimeException.class); in addCallMethod() 249 methodCode.nextControlFlow("catch ($T e)", Error.class); in addCallMethod()
|
D | MultipleProfilesGenerator.java | 174 methodBuilder.nextControlFlow("catch ($T e)", UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME); in generateBlockingMethodOnMultipleProfilesClass() 189 methodBuilder.nextControlFlow("catch ($T e)", UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME); in generateBlockingMethodOnMultipleProfilesClass()
|
D | ProtoParcelableWrapperGenerator.java | 140 .nextControlFlow("catch ($T e)", INVALID_PROTOCOL_BUFFER_EXCEPTION_CLASSNAME) in generateProtoParcelableWrapper()
|
D | CrossProfileCallbackCodeGenerator.java | 324 .nextControlFlow("catch ($T e)", Exception.class) in addReceiverMethod() 339 .nextControlFlow("catch ($T r)", UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME) in addReceiverMethod()
|
D | FakeCrossUserTypeGenerator.java | 137 .nextControlFlow("else if (!targetTypeForUserHandle.containsKey(userHandle))") in generateTargetTypeGetter()
|
D | DefaultProfileClassGenerator.java | 175 .nextControlFlow("else") in generateDefaultProfileClass()
|
D | InternalCrossProfileClassGenerator.java | 224 methodCode.nextControlFlow("catch ($L e)", exceptionType); in addBlockingCrossProfileTypeMethod()
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | MethodSpec.java | 489 public Builder nextControlFlow(String controlFlow, Object... args) { in nextControlFlow() method in MethodSpec.Builder 490 code.nextControlFlow(controlFlow, args); in nextControlFlow() 498 public Builder nextControlFlow(CodeBlock codeBlock) { in nextControlFlow() method in MethodSpec.Builder 499 return nextControlFlow("$L", codeBlock); in nextControlFlow()
|
D | CodeBlock.java | 377 public Builder nextControlFlow(String controlFlow, Object... args) {
|
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/ |
D | FileSpec.kt | 476 public fun nextControlFlow(controlFlow: String, vararg args: Any): Builder = apply { in <lambda>() method in com.squareup.kotlinpoet.<lambda>.Builder 480 body.nextControlFlow(controlFlow, *args) in <lambda>()
|
D | FunSpec.kt | 545 public fun nextControlFlow(controlFlow: String, vararg args: Any): Builder = apply { in <lambda>() method in com.squareup.kotlinpoet.<lambda>.Builder 546 body.nextControlFlow(controlFlow, *args) in <lambda>()
|
D | CodeBlock.kt | 434 public fun nextControlFlow(controlFlow: String, vararg args: Any?): Builder = apply { in <lambda>() method in com.squareup.kotlinpoet.CodeBlock.Builder
|
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/ |
D | FragmentGenerator.java | 198 builder.nextControlFlow("else") in initializeComponentContextMethod()
|
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/ |
D | CodeBlockTest.kt | 490 nextControlFlow("else") in buildCodeBlock() 511 .nextControlFlow("else if (%1S == %1S)", "Long string that would wrap the line 2 ") in nonWrappingControlFlow()
|
D | TypeSpecTest.kt | 2185 .nextControlFlow("else if (%1L.%3L && %2L.%3L)", "taco", "otherTaco", "isSupreme()") in indexedElseIf() 2218 .nextControlFlow("else if (5 < 6)") in elseIf() 2823 .nextControlFlow( in tryCatch() 2858 .nextControlFlow("else") in ifElse()
|
/external/javapoet/ |
D | README.md | 132 You can handle those options using `nextControlFlow()`: 139 .nextControlFlow("else if ($T.currentTimeMillis() == now)", System.class) 141 .nextControlFlow("else") 162 Catching exceptions using `try/catch` is also a use case for `nextControlFlow()`: 168 .nextControlFlow("catch ($T e)", Exception.class)
|
D | CHANGELOG.md | 203 * Fix: `nextControlFlow()` accepts arguments.
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | TypeSpecTest.java | 1273 .nextControlFlow("else if ($1L.$3L && $2L.$3L)", "taco", "otherTaco", "isSupreme()") in indexedElseIf() 1299 .nextControlFlow("else if (5 < 6)") in elseIf() 1979 .nextControlFlow("catch ($T e)", in tryCatch() 2005 .nextControlFlow("else") in ifElse()
|
D | MethodSpecTest.java | 453 .nextControlFlow(named("else if ($field:N == $threshold:L)", m)) in controlFlowWithNamedCodeBlocks()
|