1 /************************************************* 2 * Copyright (c) Shen Li. All rights reserved. * 3 * http://joyaop.sourceforge.net * 4 * -------------------------------------------- * 5 * Distributable under LGPL license. * 6 * See terms of license at gnu.org. * 7 ************************************************/ 8 package net.sf.joyaop.framework; 9 10 import java.lang.reflect.Method; 11 12 /*** 13 * @author Shen Li 14 */ 15 public interface Pointcut { 16 boolean matches(Class clazz); 17 18 boolean matches(Class clazz, Method method); 19 }