Home
last modified time | relevance | path

Searched refs:simpleName (Results 1 – 25 of 125) sorted by relevance

12345

/external/javapoet/src/main/java/com/squareup/javapoet/
DClassName.java46 final String simpleName; field in ClassName
53 private ClassName(String packageName, ClassName enclosingClassName, String simpleName) { in ClassName() argument
54 this(packageName, enclosingClassName, simpleName, Collections.emptyList()); in ClassName()
57 private ClassName(String packageName, ClassName enclosingClassName, String simpleName, in ClassName() argument
62 this.simpleName = simpleName; in ClassName()
64 ? (enclosingClassName.canonicalName + '.' + simpleName) in ClassName()
65 : (packageName.isEmpty() ? simpleName : packageName + '.' + simpleName); in ClassName()
69 return new ClassName(packageName, enclosingClassName, simpleName, in annotated()
78 return new ClassName(packageName, resultEnclosingClassName, simpleName); in withoutAnnotations()
112 ? (enclosingClassName.reflectionName() + '$' + simpleName) in reflectionName()
[all …]
DCodeWriter.java376 String topLevelSimpleName = className.topLevelClassName().simpleName(); in lookupName()
385 ClassName resolved = resolve(c.simpleName()); in lookupName()
417 } else if (alwaysQualify.contains(className.simpleName)) { in importableType()
422 String simpleName = topLevelClassName.simpleName(); in importableType() local
423 ClassName replaced = importableTypes.put(simpleName, topLevelClassName); in importableType()
425 importableTypes.put(simpleName, replaced); // On collision, prefer the first inserted. in importableType()
434 private ClassName resolve(String simpleName) { in resolve() argument
438 if (typeSpec.nestedTypesSimpleNames.contains(simpleName)) { in resolve()
439 return stackClassName(i, simpleName); in resolve()
444 if (typeSpecStack.size() > 0 && Objects.equals(typeSpecStack.get(0).name, simpleName)) { in resolve()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DPropertyName.java60 public PropertyName(String simpleName) { in PropertyName() argument
61 this(simpleName, null); in PropertyName()
64 public PropertyName(String simpleName, String namespace) in PropertyName() argument
66 _simpleName = ClassUtil.nonNullString(simpleName); in PropertyName()
90 public static PropertyName construct(String simpleName) in construct() argument
92 if (simpleName == null || simpleName.length() == 0) { in construct()
95 return new PropertyName(InternCache.instance.intern(simpleName), null); in construct()
98 public static PropertyName construct(String simpleName, String ns) in construct() argument
100 if (simpleName == null) { in construct()
101 simpleName = ""; in construct()
[all …]
/external/vogar/src/vogar/
DDotJavaFile.java35 private final String simpleName; field in DotJavaFile
40 private DotJavaFile(String simpleName, String packageName, String actionName, boolean isJtreg) { in DotJavaFile() argument
41 this.simpleName = simpleName; in DotJavaFile()
61 return packageName != null ? packageName + "." + simpleName : simpleName; in getClassName()
68 String simpleName = filename.substring(0, filename.length() - ".java".length()); in parse() local
80 actionName = packageName + "." + simpleName; in parse()
90 return new DotJavaFile(simpleName, packageName, actionName, isjtreg); in parse()
/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/
DCustomTestApplicationMetadata.java58 ClassNames.CUSTOM_TEST_APPLICATION.simpleName()); in of()
64 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in of()
86 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in getBaseElement()
87 ClassNames.HILT_ANDROID_APP.simpleName(), in getBaseElement()
99 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in getBaseElement()
112 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in getBaseElement()
125 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in getBaseElement()
138 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in getBaseElement()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/
DDumpArchiveEntry.java199 private String simpleName; field in DumpArchiveEntry
222 public DumpArchiveEntry(final String name, final String simpleName) { in DumpArchiveEntry() argument
224 this.simpleName = simpleName; in DumpArchiveEntry()
235 protected DumpArchiveEntry(final String name, final String simpleName, final int ino, in DumpArchiveEntry() argument
239 this.simpleName = simpleName; in DumpArchiveEntry()
249 return simpleName; in getSimpleName()
256 protected void setSimpleName(final String simpleName) { in setSimpleName() argument
257 this.simpleName = simpleName; in setSimpleName()
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueMetadata.java96 bindValues.stream().map(m -> "@" + m.simpleName()).collect(toImmutableList())); in create()
103 annotationClassName.simpleName(), in create()
116 annotationClassName.simpleName(), in create()
123 annotationClassName.simpleName(), in create()
131 annotationClassName.simpleName(), in create()
139 annotationClassName.simpleName(), in create()
156 annotationClassName.simpleName()); in create()
165 annotationClassName.simpleName(), in create()
/external/dagger2/java/dagger/grpc/server/processor/
DUnscopedGrpcServiceModuleGenerator.java51 grpcServiceModel.serviceImplementationClassName.simpleName() + "ComponentFactory"); in createType()
64 .addType(unscopedComponentFactory(unscopedComponentFactory.simpleName())) in createType()
74 private TypeSpec unscopedComponentFactory(String simpleName) { in unscopedComponentFactory() argument
75 return TypeSpec.classBuilder(simpleName) in unscopedComponentFactory()
103 LOWER_CAMEL, grpcServiceModel.serviceDefinitionTypeFactoryName.simpleName())) in bindSubcomponentFactory()
/external/turbine/java/com/google/turbine/bytecode/sig/
DSig.java127 private final String simpleName; field in Sig.SimpleClassTySig
130 public SimpleClassTySig(String simpleName, ImmutableList<TySig> tyArgs) { in SimpleClassTySig() argument
132 this.simpleName = simpleName; in SimpleClassTySig()
141 public String simpleName() { in simpleName() method in Sig.SimpleClassTySig
142 return simpleName; in simpleName()
/external/dagger2/java/dagger/internal/codegen/writing/
DSubcomponentNames.java83 Multimaps.index(graph.componentDescriptors(), SubcomponentNames::simpleName); in namesByDescriptor()
112 return ImmutableMap.of(component, simpleName(component)); in disambiguateConflictingSimpleNames()
120 String simpleName = simpleName(component); in disambiguateConflictingSimpleNames() local
122 uniqueNames.put(component, format("%s_%s", nameSet.getUniqueName(basePrefix), simpleName)); in disambiguateConflictingSimpleNames()
127 private static String simpleName(ComponentDescriptor component) { in simpleName() method in SubcomponentNames
DGwtCompatibility.java54 Name simpleName = annotation.getAnnotationType().asElement().getSimpleName(); in isGwtIncompatible() local
55 return simpleName.contentEquals("GwtIncompatible"); in isGwtIncompatible()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DIfAvailableGenerator.java105 MethodSpec.methodBuilder(method.simpleName()) in generateMethodOnIfAvailableClass()
123 method.simpleName(), in generateMethodOnIfAvailableClass()
139 method.simpleName(), in generateMethodOnIfAvailableClass()
167 method.simpleName(), in generateMethodOnIfAvailableClass()
183 method.simpleName(), in generateMethodOnIfAvailableClass()
217 method.simpleName(), in generateMethodOnIfAvailableClass()
DFutureWrappersGenerator.java80 String futureWrapperSimpleName = futureWrapper.defaultWrapperClassName().simpleName(); in generateFutureWrapper()
101 futureWrapper.defaultWrapperClassName().simpleName(), in generateFutureWrapper()
102 futureWrapper.wrapperClassName().simpleName()); in generateFutureWrapper()
113 + futureWrapper.wrapperClassName().simpleName()); in generateFutureWrapper()
DParcelableWrappersGenerator.java97 String parcelableWrapperSimpleName = parcelableWrapper.defaultWrapperClassName().simpleName(); in generateDefaultParcelableWrapper()
118 parcelableWrapper.defaultWrapperClassName().simpleName(), in generateDefaultParcelableWrapper()
119 parcelableWrapper.wrapperClassName().simpleName()); in generateDefaultParcelableWrapper()
130 + parcelableWrapper.wrapperClassName().simpleName()); in generateDefaultParcelableWrapper()
DFakeOtherGenerator.java176 MethodSpec.methodBuilder(method.simpleName()) in generateBlockingMethodOnFakeOther()
192 method.simpleName(), in generateBlockingMethodOnFakeOther()
234 MethodSpec.methodBuilder(method.simpleName()) in generateCrossProfileCallbackMethodOnFakeOther()
249 method.simpleName(), in generateCrossProfileCallbackMethodOnFakeOther()
281 MethodSpec.methodBuilder(method.simpleName()) in generateFutureMethodOnFakeOther()
295 method.simpleName(), in generateFutureMethodOnFakeOther()
DCurrentProfileGenerator.java168 method.simpleName(), in generateMethodOnCurrentProfileClass()
177 MethodSpec.methodBuilder(method.simpleName()) in generateMethodOnCurrentProfileClass()
197 MethodSpec.methodBuilder(method.simpleName()) in generateCrossProfileCallbackWithExceptionMethodOnCurrentProfileClass()
208 method.simpleName(), in generateCrossProfileCallbackWithExceptionMethodOnCurrentProfileClass()
/external/turbine/java/com/google/turbine/binder/
DResolve.java47 Tree.Ident simpleName) { in resolve() argument
48 return resolve(env, origin, sym, simpleName, new HashSet<>()); in resolve()
55 Tree.Ident simpleName, in resolve() argument
66 result = bound.children().get(simpleName.value()); in resolve()
71 result = resolve(env, origin, bound.superclass(), simpleName, seen); in resolve()
77 result = resolve(env, origin, i, simpleName, seen); in resolve()
/external/junit/src/main/java/org/junit/internal/builders/
DAnnotatedBuilder.java110 String simpleName = runnerClass.getSimpleName(); in buildRunner()
112 CONSTRUCTOR_ERROR_FORMAT, simpleName, simpleName)); in buildRunner()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DObjectIdWriter.java70 String simpleName = (propName == null) ? null : propName.getSimpleName(); in construct() local
71 SerializableString serName = (simpleName == null) ? null : new SerializedString(simpleName); in construct()
/external/jdiff/src/jdiff/
DMergeChanges.java104 …id = pkgDiff.name_ + "." + classDiff.name_ + ".ctor(" + HTMLReportGenerator.simpleName(type) + ")"; in mergeRemoveAddCtor()
106 …ink2 + "constructor <b>" + classDiff.name_ + "(" + HTMLReportGenerator.simpleName(type) + ")</b></… in mergeRemoveAddCtor()
164 …lassDiff.name_ + ".dmethod." + addedMethod.name_ + "(" + HTMLReportGenerator.simpleName(sig) + ")"; in mergeSingleMethods()
166 …nk2 + HTMLReportGenerator.simpleName(methodDiff.newType_) + " <b>" + addedMethod.name_ + "(" + HT… in mergeSingleMethods()
242 …lassDiff.name_ + ".dmethod." + addedMethod.name_ + "(" + HTMLReportGenerator.simpleName(sig) + ")"; in mergeMultipleMethods()
244 …nk2 + HTMLReportGenerator.simpleName(methodDiff.newType_) + " <b>" + addedMethod.name_ + "(" + HT… in mergeMultipleMethods()
324 …link2 + HTMLReportGenerator.simpleName(fieldDiff.newType_) + " <b>" + addedField.name_ + "</b></a>… in mergeRemoveAddField()
/external/turbine/java/com/google/turbine/binder/lookup/
DSimpleTopLevelIndex.java92 String simpleName = binaryName.substring(start, end); in insert() local
93 curr = curr.insert(simpleName, null); in insert()
103 String simpleName = binaryName.substring(start); in insert() local
104 curr = curr.insert(simpleName, sym); in insert()
/external/dagger2/javatests/dagger/internal/codegen/
DModuleValidationTest.java62 String simpleName() { in simpleName() method in ModuleValidationTest.ModuleType
258 + moduleType.simpleName() in moduleSubcomponents_noSubcomponentCreator()
290 + moduleType.simpleName() in moduleSubcomponents_noProductionSubcomponentCreator()
390 String.format("@%s(", moduleType.simpleName()), in moduleIncludesSelfCycle()
413 String error = String.format("@%s cannot include themselves", moduleType.simpleName()); in moduleIncludesSelfCycle()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DTypeSimplifier.java217 String simpleName = typeElement.getSimpleName().toString(); in findImports() local
221 if (ambiguous.contains(simpleName)) { in findImports()
232 spelling = simpleName; in findImports()
305 String simpleName = typeUtils.asElement(type).getSimpleName().toString(); in ambiguousNames() local
312 Name previous = simpleNamesToQualifiedNames.put(simpleName, qualifiedName); in ambiguousNames()
314 ambiguous.add(simpleName); in ambiguousNames()
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigRegressionTest.java40 assertThat(Iterables.getOnlyElement(bound.classes()).simpleName()).isEqualTo("Object"); in collect()
43 assertThat(Iterables.getOnlyElement(sig.superClass().classes()).simpleName()) in collect()
50 assertThat(simple.simpleName()).isEqualTo("Collection"); in collect()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DAndroidEntryPointMetadata.java231 annotationClassName.simpleName()); in of()
238 annotationClassName.simpleName()); in of()
276 annotationClassName.simpleName()); in of()
286 extendsName.contentEquals(generatedClassName.simpleName()), in of()
289 annotationClassName.simpleName(), in of()
290 generatedClassName.simpleName(), in of()
520 annotationName.simpleName()); in checkAnnotationsMatch()

12345