org.codehaus.aspectwerkz.definition.expression
Class ThrowsExpression

java.lang.Object
  extended byorg.codehaus.aspectwerkz.definition.expression.Expression
      extended byorg.codehaus.aspectwerkz.definition.expression.LeafExpression
          extended byorg.codehaus.aspectwerkz.definition.expression.ThrowsExpression
All Implemented Interfaces:
java.io.Serializable

public class ThrowsExpression
extends LeafExpression

Author:
Jonas Bonér, Alexandre Vasseur
See Also:
Serialized Form

Method Summary
 boolean match(ClassMetaData classMetaData, MemberMetaData memberMetaData)
          Matches the leaf-node pattern.
 boolean match(ClassMetaData classMetaData, MemberMetaData memberMetaData, java.lang.String exceptionType)
          Matches the leaf-node pattern.
 
Methods inherited from class org.codehaus.aspectwerkz.definition.expression.LeafExpression
getCflowExpressions, isHierarchical, isHierarchicalCallee, match, matchInOrNotIn, matchInOrNotIn
 
Methods inherited from class org.codehaus.aspectwerkz.definition.expression.Expression
getExpression, getName, getNamespace, getType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

match

public boolean match(ClassMetaData classMetaData,
                     MemberMetaData memberMetaData)
Matches the leaf-node pattern.

Specified by:
match in class Expression
Parameters:
classMetaData - the class meta-data
memberMetaData - the meta-data for the member
Returns:
boolean

match

public boolean match(ClassMetaData classMetaData,
                     MemberMetaData memberMetaData,
                     java.lang.String exceptionType)
Matches the leaf-node pattern.

Overrides:
match in class LeafExpression
Parameters:
classMetaData - the class meta-data
memberMetaData - the meta-data for the member
exceptionType - the exception type
Returns:
boolean


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.