public static boolean declaredBy(VM_Method method) { throw new UnsupportedOperationException("Subclass of PragmaException must implement declaredBy()");
protected final static boolean declaredBy(VM_TypeReference eclass, VM_Method method) { VM_TypeReference[] exceptions = method.getExceptionTypes(); if (exceptions != null) { for (int i = 0; i<exceptions.length; i++) { VM_TypeReference e = exceptions[i]; if (!e.isResolved()) { if (e.getName().equals(eclass.getName())) { try { e.resolve(); } catch (NoClassDefFoundError e1) {  } catch (IllegalArgumentException e2) {  } } } if (exceptions[i].definitelySame(eclass)) { return true; } } } return false;
  public static boolean declaredBy(VM_Method method) {    throw new UnsupportedOperationException("Subclass of PragmaException must implement declaredBy()");  }