Example usage for org.aspectj.weaver.patterns FastMatchInfo getKind

List of usage examples for org.aspectj.weaver.patterns FastMatchInfo getKind

Introduction

In this page you can find the example usage for org.aspectj.weaver.patterns FastMatchInfo getKind.

Prototype

public Kind getKind() 

Source Link

Document

kind can be null to indicate that all kinds should be considered.

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;
    }//w w  w  .  j  a  v  a 2  s . c  o m

    return FuzzyBoolean.MAYBE;
}