Home
last modified time | relevance | path

Searched refs:containingClass (Results 1 – 25 of 47) sorted by relevance

12

/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliClassStatement.java100 SmaliClass containingClass = getContainingClass(); in addAnnotation() local
101 if (containingClass == null) { in addAnnotation()
105 return containingClass.addAnnotation(qualifiedName); in addAnnotation()
111 SmaliClass containingClass = getContainingClass(); in getAnnotations() local
112 if (containingClass == null) { in getAnnotations()
115 return containingClass.getAnnotations(); in getAnnotations()
121 SmaliClass containingClass = getContainingClass(); in getApplicableAnnotations() local
122 if (containingClass == null) { in getApplicableAnnotations()
125 return containingClass.getApplicableAnnotations(); in getApplicableAnnotations()
131 SmaliClass containingClass = getContainingClass(); in findAnnotation() local
[all …]
DSmaliFieldReference.java63 PsiClass containingClass = containingClassReference.resolve(); in getContainingClass() local
64 if (containingClass == null) { in getContainingClass()
68 return containingClass; in getContainingClass()
113 PsiClass containingClass = getContainingClass(); in resolve() local
114 if (containingClass == null) { in resolve()
123 return containingClass.findFieldByName(memberName.getText(), true); in resolve()
DSmaliMethodReference.java90 PsiClass containingClass = containingClassReference.resolve(); in getContainingClass() local
91 if (containingClass == null) { in getContainingClass()
95 return containingClass; in getContainingClass()
134 PsiClass containingClass = getContainingClass(); in resolve() local
135 if (containingClass == null) { in resolve()
160 return containingClass.findMethodBySignature(pattern, true); in resolve()
DSmaliMethod.java350 SmaliClass containingClass = getContainingClass(); in getDefaultValue() local
351 if (containingClass == null || !containingClass.isAnnotationType()) { in getDefaultValue()
355 for (SmaliAnnotation annotation: containingClass.getAnnotations()) { in getDefaultValue()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DFieldDefinition.java70 String containingClass = null; in writeTo() local
72 containingClass = field.getDefiningClass(); in writeTo()
75 EncodedValueAdaptor.writeTo(writer, initialValue, containingClass); in writeTo()
84 String containingClass = null; in writeTo() local
86 containingClass = field.getDefiningClass(); in writeTo()
89 AnnotationFormatter.writeTo(writer, annotations, containingClass); in writeTo()
DAnnotationFormatter.java45 @Nullable String containingClass) throws IOException { in writeTo() argument
53 writeTo(writer, annotation, containingClass); in writeTo()
58 @Nullable String containingClass) throws IOException { in writeTo() argument
65 … AnnotationEncodedValueAdaptor.writeElementsTo(writer, annotation.getElements(), containingClass); in writeTo()
DMethodDefinition.java182 String containingClass = null; in writeEmptyMethodTo() local
184 containingClass = method.getDefiningClass(); in writeEmptyMethodTo()
186 AnnotationFormatter.writeTo(writer, method.getAnnotations(), containingClass); in writeEmptyMethodTo()
230 String containingClass = null; in writeTo() local
232 containingClass = method.getDefiningClass(); in writeTo()
234 AnnotationFormatter.writeTo(writer, method.getAnnotations(), containingClass); in writeTo()
337 String containingClass = null; in writeParameters() local
339 containingClass = method.getDefiningClass(); in writeParameters()
341 AnnotationFormatter.writeTo(writer, annotations, containingClass); in writeParameters()
/external/dokka/core/src/main/kotlin/Analysis/
DJavaResolveExtension.kt42 if (method.containingClass == null || !Name.isValidIdentifier(method.name)) return null in <lambda>()
65 is PsiEnumConstant -> containingClass?.getJavaClassDescriptor(resolutionFacade) in getJavaMemberDescriptor()
98 return resolveClass(constructor.containingClass)?.constructors?.findByJavaElement(constructor) in resolveConstructor()
106 val containingClass = resolveClass(member.containingClass) in getContainingScope() constant
108 containingClass?.staticScope in getContainingScope()
110 containingClass?.defaultType?.memberScope in getContainingScope()
/external/doclava/src/com/google/doclava/
DMethodInfo.java79 addInterfaces(containingClass().interfaces(), queue); in findOverriddenMethod()
113 if (containingClass().realSuperclass() != null in findRealOverriddenMethod()
114 && containingClass().realSuperclass().isAbstract()) { in findRealOverriddenMethod()
115 queue.add(containingClass().realSuperclass()); in findRealOverriddenMethod()
117 addInterfaces(containingClass().realInterfaces(), queue); in findRealOverriddenMethod()
122 && notStrippable.contains(me.containingClass())) { in findRealOverriddenMethod()
142 for (ClassInfo clazz : containingClass().gatherAncestorClasses()) { in findPredicateOverriddenMethod()
162 if (containingClass().realSuperclass() != null in findRealOverriddenClass()
163 && containingClass().realSuperclass().isAbstract()) { in findRealOverriddenClass()
164 queue.add(containingClass().realSuperclass()); in findRealOverriddenClass()
[all …]
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()
DInfoBuilder.java451 private ClassInfo buildClass(ParseTree tree, ClassInfo containingClass) { in buildClass() argument
467 cls = buildClassName(child, containingClass, modifiers, in buildClass()
555 private ClassInfo buildClassName(ParseTree tree, ClassInfo containingClass, Modifiers modifiers, in buildClassName() argument
584 if (containingClass == null) { in buildClassName()
587 qualifiedClassName = containingClass.qualifiedName() + "." + tree.toString(); in buildClassName()
605 cls.setContainingClass(containingClass); in buildClassName()
608 if (containingClass == null) { in buildClassName()
683 private ArrayList<FieldInfo> buildFields(ParseTree tree, ClassInfo containingClass) { in buildFields() argument
754 FieldInfo field = new FieldInfo(name, containingClass, containingClass, in buildFields()
962 private MethodInfo buildMethod(ParseTree tree, ClassInfo containingClass, in buildMethod() argument
[all …]
DAndroidLinter.java26 if (!shouldLint(field.containingClass())) return; in lintField()
33 if (field.containingClass().qualifiedName().startsWith("android.support.")) continue; in lintField()
69 if (!shouldLint(method.containingClass())) return; in lintMethod()
121 if (!shouldLint(method.containingClass())) return; in lintParameter()
DMemberInfo.java23 ClassInfo containingClass, ClassInfo realContainingClass, boolean isPublic, in MemberInfo() argument
30 mContainingClass = containingClass; in MemberInfo()
88 public ClassInfo containingClass() { in containingClass() method in MemberInfo
DFieldInfo.java34 public FieldInfo(String name, ClassInfo containingClass, ClassInfo realContainingClass, in FieldInfo() argument
39 super(rawCommentText, name, null, containingClass, realContainingClass, isPublic, isProtected, in FieldInfo()
49 if (newContainingClass == containingClass()) { in cloneForClass()
87 = (containingClass() != null) ? (containingClass().qualifiedName() + ".") : ""; in qualifiedName()
97 ClassInfo cl = containingClass(); in typeVariables()
103 cl = cl.containingClass(); in typeVariables()
DConverter.java143 Converter.obtainClass(c.containingClass()), in initClass()
480 m.name(), m.signature(), Converter.obtainClass(m.containingClass()),
481 Converter.obtainClass(m.containingClass()), m.isPublic(), m.isProtected(), m
498 final ClassInfo containingClass = Converter.obtainClass(m.containingClass());
502 final boolean isMethodFinal = m.isFinal() && !containingClass.isFinal();
507 containingClass, containingClass, m.isPublic(), m.isProtected(),
527 m.name(), m.signature(), Converter.obtainClass(m.containingClass()), Converter
528 .obtainClass(m.containingClass()), m.isPublic(), m.isProtected(), m
567 return new FieldInfo(f.name(), Converter.obtainClass(f.containingClass()), Converter
568 .obtainClass(f.containingClass()), f.isPublic(), f.isProtected(), f.isPackagePrivate(), f
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/
DEncodedValueAdaptor.java45 @Nullable String containingClass) in writeTo() argument
49 …notationEncodedValueAdaptor.writeTo(writer, (AnnotationEncodedValue)encodedValue, containingClass); in writeTo()
52 … ArrayEncodedValueAdaptor.writeTo(writer, (ArrayEncodedValue)encodedValue, containingClass); in writeTo()
69 if (enumEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
78 if (fieldEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
95 if (methodEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
DAnnotationEncodedValueAdaptor.java44 @Nullable String containingClass) throws IOException { in writeTo() argument
49 writeElementsTo(writer, annotationEncodedValue.getElements(), containingClass); in writeTo()
55 @Nullable String containingClass) throws IOException { in writeElementsTo() argument
60 EncodedValueAdaptor.writeTo(writer, annotationElement.getValue(), containingClass); in writeElementsTo()
DArrayEncodedValueAdaptor.java43 @Nullable String containingClass) throws IOException { in writeTo() argument
60 EncodedValueAdaptor.writeTo(writer, encodedValue, containingClass); in writeTo()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DMethodRenameTest.java29 private void doTest(@NotNull final String containingClass, @NotNull final String oldMethodName, in doTest() argument
34 doRename(containingClass, oldMethodName, newMethodName); in doTest()
39 …private void doRename(String containingClass, String oldMethodName, String newMethodName) throws E… in doRename() argument
40 …PsiClass testClass = myJavaFacade.findClass(containingClass, GlobalSearchScope.allScope(getProject… in doRename()
DFieldRenameTest.java29 private void doTest(@NotNull final String containingClass, @NotNull final String oldFieldName, in doTest() argument
34 doRename(containingClass, oldFieldName, newFieldName); in doTest()
39 …private void doRename(String containingClass, String oldFieldName, String newFieldName) throws Exc… in doRename() argument
40 …PsiClass testClass = myJavaFacade.findClass(containingClass, GlobalSearchScope.allScope(getProject… in doRename()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaField.java92 PsiClass containingClass = psiField.getContainingClass(); in getDefiningClass() local
93 if (containingClass == null) { in getDefiningClass()
96 return NameUtils.javaToSmaliType(containingClass); in getDefiningClass()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
DSmalideaInstruction.java189 String containingClass = methodReference.getContainingType().getText(); in getReference() local
200 return new ImmutableMethodReference(containingClass, in getReference()
207 containingClass = fieldReference.getContainingType().getText(); in getReference()
208 return new ImmutableFieldReference(containingClass, in getReference()
/external/dagger2/java/dagger/lint/
DDaggerKotlinIssueDetector.kt204 val containingClass = node.containingClass?.toUElement(UClass::class.java) ?: return in <lambda>() constant
205 if (containingClass.isObject()) { in <lambda>()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java207 … static String getReferenceString(@Nonnull Reference reference, @Nullable String containingClass) { in getReferenceString() argument
216 … boolean useImplicitReference = fieldReference.getDefiningClass().equals(containingClass); in getReferenceString()
221 … boolean useImplicitReference = methodReference.getDefiningClass().equals(containingClass); in getReferenceString()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DGatherAPIData.java234 if (doc.isMethod() && doc.containingClass().isEnum()) { in isIgnoredEnumMethod()
263 && doc.containingClass().isAbstract() in isAbstractClassDefaultConstructor()
399 String className = (doc.isClass() || doc.isInterface() || (doc.containingClass() == null)) in createInfo()
401 : doc.containingClass().name(); in createInfo()
463 if (!mdoc.containingClass().isInterface()) { in createInfo()

12