Create a cache entry for this java.lang.Class
Method[] methods = jc.getMethods();
Vector workinglist = new Vector();
// scan for matching names, saving the match if it is unique,
// otherwise accumulating a list
for (int i=0; i<methods.length; i++) {
if (methods[i].getName().equals(name)) {
workinglist.addElement(methods[i]);
}
}
// If a list was found, convert it into an array
if (workinglist.size() > 0) {
this.methods = new Method[workinglist.size()];
workinglist.copyInto(this.methods);
}