Home
last modified time | relevance | path

Searched refs:qualifiedName (Results 1 – 25 of 89) sorted by relevance

1234

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparser/
DNavigator.java54 public static Optional<TypeDeclaration<?>> findType(CompilationUnit cu, String qualifiedName) { in findType() argument
59 final String typeName = getOuterTypeName(qualifiedName); in findType()
62 final String innerTypeName = getInnerTypeName(qualifiedName); in findType()
69 … public static Optional<TypeDeclaration<?>> findType(TypeDeclaration<?> td, String qualifiedName) { in findType() argument
70 final String typeName = getOuterTypeName(qualifiedName); in findType()
79 final String innerTypeName = getInnerTypeName(qualifiedName); in findType()
86 … public static ClassOrInterfaceDeclaration demandClass(CompilationUnit cu, String qualifiedName) { in demandClass() argument
87 ClassOrInterfaceDeclaration cd = demandClassOrInterface(cu, qualifiedName); in demandClass()
94 public static EnumDeclaration demandEnum(CompilationUnit cu, String qualifiedName) { in demandEnum() argument
95 Optional<TypeDeclaration<?>> res = findType(cu, qualifiedName); in demandEnum()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/
DSmaliClassStatementStub.java41 @Nullable private final String qualifiedName; field in SmaliClassStatementStub
43 public SmaliClassStatementStub(StubElement parent, @Nullable String qualifiedName) { in SmaliClassStatementStub() argument
45 this.qualifiedName = qualifiedName; in SmaliClassStatementStub()
49 return qualifiedName; in getQualifiedName()
53 if (qualifiedName == null) { in getName()
56 int lastDot = qualifiedName.lastIndexOf('.'); in getName()
58 return qualifiedName; in getName()
60 return qualifiedName.substring(lastDot+1); in getName()
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/
DNameUtils.java70 String qualifiedName = psiClass.getQualifiedName(); in javaToSmaliType() local
71 if (qualifiedName == null) { in javaToSmaliType()
76 int offset = qualifiedName.lastIndexOf('.'); in javaToSmaliType()
77 String parentName = qualifiedName.substring(0, offset); in javaToSmaliType()
79 String className = qualifiedName.substring(offset+1, qualifiedName.length()); in javaToSmaliType()
235 String qualifiedName = resolvedType.getQualifiedName(); in resolveSmaliToJavaType() local
236 if (qualifiedName != null) { in resolveSmaliToJavaType()
237 return qualifiedName; in resolveSmaliToJavaType()
328 public static String shortNameFromQualifiedName(@Nullable String qualifiedName) { in shortNameFromQualifiedName() argument
329 if (qualifiedName == null) { in shortNameFromQualifiedName()
[all …]
/external/doclava/src/com/google/doclava/
DContainerInfo.java20 public String qualifiedName(); in qualifiedName() method
23 final String qualifiedName = qualifiedName(); in qualifiedNameMatches() local
24 return (qualifiedName.startsWith(prefix) && qualifiedName.endsWith(suffix)); in qualifiedNameMatches()
DAtLinksNavTree.java141 if (!field.containingClass().qualifiedName().contains(".internal.")) { in addFields()
146 if (!field.containingClass().qualifiedName().equals(cl.qualifiedName())) { in addFields()
147 buf.append(field.containingClass().qualifiedName()); in addFields()
168 if (!method.containingClass().qualifiedName().contains(".internal.")) { in addMethods()
173 if (!method.containingClass().qualifiedName().equals(cl.qualifiedName())) { in addMethods()
174 buf.append(method.containingClass().qualifiedName()); in addMethods()
DClassInfo.java78 return a.qualifiedName().compareTo(b.qualifiedName());
85 public ClassInfo(String qualifiedName) { in ClassInfo() argument
87 mQualifiedName = qualifiedName; in ClassInfo()
88 if (qualifiedName.lastIndexOf('.') != -1) { in ClassInfo()
89 mName = qualifiedName.substring(qualifiedName.lastIndexOf('.') + 1); in ClassInfo()
91 mName = qualifiedName; in ClassInfo()
99 boolean isIncluded, String name, String qualifiedName, String qualifiedTypeName, in ClassInfo() argument
110 mQualifiedName = qualifiedName; in ClassInfo()
539 public String qualifiedName() { in qualifiedName() method in ClassInfo
595 if (annotation.type().qualifiedName().equals("java.lang.Deprecated")) { in isDeprecated()
[all …]
DStubs.java183 Errors.error(Errors.DEPRECATED, m.position(), "Method " + cl.qualifiedName() + "." in writeStubsAndApi()
189 if (hiddenClass.qualifiedName() == m.returnType().asClassInfo().qualifiedName()) { in writeStubsAndApi()
191 Errors.error(Errors.UNAVAILABLE_SYMBOL, m.position(), "Method " + cl.qualifiedName() in writeStubsAndApi()
195 … Errors.error(Errors.HIDDEN_TYPE_PARAMETER, m.position(), "Method " + cl.qualifiedName() in writeStubsAndApi()
206 if (hiddenClass.qualifiedName() == t.asClassInfo().qualifiedName()) { in writeStubsAndApi()
209 "Parameter of unavailable type " + t.fullName() + " in " + cl.qualifiedName() in writeStubsAndApi()
215 + cl.qualifiedName() + "." + m.name() + "()"); in writeStubsAndApi()
247 Errors.error(Errors.DEPRECATED, cl.position(), "Class " + cl.qualifiedName() in writeStubsAndApi()
284 || stubPackages.contains(ci.containingPackage().qualifiedName())) in writeStubsAndApi()
414 && stubImportPackages.contains(ci.containingPackage().qualifiedName())) { in findHiddenClasses()
[all …]
DFieldInfo.java85 public String qualifiedName() { in qualifiedName() method in FieldInfo
87 = (containingClass() != null) ? (containingClass().qualifiedName() + ".") : ""; in qualifiedName()
151 if (annotation.type().qualifiedName().equals("java.lang.Deprecated")) { in isDeprecated()
165 + mContainingClass.qualifiedName() + "." + name() in isDeprecated()
477 Errors.error(Errors.CHANGED_TYPE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
481 Errors.error(Errors.CHANGED_VALUE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
487 Errors.error(Errors.CHANGED_SCOPE, fInfo.position(), "Method " + fInfo.qualifiedName() in isConsistent()
493 Errors.error(Errors.CHANGED_STATIC, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
499 Errors.error(Errors.ADDED_FINAL, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
503 Errors.error(Errors.REMOVED_FINAL, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
[all …]
DMethodInfo.java214 if (annotation.type().qualifiedName().equals("java.lang.Deprecated")) { in isDeprecated()
228 + mContainingClass.qualifiedName() + "." + name() in isDeprecated()
358 return qualifiedName() + prettyParameters(); in prettyQualifiedSignature()
406 String qn = item.qualifiedName(); in inList()
409 if (ex != null && ex.qualifiedName().equals(qn)) { in inList()
428 rv.add(new ThrowsTagInfo("@throws", "@throws", cl.qualifiedName(), cl, "", in throwsTags()
579 String qualifiedName = myType.qualifiedTypeName(); in matchesParams() local
580 String realType = myType.isPrimitive() ? "" : myType.asClassInfo().qualifiedName(); in matchesParams()
584 if (!matchesType(qualifiedName, s) && !matchesType(realType, s)) { in matchesParams()
656 aii.type().qualifiedName()); in makeHDF()
[all …]
DHierarchy.java30 String name = cl.qualifiedName(); in makeHierarchy()
39 String sname = superclass != null ? superclass.qualifiedName() : null; in makeHierarchy()
104 hdf.setValue("class.qualified", cl.qualifiedName()); in recurse()
116 hdf.setValue("interfaces." + i + ".class.qualified", iface.qualifiedName()); in recurse()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DReflectionInflater.java82 String qualifiedName = tagName; in createItem() local
83 if (prefix != null && qualifiedName.indexOf('.') == -1) { in createItem()
84 qualifiedName = prefix.concat(qualifiedName); in createItem()
88 (Constructor<? extends T>) constructorMap.get(qualifiedName); in createItem()
95 (Class<? extends T>) context.getClassLoader().loadClass(qualifiedName); in createItem()
109 attrs.getPositionDescription() + ": Error inflating class " + qualifiedName, e); in createItem()
/external/mockito/src/test/java/org/mockitousage/configuration/
DClassCacheVersusClassReloadingTest.java42 public boolean acceptReloadOf(String qualifiedName) { in reloadScope()
43 …g.mockitousage.configuration.ClassCacheVersusClassReloadingTest$DoTheMocking".equals(qualifiedName) in reloadScope()
44 || "org.mockitousage.configuration.ClassToBeMocked".equals(qualifiedName); in reloadScope()
63 public boolean acceptReloadOf(String qualifiedName) {
64 … return (!qualifiedName.contains("net.bytebuddy") && qualifiedName.contains("org.mockito"));
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParametersMap.java61 String qualifiedName = typeParameter.getQualifiedName(); in setValue() local
62 nameToValue.put(qualifiedName, value); in setValue()
63 nameToDeclaration.put(qualifiedName, typeParameter); in setValue()
107 String qualifiedName = typeParameter.getQualifiedName(); in getValue() local
108 if (nameToValue.containsKey(qualifiedName)) { in getValue()
109 return nameToValue.get(qualifiedName); in getValue()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DDefaultPackageTest.java30 private String qualifiedName; field in DefaultPackageTest.MyClassDeclaration
32 private MyClassDeclaration(String qualifiedName) { in MyClassDeclaration() argument
33 this.qualifiedName = qualifiedName; in MyClassDeclaration()
82 public boolean hasDirectlyAnnotation(String qualifiedName) { in hasDirectlyAnnotation() argument
118 return qualifiedName; in getQualifiedName()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/index/
DSmaliClassFinder.java52 public PsiClass findClass(@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { in findClass() argument
53 … Collection<SmaliClass> classes = SmaliClassNameIndex.INSTANCE.get(qualifiedName, project, scope); in findClass()
62 public PsiClass[] findClasses(@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { in findClasses() argument
63 PsiClass cls = findClass(qualifiedName, scope); in findClasses()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoaders.java402 private String qualifiedName; field in MemHandler.MemURLConnection
407 qualifiedName = url.getPath(); in MemURLConnection()
416 … return new ByteArrayInputStream(inMemoryClassLoader.inMemoryClassObjects.get(qualifiedName)); in getInputStream()
490 String qualifiedName = uri.getSchemeSpecificPart(); in addFromInMemoryBasedClassLoader() local
491 if (excludes(qualifiedName, qualifiedNameSubstring)) { in addFromInMemoryBasedClassLoader()
492 classes.add(qualifiedName); in addFromInMemoryBasedClassLoader()
507 String qualifiedName = classNameFor(root, file); in findClassQualifiedNames() local
508 if (excludes(qualifiedName, packageFilters)) { in findClassQualifiedNames()
509 return Collections.singleton(qualifiedName); in findClassQualifiedNames()
516 private boolean excludes(String qualifiedName, Set<String> packageFilters) { in excludes() argument
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliClassStatement.java99 public SmaliAnnotation addAnnotation(@NotNull @NonNls String qualifiedName) { in addAnnotation() argument
105 return containingClass.addAnnotation(qualifiedName); in addAnnotation()
130 public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() argument
135 return containingClass.findAnnotation(qualifiedName); in findAnnotation()
DSmaliParameterStatement.java70 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() argument
72 if (qualifiedName.equals(annotation.getQualifiedName())) { in findAnnotation()
79 @NotNull @Override public SmaliAnnotation addAnnotation(@NotNull @NonNls String qualifiedName) { in addAnnotation() argument
DSmaliModifierList.java150 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() argument
151 return getParentForAnnotations().findAnnotation(qualifiedName); in findAnnotation()
154 @NotNull @Override public SmaliAnnotation addAnnotation(@NotNull @NonNls String qualifiedName) { in addAnnotation() argument
155 return getParentForAnnotations().addAnnotation(qualifiedName); in addAnnotation()
DSmaliMethodParameter.java207 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() argument
212 return parameterStatement.findAnnotation(qualifiedName); in findAnnotation()
215 @NotNull @Override public SmaliAnnotation addAnnotation(@NotNull @NonNls String qualifiedName) { in addAnnotation() argument
221 return parameterStatement.addAnnotation(qualifiedName); in addAnnotation()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java101 String qualifiedName = qualifiedName(mCurrentPackage.name(), name, mCurrentClass); in startElement() local
108 isException, isError, isEnum, isAnnotation, isFinal, isIncluded, name, qualifiedName, in startElement()
114 if (superclass == null && !isInterface && !"java.lang.Object".equals(qualifiedName)) { in startElement()
121 TypeInfo typeInfo = Converter.obtainTypeFromString(qualifiedName) ; in startElement()
239 private String qualifiedName(String pkg, String className, ClassInfo parent) { in qualifiedName() method in XmlApiFile
240 String parentQName = (parent != null) ? (parent.qualifiedName() + ".") : ""; in qualifiedName()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java212 boolean hasDirectlyAnnotation(String qualifiedName); in hasDirectlyAnnotation() argument
217 default boolean hasAnnotation(String qualifiedName) { in hasAnnotation() argument
218 if (hasDirectlyAnnotation(qualifiedName)) { in hasAnnotation()
221 …m().anyMatch(it -> it.asReferenceType().getTypeDeclaration().hasDirectlyAnnotation(qualifiedName)); in hasAnnotation()
/external/mockito/src/test/java/org/mockitousage/serialization/
DAcrossClassLoaderSerializationTest.java55 public boolean acceptReloadOf(String qualifiedName) { in isolating_test_classes()
56 return qualifiedName.contains("org.mockitousage") in isolating_test_classes()
57 || qualifiedName.contains("org.mockitoutil") in isolating_test_classes()
/external/mockito/src/main/java/org/mockito/internal/reporting/
DPrintSettings.java48 …String qualifiedName = MockUtil.getMockName(invocation.getMock()) + "." + invocation.getMethod().g… in print() local
49 String invocationString = qualifiedName + matchersPrinter.getArgumentsLine(matchers, this); in print()
51 return qualifiedName + matchersPrinter.getArgumentsBlock(matchers, this); in print()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParametersMap.txt4 Line 55) nameToValue.put(qualifiedName, value) ==> java.util.Map.put(K, V)
5 Line 56) nameToDeclaration.put(qualifiedName, typeParameter) ==> java.util.Map.put(K, V)
13 Line 100) nameToValue.containsKey(qualifiedName) ==> java.util.Map.containsKey(java.lang.Object)
14 Line 101) nameToValue.get(qualifiedName) ==> java.util.Map.get(java.lang.Object)

1234