Home
last modified time | relevance | path

Searched refs:simpleNames (Results 1 – 17 of 17) sorted by relevance

/external/turbine/java/com/google/turbine/binder/lookup/
DLookupKey.java30 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()
DLookupResult.java51 this.remaining = remaining.hasNext() ? remaining.rest().simpleNames() : ImmutableList.of(); in LookupResult()
/external/javapoet/src/main/java/com/squareup/javapoet/
DClassName.java48 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()
DCodeWriter.java389 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()
DTypeSpec.java658 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/
DAutoFactoryDeclaration.java79 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/
DModuleBinder.java210 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()
DJimageClassBinder.java190 ImmutableList<Ident> names = lookupKey.simpleNames();
/external/dagger2/javatests/dagger/functional/spi/
DTestPlugin.java63 Joiner.on('_').join(rootComponentName.simpleNames()) + ".properties") in write()
/external/dagger2/java/dagger/hilt/processor/internal/
DComponentGenerator.java46 Comparator.comparing((ClassName c) -> JOINER.join(c.simpleNames()))
DProcessors.java498 return Joiner.on('_').join(name.simpleNames());
/external/dagger2/java/dagger/grpc/server/processor/
DGrpcServiceModel.java83 Joiner.on('_').join(serviceImplementationClassName.simpleNames()) + suffix); in peerClassWithSuffix()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java109 Joiner.on('_').join(descriptor.enclosingModule().simpleNames()) in generate()
/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java107 Joiner.on('_').join(componentName.simpleNames()) + ".dot", in visitGraph()
/external/dagger2/java/dagger/internal/codegen/binding/
DSourceFiles.java202 return CLASS_FILE_NAME_JOINER.join(className.simpleNames()); in classFileName()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaInputAstVisitor.java2675 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/
DCHANGELOG.md27 * New: Improved performance of `ClassName.simpleNames()` by memoizing results.