(List<PoolEntry> pool,
String className,
String name,
String spec)
| 76 | } |
| 77 | |
| 78 | public static int addMethodRef(List<PoolEntry> pool, |
| 79 | String className, |
| 80 | String name, |
| 81 | String spec) |
| 82 | { |
| 83 | return add(pool, new MethodRefPoolEntry |
| 84 | (addClass(pool, className), |
| 85 | addNameAndType(pool, name, spec))); |
| 86 | } |
| 87 | |
| 88 | public interface PoolEntry { |
| 89 | public void writeTo(OutputStream out) throws IOException; |