371372373374375376377
*/ public Pointcut getDeclaredPointcut(String name) throws NoSuchPointcutException { Pointcut[] pcs = getDeclaredPointcuts(); for (Pointcut pc : pcs) if (pc.getName().equals(name)) return pc; throw new NoSuchPointcutException(name); }
381382383384385386387
*/ public Pointcut getPointcut(String name) throws NoSuchPointcutException { Pointcut[] pcs = getPointcuts(); for (Pointcut pc : pcs) if (pc.getName().equals(name)) return pc; throw new NoSuchPointcutException(name); }
370371372373374375376
380381382383384385386