Inspectopedia Help

AOP

Advice parameters (argNames, returning, throwing) consistency check   New in this release

Reports if an @AspectJ argNames attribute value does not correspond to the actual method parameter name.

Around advice style inspection   New in this release

When using @Around advice, remember two things: Calling org.aspectj.lang.ProceedingJoinPoint#proceed is necessary, otherwise the call won't reach the target.

Introductions (declare parents) errors   New in this release

Reports @AspectJ Introduction inconsistency: it checks whether the defaultImpl is required and if yes, whether it implements the given interface.

Pointcut expression errors   New in this release

Reports issues in AOP pointcut expressions.

Pointcut method style   New in this release

Validates @Pointcut methods: the void return type, no throws clause, and an empty method body.

Warning: argNames not defined   New in this release

Reports if an argNames attribute is not defined in an @AspectJ annotation.

Last modified: 11 September 2024