Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Peter Gromov
Subsystem
J2EE.Spring
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Taras Tielkes
    4 years ago (22 Sep 2007 22:53)
  • Updated by   root
    2 years ago (17 Jan 2010 20:52)
  • Jira: IDEADEV-21495
    (history, comments)
 
IDEA-41048 spring + aop: "Create method" quickfix for <aop:before> / <aop:after> creates signature with confusing parameter name
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
<aop:before method="before" pointcut-ref="myPointcut"/>

Method "before()" does not exist on the bean (referenced by containing <aop:aspect> element.
Invoking the provided "_Create Method..._" QuickFix generates a method wit the following signature:
public void before(JoinPoint pjp) throws Throwable {
}

"pjp" is more common for type "ProceedingJoinPoint" - used by "around" advice.
In this case simply "jp" would me more consistent.

Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments