Example usage for org.springframework.aop.aspectj AspectJExpressionPointcut getExpression

List of usage examples for org.springframework.aop.aspectj AspectJExpressionPointcut getExpression

Introduction

In this page you can find the example usage for org.springframework.aop.aspectj AspectJExpressionPointcut getExpression.

Prototype

@Override
@Nullable
public String getExpression() 

Source Link

Document

Return this pointcut's expression.

Usage

From source file:org.springframework.aop.aspectj.AspectJExpressionPointcut.java

@Override
public boolean equals(Object other) {
    if (this == other) {
        return true;
    }//from w  w w .j a v a 2s  .  c om
    if (!(other instanceof AspectJExpressionPointcut)) {
        return false;
    }
    AspectJExpressionPointcut otherPc = (AspectJExpressionPointcut) other;
    return ObjectUtils.nullSafeEquals(this.getExpression(), otherPc.getExpression())
            && ObjectUtils.nullSafeEquals(this.pointcutDeclarationScope, otherPc.pointcutDeclarationScope)
            && ObjectUtils.nullSafeEquals(this.pointcutParameterNames, otherPc.pointcutParameterNames)
            && ObjectUtils.nullSafeEquals(this.pointcutParameterTypes, otherPc.pointcutParameterTypes);
}