Example usage for org.aspectj.lang.reflect PerClauseKind PERTYPEWITHIN

List of usage examples for org.aspectj.lang.reflect PerClauseKind PERTYPEWITHIN

Introduction

In this page you can find the example usage for org.aspectj.lang.reflect PerClauseKind PERTYPEWITHIN.

Prototype

PerClauseKind PERTYPEWITHIN

To view the source code for org.aspectj.lang.reflect PerClauseKind PERTYPEWITHIN.

Click Source Link

Usage

From source file:org.springframework.aop.aspectj.annotation.AspectMetadata.java

License:Apache License

/**
 * Return whether the aspect is defined as "pertypewithin".
 *//*from ww w  . j  a  v a  2  s.c  o m*/
public boolean isPerTypeWithin() {
    PerClauseKind kind = getAjType().getPerClause().getKind();
    return (kind == PerClauseKind.PERTYPEWITHIN);
}