Example usage for org.aspectj.util FuzzyBoolean NO

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

Introduction

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

Prototype

FuzzyBoolean NO

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

Click Source Link

Usage

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

License:Open Source License

public FuzzyBoolean fastMatch(FastMatchInfo info) {
    if (info.getKind() != null) {
        if (info.getKind() != kind)
            return FuzzyBoolean.NO;
    }//from ww w  .  j  a v  a 2s.c o  m

    return FuzzyBoolean.MAYBE;
}

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);//  www . ja va 2  s.  co  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   w  w  w  .  ja va  2 s  .  com
    }
    return FuzzyBoolean.NO;
}