Example usage for org.aspectj.util FuzzyBoolean YES

List of usage examples for org.aspectj.util FuzzyBoolean YES

Introduction

In this page you can find the example usage for org.aspectj.util FuzzyBoolean YES.

Prototype

FuzzyBoolean YES

To view the source code for org.aspectj.util FuzzyBoolean YES.

Click Source Link

Usage

From source file:org.caesarj.compiler.aspectj.CaesarKindedPointcut.java

License:Open Source License

public FuzzyBoolean match(Shadow shadow) {
    if (shadow.getKind() != kind)
        return FuzzyBoolean.NO;

    if (!signature.matches(shadow.getSignature(), shadow.getIWorld())) {
        if (kind == Shadow.MethodCall) {
            warnOnConfusingSig(shadow);//from  w  w w.  j  ava2 s  . c  o  m
        }
        return FuzzyBoolean.NO;
    }

    return FuzzyBoolean.YES;
}

From source file:org.caesarj.compiler.aspectj.CaesarKindedPointcut.java

License:Open Source License

public FuzzyBoolean match(JoinPoint.StaticPart jpsp) {
    if (jpsp.getKind().equals(kind.getName())) {
        if (signature.matches(jpsp)) {
            return FuzzyBoolean.YES;
        }//from   ww w.  jav a2  s.c  o  m
    }
    return FuzzyBoolean.NO;
}