Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Peter Gromov
Subsystem
Code Analysis. Inspection
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Dimitar Dimitrov
    3 years ago (05 Nov 2008 09:39)
  • Updated by   root
    2 years ago (17 Jan 2010 21:08)
  • Jira: IDEADEV-32438
    (history, comments)
 
IDEA-46459 @AspectJ If() pointcuts are flagged as error by IDEA
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
The following code raises error by Pointcut Method Style inspection:

@Pointcut("if()")
public static boolean edt() {
    return SwingUtilities.isEventDispatchThread();
}


The code works fine and is correct according to:
http://www.eclipse.org/aspectj/doc/released/adk15notebook/printable.html#d0e3713

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