History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-13144
Type: Bug Bug
Status: Open Open
Assignee: Dmitry Jemerov
Reporter: Alexander Strotzky
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Live templates: variableOfType not working correctly within an inner class

Created: 06 Jun 07 23:05   Updated: 17 Aug 07 13:17
Component/s: Editor. Code Completion

File Attachments: 1. Zip Archive livetemplatebug.zip (367 kb)
2. XML File log4j.xml (0.8 kb)

Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-14349 variableOfType fails inside a method ... Resolved

Build: 6,981
Severity: Medium


 Description  « Hide
variableOfType("org.apache.log4j.Logger") doesn't "see" an (accessible) field of that type if the it's invoked in an inner class within the class that contains the field.
I attached a sample project which should make it clear.
The log4j.xml contains the live template I talk about in the project (logd).

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.