Home
last modified time | relevance | path

Searched refs:containingClass (Results 1 – 25 of 39) 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()
DClassDefinition.java167 String containingClass = null; in writeAnnotations() local
169 containingClass = classDef.getType(); in writeAnnotations()
172 AnnotationFormatter.writeTo(writer, classAnnotations, containingClass); in writeAnnotations()
/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 …]
DConverter.java143 Converter.obtainClass(c.containingClass()), in initClass()
459 m.name(), m.signature(), Converter.obtainClass(m.containingClass()),
460 Converter.obtainClass(m.containingClass()), m.isPublic(), m.isProtected(), m
477 final ClassInfo containingClass = Converter.obtainClass(m.containingClass());
481 final boolean isMethodFinal = m.isFinal() && !containingClass.isFinal();
486 containingClass, containingClass, m.isPublic(), m.isProtected(),
508 ClassDoc containingClass = m.containingClass();
509 if (containingClass.containingClass() != null) {
514 name = containingClass.name();
520 name, m.signature(), Converter.obtainClass(m.containingClass()), Converter
[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()
DStubs.java488 if (cl.containingClass() != null) { in cantStripThis()
489 cantStripThis(cl.containingClass(), notStrippable, "5:" + cl.qualifiedName(), in cantStripThis()
503 cl.enumConstants(), cl.containingPackage(), cl.containingClass(), in cantStripThis()
547 + mInfo.containingClass().qualifiedName() + '.' + mInfo.name() in cantStripThis()
594 if (cl.containingClass() != null) { in writeClassFile()
624 if (cl.containingClass() == null) { in writeClassFile()
828 (overriddenMethod.isAbstract() || overriddenMethod.containingClass().isInterface())) { in writeClass()
924 …if (method.isAbstract() || method.isNative() || (method.containingClass().isInterface() && (!metho… in writeMethod()
929 stream.print(superCtorCall(method.containingClass(), method.thrownExceptions())); in writeMethod()
968 || !field.type().dimension().equals("") || field.containingClass().isInterface(); in fieldIsInitialized()
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/
DEncodedValueAdaptor.java44 @Nullable String containingClass) in writeTo() argument
48 …notationEncodedValueAdaptor.writeTo(writer, (AnnotationEncodedValue)encodedValue, containingClass); in writeTo()
51 … ArrayEncodedValueAdaptor.writeTo(writer, (ArrayEncodedValue)encodedValue, containingClass); in writeTo()
68 if (enumEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
77 if (fieldEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
94 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/
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()
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()
/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/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/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java138 … static String getReferenceString(@Nonnull Reference reference, @Nullable String containingClass) { in getReferenceString() argument
147 … boolean useImplicitReference = fieldReference.getDefiningClass().equals(containingClass); in getReferenceString()
152 … 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