Home
last modified time | relevance | path

Searched refs:MethodInfo (Results 1 – 14 of 14) sorted by relevance

/build/tools/droiddoc/src/
DClassInfo.java74 MethodInfo[] constructors, MethodInfo[] methods, MethodInfo[] annotationElements, in init()
320 public MethodInfo[] allConstructors() { in allConstructors()
324 public MethodInfo[] constructors() in constructors()
327 MethodInfo[] methods = mAllConstructors; in constructors()
328 ArrayList<MethodInfo> ctors = new ArrayList<MethodInfo>(); in constructors()
330 MethodInfo m = methods[i]; in constructors()
335 mConstructors = ctors.toArray(new MethodInfo[ctors.size()]); in constructors()
336 Arrays.sort(mConstructors, MethodInfo.comparator); in constructors()
386 public MethodInfo[] methods() in methods()
389 TreeMap<String,MethodInfo> all = new TreeMap<String,MethodInfo>(); in methods()
[all …]
DMethodInfo.java21 public class MethodInfo extends MemberInfo class
23 public static final Comparator<MethodInfo> comparator = new Comparator<MethodInfo>() {
24 public int compare(MethodInfo a, MethodInfo b) {
37 MethodInfo m = findOverriddenMethod(name(), signature()); in inherited()
58 public MethodInfo findOverriddenMethod(String name, String signature) in findOverriddenMethod()
71 for (MethodInfo me: iface.methods()) { in findOverriddenMethod()
96 … public MethodInfo findRealOverriddenMethod(String name, String signature, HashSet notStrippable) { in findRealOverriddenMethod()
112 for (MethodInfo me: iface.methods()) { in findRealOverriddenMethod()
125 public MethodInfo findSuperclassImplementation(HashSet notStrippable) { in findSuperclassImplementation()
147 for (MethodInfo me: iface.methods()) { in findSuperclassImplementation()
[all …]
DConverter.java287 private static MethodInfo[] getHiddenMethods(MethodDoc[] methods){ in getHiddenMethods()
289 ArrayList<MethodInfo> out = new ArrayList<MethodInfo>(); in getHiddenMethods()
292 MethodInfo m = Converter.obtainMethod(methods[i]); in getHiddenMethods()
305 return out.toArray(new MethodInfo[out.size()]); in getHiddenMethods()
313 private static MethodInfo[] convertMethods(MethodDoc[] methods) in convertMethods()
316 ArrayList<MethodInfo> out = new ArrayList<MethodInfo>(); in convertMethods()
319 MethodInfo m = Converter.obtainMethod(methods[i]); in convertMethods()
332 return out.toArray(new MethodInfo[out.size()]); in convertMethods()
335 private static MethodInfo[] convertMethods(ConstructorDoc[] methods) in convertMethods()
338 ArrayList<MethodInfo> out = new ArrayList<MethodInfo>(); in convertMethods()
[all …]
DAnnotationValueInfo.java21 private MethodInfo mElement;
23 public AnnotationValueInfo(MethodInfo element) in AnnotationValueInfo()
33 public MethodInfo element() in element()
DStubs.java58 MethodInfo[] methods = cl.selfMethods(); in writeStubs()
59 for (MethodInfo m: methods) { in writeStubs()
96 for (MethodInfo m: methods) { in writeStubs()
237 private static void cantStripThis(MethodInfo[] mInfos , HashSet<ClassInfo> notStrippable) { in cantStripThis()
240 for (MethodInfo mInfo : mInfos){ in cantStripThis()
432 for (MethodInfo method: cl.constructors()) { in writeClass()
473 for (MethodInfo method: cl.allSelfMethods()) { in writeClass()
491 for (MethodInfo method : cl.getHiddenMethods()){ in writeClass()
492MethodInfo overriddenMethod = method.findRealOverriddenMethod(method.name(), method.signature(), n… in writeClass()
505 for (MethodInfo element: cl.annotationElements()) { in writeClass()
[all …]
DAttributeInfo.java31 public ArrayList<MethodInfo> methods = new ArrayList<MethodInfo>();
89 for (MethodInfo m: methods) { in makeHDF()
DSinceTagger.java124 for (MethodInfo constructor : doc.constructors()) { in versionConstructors()
152 for (MethodInfo method : doc.methods()) { in versionMethods()
188 for (MethodInfo constructor : missingVersions(claz.constructors())) { in warnForMissingVersions()
194 for (MethodInfo method : missingVersions(claz.methods())) { in warnForMissingVersions()
DLinkReference.java274 MethodInfo method = result.classInfo.findMethod(mem, params, paramDimensions); in parse()
310 MethodInfo m = (result.memberInfo instanceof MethodInfo) in parse()
311 ? (MethodInfo)result.memberInfo in parse()
321 MethodInfo method = null; in parse()
325 method = (MethodInfo)result.memberInfo; in parse()
DProofread.java167 for (MethodInfo m: cl.constructors()) { in writeClass()
173 for (MethodInfo m: cl.selfMethods()) { in writeClass()
DAndroid.mk39 MethodInfo.java \
DTodoFile.java92 for (MethodInfo m: cl.constructors()) { in writeTodoFile()
107 for (MethodInfo m: cl.selfMethods()) { in writeTodoFile()
/build/tools/apicheck/src/com/android/apicheck/
DClassInfo.java31 private HashMap<String, MethodInfo> mMethods;
54 mMethods = new HashMap<String, MethodInfo>(); in ClassInfo()
91 public MethodInfo overriddenMethod(MethodInfo candidate) { in overriddenMethod()
98 for (MethodInfo mi : sup.mMethods.values()) { in overriddenMethod()
115 public MethodInfo interfaceMethod(MethodInfo candidate) { in interfaceMethod()
117 for (MethodInfo mi : interfaceInfo.mMethods.values()) { in interfaceMethod()
156 for (MethodInfo mInfo : mMethods.values()) { in isConsistent()
166 MethodInfo mi = mInfo.containingClass().overriddenMethod(mInfo); in isConsistent()
177 for (MethodInfo mInfo : cl.mMethods.values()) { in isConsistent()
182 MethodInfo mi = mInfo.containingClass().overriddenMethod(mInfo); in isConsistent()
[all …]
DMethodInfo.java20 public class MethodInfo implements AbstractMethodInfo { class
37 public MethodInfo (String name, String returnType, boolean isAbstract, boolean isNative, in MethodInfo() method in MethodInfo
88 public boolean matches(MethodInfo other) { in matches()
92 public boolean isConsistent(MethodInfo mInfo) { in isConsistent()
DApiCheck.java169 mCurrentMethod = new MethodInfo(attributes.getValue("name"), in startElement()
226 mCurrentClass.addMethod((MethodInfo) mCurrentMethod); in endElement()