MCPcopy Create free account
hub / github.com/ReadyTalk/avian / addMethodRef

Method addMethodRef

classpath/avian/ConstantPool.java:78–86  ·  view source on GitHub ↗
(List<PoolEntry> pool,
                                 String className,
                                 String name,
                                 String spec)

Source from the content-addressed store, hash-verified

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;

Callers 3

makeTestCodeMethod · 0.95
makeInvokeCodeMethod · 0.95
makeConstructorCodeMethod · 0.95

Calls 3

addMethod · 0.95
addClassMethod · 0.95
addNameAndTypeMethod · 0.95

Tested by 1

makeTestCodeMethod · 0.76