JDR: do not create package fragment for class statics if class cannot be resolved

This keeps behaviour consistent in rare cases when JavaClass can be found but not resolved
As of now this can happen in IDE if we take PsiClass from index but file structure is wrong so we can't resolve the class
Add test which documents this case
This commit is contained in:
Pavel V. Talanov
2014-02-11 15:05:25 +04:00
parent 4501adf5f1
commit 4a3ccc4eac
9 changed files with 109 additions and 1 deletions
@@ -0,0 +1,4 @@
package wrong;
public class SimpleClass {
}