// Don't worry about it if there are no params.
if (numParams == 0)
return null;
// Try to obtain a tt-bytecode class object
BCClass bclass = (BCClass)ttClassCache.get(c);
if(bclass == null) {
try {
bclass = new BCClass(c);
ttClassCache.put(c, bclass);
} catch (IOException e) {
// what now?
}
}
// Obtain the exact method we're interested in.
BCMethod bmeth = bclass.getMethod(method.getName(),
method.getParameterTypes());
if (bmeth == null)
return null;