// Copyright 2000-2005 the Contributors, as shown in the revision logs. // Licensed under the Apache Public Source License 2.0 ("the License"). // You may not use this file except in compliance with the License. package org.ibex.gcclass; import java.util.*; import java.util.zip.*; import java.io.*; import org.apache.bcel.util.*; import org.apache.bcel.classfile.*; // This code is hideous... it is just a quick hack public class SizeCheck { public static void main(String[] args) throws Exception { if(args.length < 3) { System.err.println("Usage SizeCheck classpath class1 ... [class n]"); System.exit(1); } String classpath = ClassPath.SYSTEM_CLASS_PATH + File.pathSeparator + args[0]; Repository repo = SyntheticRepository.getInstance(new ClassPath(classpath)); List all= new ArrayList(); int alltotal=0; for(int j=1;j