Lines Matching refs:notStrippable
37 final HashSet<ClassInfo> notStrippable = new HashSet<ClassInfo>();
65 cantStripThis(cl, notStrippable, "0:0");
71 for (ClassInfo cl : notStrippable) {
132 for (ClassInfo cl : notStrippable) {
137 writeClassFile(stubsDir, notStrippable, cl);
155 writeApi(apiWriter, packages, notStrippable);
161 writeKeepList(keepListWriter, packages, notStrippable);
166 public static void cantStripThis(ClassInfo cl, HashSet<ClassInfo> notStrippable, String why) {
168 if (!notStrippable.add(cl)) {
178 * (ai.type() != null){ cantStripThis(ai.type(), notStrippable, "1:" + cl.qualifiedName()); } }
186 cantStripThis(fInfo.type().asClassInfo(), notStrippable, "2:" + cl.qualifiedName());
191 cantStripThis(tTypeInfo.asClassInfo(), notStrippable, "3:" + cl.qualifiedName());
203 cantStripThis(tInfo.asClassInfo(), notStrippable, "4:" + cl.qualifiedName());
209 // cantStripThis(cl.annotationElements(), notStrippable);
211 cantStripThis(cl.allSelfMethods(), notStrippable);
212 cantStripThis(cl.allConstructors(), notStrippable);
215 cantStripThis(cl.containingClass(), notStrippable, "5:" + cl.qualifiedName());
232 cantStripThis(supr, notStrippable, "6:" + cl.realSuperclass().name() + cl.qualifiedName());
237 private static void cantStripThis(ArrayList<MethodInfo> mInfos, HashSet<ClassInfo> notStrippable) {
245 cantStripThis(tInfo.asClassInfo(), notStrippable, "8:"
253 cantStripThis(pInfo.type().asClassInfo(), notStrippable, "9:"
266 cantStripThis(tcl, notStrippable, "10:"
276 cantStripThis(thrown, notStrippable, "11:" + mInfo.realContainingClass().qualifiedName()
280 cantStripThis(mInfo.returnType().asClassInfo(), notStrippable, "12:"
285 cantStripThis(tyInfo.asClassInfo(), notStrippable, "13:"
305 static void writeClassFile(String stubsDir, HashSet<ClassInfo> notStrippable, ClassInfo cl) {
325 writeClassFile(stream, notStrippable, cl);
335 static void writeClassFile(PrintStream stream, HashSet<ClassInfo> notStrippable, ClassInfo cl) {
340 writeClass(stream, notStrippable, cl);
343 static void writeClass(PrintStream stream, HashSet<ClassInfo> notStrippable, ClassInfo cl) {
381 if (notStrippable.contains(iface.asClassInfo()) && !iface.asClassInfo().isDocOnly()) {
416 if (notStrippable.contains(inner) && !inner.isDocOnly()) {
417 writeClass(stream, notStrippable, inner);
477 method.findRealOverriddenMethod(method.name(), method.signature(), notStrippable);
616 static boolean methodIsOverride(HashSet<ClassInfo> notStrippable, MethodInfo mi) {
623 MethodInfo om = mi.findSuperclassImplementation(notStrippable);
781 HashSet<ClassInfo> notStrippable) {
789 writePackageXML(xmlWriter, pack, allClasses.get(pack), notStrippable);
798 HashSet<ClassInfo> notStrippable = new HashSet();
801 notStrippable.add(cl);
806 writePackageXML(xmlWriter, pkg, pkg.allClasses().values(), notStrippable);
812 Collection<ClassInfo> classList, HashSet<ClassInfo> notStrippable) {
824 writeClassXML(xmlWriter, cl, notStrippable);
831 static void writeClassXML(PrintStream xmlWriter, ClassInfo cl, HashSet<ClassInfo> notStrippable) {
855 if (notStrippable.contains(iface)) {
870 if (!methodIsOverride(notStrippable, mi)) {
1000 HashSet<ClassInfo> notStrippable = new HashSet();
1003 notStrippable.add(cl);
1007 writePackageApi(apiWriter, pkg, pkg.allClasses().values(), notStrippable);
1012 HashSet<ClassInfo> notStrippable) {
1019 writePackageApi(apiWriter, pack, allClasses.get(pack), notStrippable);
1024 Collection<ClassInfo> classList, HashSet<ClassInfo> notStrippable) {
1038 writeClassApi(apiWriter, cl, notStrippable);
1044 static void writeClassApi(PrintStream apiWriter, ClassInfo cl, HashSet<ClassInfo> notStrippable) {
1078 if (notStrippable.contains(iface)) {
1099 if (!methodIsOverride(notStrippable, mi)) {
1256 HashMap<PackageInfo, List<ClassInfo>> allClasses, HashSet<ClassInfo> notStrippable) {
1263 writePackageKeepList(keepListWriter, pack, allClasses.get(pack), notStrippable);
1268 Collection<ClassInfo> classList, HashSet<ClassInfo> notStrippable) {
1278 writeClassKeepList(keepListWriter, cl, notStrippable);
1283 HashSet<ClassInfo> notStrippable) {
1300 if (!methodIsOverride(notStrippable, mi)) {