net.sf.jour.filter
Class Pointcut

java.lang.Object
  extended by net.sf.jour.filter.MatchFilter
      extended by net.sf.jour.filter.BasicFilter
          extended by net.sf.jour.filter.MatchStringFilter
              extended by net.sf.jour.filter.Pointcut
All Implemented Interfaces:
Filter

public class Pointcut
extends MatchStringFilter

Author:
michaellif

Field Summary
protected static Logger log
           
 
Fields inherited from class net.sf.jour.filter.MatchFilter
debug, MATCH_DONT_KNOW, MATCH_EXACT, MATCH_EXCLUDE, MATCH_NO, MATCH_YES, name
 
Constructor Summary
Pointcut(java.lang.String expr)
          Creates a new Pointcut object.
 
Method Summary
 boolean acceptClass(javassist.CtClass clazz)
           
protected  boolean acceptClass(java.lang.String clazz)
           
 boolean acceptConstr(javassist.CtConstructor constr)
           
protected  boolean acceptConstr(java.lang.String[] params)
           
 boolean acceptImplements(javassist.CtClass clazz)
           
 boolean acceptMethod(javassist.CtMethod method)
           
 java.lang.String getMethodName()
           
 java.lang.String getRetType()
           
 int matchState(java.lang.Object obj)
           
 
Methods inherited from class net.sf.jour.filter.MatchStringFilter
debug, match, matchSimple, setPattern
 
Methods inherited from class net.sf.jour.filter.BasicFilter
accept, getGlobPattern
 
Methods inherited from class net.sf.jour.filter.MatchFilter
b2Match, isMatch, match2String, notMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

Pointcut

public Pointcut(java.lang.String expr)
Creates a new Pointcut object.

Method Detail

matchState

public int matchState(java.lang.Object obj)
Overrides:
matchState in class MatchStringFilter

acceptClass

public boolean acceptClass(javassist.CtClass clazz)

acceptImplements

public boolean acceptImplements(javassist.CtClass clazz)

acceptClass

protected boolean acceptClass(java.lang.String clazz)

acceptMethod

public boolean acceptMethod(javassist.CtMethod method)

acceptConstr

public boolean acceptConstr(javassist.CtConstructor constr)

acceptConstr

protected boolean acceptConstr(java.lang.String[] params)

getMethodName

public java.lang.String getMethodName()

getRetType

public java.lang.String getRetType()


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.