private boolean match(RVMMethod method) {
   if (excludePattern == null) return true;
   RVMClass cls = method.getDeclaringClass();
   String clsName = cls.toString();
   if (clsName.compareTo("org.jikesrvm.compilers.opt.runtimesupport.OptSaveVolatile") == 0)
     return true;
   String methodName = method.getName().toString();
   String fullName = clsName + "." + methodName;
   return (fullName.indexOf(excludePattern)) < 0;
 }
Exemplo n.º 2
0
 public Class<?> getDeclaringClass() {
   return method.getDeclaringClass().getClassForType();
 }