public Set getCaughtExceptions(CGNode node) { SSAInstruction[] statements = getIR(node).getInstructions(); return CodeScanner.getCaughtExceptions(statements); }
public Set getCaughtExceptions(CGNode node) { SSAInstruction[] statements = getIR(node).getInstructions(); return CodeScanner.getCaughtExceptions(statements); }
public static Set getCaughtExceptions(IMethod m) throws InvalidClassFileException { if (m == null) { throw new IllegalArgumentException("m is null"); } if (m.isWalaSynthetic()) { SyntheticMethod sm = (SyntheticMethod) m; return getCaughtExceptions(sm.getStatements()); } else { return getShrikeBTCaughtExceptions((ShrikeCTMethod) m); } }
public static Set getCaughtExceptions(IMethod m) throws InvalidClassFileException { if (m == null) { throw new IllegalArgumentException("m is null"); } if (m.isWalaSynthetic()) { SyntheticMethod sm = (SyntheticMethod) m; return getCaughtExceptions(sm.getStatements()); } else { return getShrikeBTCaughtExceptions((ShrikeCTMethod) m); } }
public Set getCaughtExceptions(CGNode node) { if (node == null) { throw new IllegalArgumentException("node is null"); } SpecializedFactoryMethod m = findOrCreateSpecializedFactoryMethod(node); try { return CodeScanner.getCaughtExceptions(m); } catch (InvalidClassFileException e) { e.printStackTrace(); Assertions.UNREACHABLE(); return null; } }
public Set getCaughtExceptions(CGNode node) { if (node == null) { throw new IllegalArgumentException("node is null"); } SpecializedFactoryMethod m = findOrCreateSpecializedFactoryMethod(node); try { return CodeScanner.getCaughtExceptions(m); } catch (InvalidClassFileException e) { e.printStackTrace(); Assertions.UNREACHABLE(); return null; } }