• Home
  • Raw
  • Download

Lines Matching refs:methods

172         self.methods = []
220 self.methods.extend(other.methods)
223 return hash((self.raw, tuple(self.ctors), tuple(self.fields), tuple(self.methods)))
650 clazz.methods.append(Method(clazz, line, raw, blame, sig_format=sig_format))
821 for m in clazz.methods:
840 for m in clazz.methods:
857 for m in clazz.methods:
861 if len(clazz.methods) == 1 and clazz.name.startswith("On"):
862 m = clazz.methods[0]
935 for m in clazz.methods:
948 write = [ i for i in clazz.methods if i.name == "writeToParcel" ]
949 describe = [ i for i in clazz.methods if i.name == "describeContents" ]
965 for m in clazz.methods:
1025 methods = [ m.name for m in clazz.methods ]
1026 for m in clazz.methods:
1030 if other not in methods:
1034 if other not in methods:
1043 if other not in methods:
1047 if other not in methods:
1057 for m in clazz.methods:
1067 for m in clazz.methods:
1115 for m in clazz.methods:
1135 for m in clazz.methods:
1224 for m in itertools.chain(clazz.methods, clazz.ctors):
1242 gets = [ m for m in clazz.methods if is_get(m) ]
1243 sets = [ m for m in clazz.methods if is_set(m) ]
1245 def error_if_exists(methods, trigger, expected, actual): argument
1246 for m in methods:
1250 for m in clazz.methods:
1283 for m in clazz.methods:
1299 for m in clazz.methods + clazz.ctors:
1327 for m in clazz.methods:
1352 for test in clazz.ctors, clazz.fields, clazz.methods:
1366 for m in clazz.methods:
1383 for m in clazz.methods:
1403 for m in clazz.methods:
1421 test.extend(clazz.methods)
1437 for m in clazz.methods:
1441 for name, methods in overloads.items():
1442 if len(methods) <= 1: continue
1454 common_args = cluster(methods[0].args)
1455 for m in methods:
1462 for m in methods:
1500 examine = clazz.ctors + clazz.methods
1527 examine = clazz.ctors + clazz.methods
1540 examine = clazz.ctors + clazz.methods
1592 test.extend(clazz.methods)
1611 for m in clazz.methods:
1663 examine = clazz.ctors + clazz.methods
1695 for m in clazz.methods:
1705 for m in clazz.methods:
1723 for m in clazz.methods:
1748 for m in clazz.methods:
1767 for m in clazz.methods:
1814 for m in clazz.methods:
1831 for m in clazz.methods:
1882 for m in clazz.methods:
1910 for m in clazz.ctors + clazz.methods:
1922 for m in clazz.methods:
1933 examine = clazz.ctors + clazz.methods
1964 for m in clazz.methods:
1987 for m in clazz.methods:
2019 for m in clazz.methods:
2088 methods = list(clazz.methods)
2090 methods.extend(all_methods(api, api[clazz.extends]))
2091 return methods
2094 methods = all_methods(api, clazz)
2095 for m in methods:
2118 methods = all_methods(prev, prev_clazz)
2119 for test in methods:
2154 sigs = { i.ident: i for i in prev_clazz.methods }
2155 cur_clazz.methods = [ i for i in cur_clazz.methods if i.ident not in sigs ]
2160 if len(cur_clazz.ctors) == 0 and len(cur_clazz.methods) == 0 and len(cur_clazz.fields) == 0:
2169 for i in clazz.ctors + clazz.methods + clazz.fields:
2190 stats['new_methods'] += len(cur_clazz.methods)
2197 sigs = { i.ident: i for i in prev_clazz.methods }
2198 methods = len([ i for i in cur_clazz.methods if i.ident not in sigs ])
2202 if ctors + methods + fields > 0:
2205 stats['extend_methods'] += methods