net.sf.jour.filter
Class Pointcut

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

public class Pointcut
extends MatchStringFilter

Author:
michaellif TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
protected static org.apache.log4j.Logger log
           
(package private)  PointcutParamsFilter paramsFilter
          DOCUMENT ME!
 
Fields inherited from class net.sf.jour.filter.MatchStringFilter
negative, pattern
 
Fields inherited from class net.sf.jour.filter.MatchFilter
debug, 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)
          DOCUMENT ME!
protected  boolean acceptClass(java.lang.String clazz)
          DOCUMENT ME!
 boolean acceptConstr(javassist.CtConstructor constr)
           
protected  boolean acceptConstr(java.lang.String[] params)
          DOCUMENT ME!
 boolean acceptImplements(javassist.CtClass clazz)
           
 boolean acceptMethod(javassist.CtMethod method)
          DOCUMENT ME!
(package private)  boolean acceptMethod(java.lang.String method, java.lang.String[] params, java.lang.String retType)
          DOCUMENT ME!
 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 org.apache.log4j.Logger log

paramsFilter

PointcutParamsFilter paramsFilter
DOCUMENT ME!

Constructor Detail

Pointcut

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

Parameters:
expr - DOCUMENT ME!
Method Detail

matchState

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

acceptClass

public boolean acceptClass(javassist.CtClass clazz)
DOCUMENT ME!

Parameters:
clazz - DOCUMENT ME!
Returns:
DOCUMENT ME!

acceptImplements

public boolean acceptImplements(javassist.CtClass clazz)

acceptClass

protected boolean acceptClass(java.lang.String clazz)
DOCUMENT ME!

Parameters:
clazz - DOCUMENT ME!
Returns:
DOCUMENT ME!

acceptMethod

public boolean acceptMethod(javassist.CtMethod method)
DOCUMENT ME!

Parameters:
method - DOCUMENT ME!
Returns:
DOCUMENT ME!

acceptMethod

boolean acceptMethod(java.lang.String method,
                     java.lang.String[] params,
                     java.lang.String retType)
DOCUMENT ME!

Parameters:
method - DOCUMENT ME!
params - DOCUMENT ME!
retType - DOCUMENT ME!
Returns:
DOCUMENT ME!

acceptConstr

public boolean acceptConstr(javassist.CtConstructor constr)

acceptConstr

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

Parameters:
params - DOCUMENT ME!
Returns:
DOCUMENT ME!

getMethodName

public java.lang.String getMethodName()
Returns:

getRetType

public java.lang.String getRetType()
Returns:


Copyright © 2004 sourceforge. All Rights Reserved.