/external/turbine/java/com/google/turbine/binder/lookup/ |
D | LookupKey.java | 30 private final ImmutableList<Ident> simpleNames; field in LookupKey 32 public LookupKey(ImmutableList<Ident> simpleNames) { in LookupKey() argument 33 this.simpleNames = simpleNames; in LookupKey() 38 return simpleNames.get(0); in first() 42 return simpleNames.size() > 1; in hasNext() 62 return new LookupKey(simpleNames.subList(1, simpleNames.size())); in rest() 66 public ImmutableList<Ident> simpleNames() { in simpleNames() method in LookupKey 67 return simpleNames; in simpleNames()
|
D | LookupResult.java | 51 this.remaining = remaining.hasNext() ? remaining.rest().simpleNames() : ImmutableList.of(); in LookupResult()
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | ClassName.java | 48 private List<String> simpleNames; field in ClassName 116 public List<String> simpleNames() { in simpleNames() method in ClassName 117 if (simpleNames != null) { in simpleNames() 118 return simpleNames; in simpleNames() 122 simpleNames = Collections.singletonList(simpleName); in simpleNames() 125 mutableNames.addAll(enclosingClassName().simpleNames()); in simpleNames() 127 simpleNames = Collections.unmodifiableList(mutableNames); in simpleNames() 129 return simpleNames; in simpleNames() 218 public static ClassName get(String packageName, String simpleName, String... simpleNames) { in get() argument 220 for (String name : simpleNames) { in get()
|
D | CodeWriter.java | 389 int suffixOffset = c.simpleNames().size() - 1; in lookupName() 390 return join(".", className.simpleNames().subList( in lookupName() 391 suffixOffset, className.simpleNames().size())); in lookupName() 403 return join(".", className.simpleNames()); in lookupName()
|
D | TypeSpec.java | 658 public Builder alwaysQualify(String... simpleNames) { in alwaysQualify() argument 659 checkArgument(simpleNames != null, "simpleNames == null"); in alwaysQualify() 660 for (String name : simpleNames) { in alwaysQualify() 664 Arrays.toString(simpleNames) in alwaysQualify()
|
/external/auto/factory/src/main/java/com/google/auto/factory/processor/ |
D | AutoFactoryDeclaration.java | 79 ImmutableList.Builder<String> simpleNames = ImmutableList.builder(); in targetEnclosingSimpleNames() local 83 simpleNames.add(element.getSimpleName().toString()); in targetEnclosingSimpleNames() 85 return simpleNames.build().reverse(); in targetEnclosingSimpleNames()
|
/external/turbine/java/com/google/turbine/binder/ |
D | ModuleBinder.java | 210 private ClassSymbol resolve(int pos, ImmutableList<Tree.Ident> simpleNames) { in resolve() argument 211 LookupKey key = new LookupKey(simpleNames); in resolve() 215 ErrorKind.SYMBOL_NOT_FOUND, pos, new ClassSymbol(Joiner.on('/').join(simpleNames))); in resolve()
|
D | JimageClassBinder.java | 190 ImmutableList<Ident> names = lookupKey.simpleNames();
|
/external/dagger2/javatests/dagger/functional/spi/ |
D | TestPlugin.java | 63 Joiner.on('_').join(rootComponentName.simpleNames()) + ".properties") in write()
|
/external/dagger2/java/dagger/hilt/processor/internal/ |
D | ComponentGenerator.java | 46 Comparator.comparing((ClassName c) -> JOINER.join(c.simpleNames()))
|
D | Processors.java | 498 return Joiner.on('_').join(name.simpleNames());
|
/external/dagger2/java/dagger/grpc/server/processor/ |
D | GrpcServiceModel.java | 83 Joiner.on('_').join(serviceImplementationClassName.simpleNames()) + suffix); in peerClassWithSuffix()
|
/external/dagger2/java/dagger/android/processor/ |
D | ContributesAndroidInjectorGenerator.java | 109 Joiner.on('_').join(descriptor.enclosingModule().simpleNames()) in generate()
|
/external/dagger2/java/dagger/example/spi/ |
D | BindingGraphVisualizer.java | 107 Joiner.on('_').join(componentName.simpleNames()) + ".dot", in visitGraph()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | SourceFiles.java | 202 return CLASS_FILE_NAME_JOINER.join(className.simpleNames()); in classFileName()
|
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/ |
D | JavaInputAstVisitor.java | 2675 TypeNameClassifier.typePrefixLength(simpleNames(stack)).ifPresent(prefixes::add); 2871 private List<String> simpleNames(Deque<ExpressionTree> stack) { 2872 ImmutableList.Builder<String> simpleNames = ImmutableList.builder(); 2879 simpleNames.add(((MemberSelectTree) expression).getIdentifier().toString()); 2882 simpleNames.add(((IdentifierTree) expression).getName().toString()); 2885 simpleNames.add(getMethodName((MethodInvocationTree) expression).toString()); 2894 return simpleNames.build();
|
/external/javapoet/ |
D | CHANGELOG.md | 27 * New: Improved performance of `ClassName.simpleNames()` by memoizing results.
|