{"action":"created","issue":{"url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/144","labels_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/144/comments","events_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/144/events","html_url":"https://github.com/artur-shaik/vim-javacomplete2/issues/144","id":118826607,"number":144,"title":"Intelligent Output of completion","user":{"login":"wsdjeg","id":13142418,"avatar_url":"https://avatars.githubusercontent.com/u/13142418?v=3","gravatar_id":"","url":"https://api.github.com/users/wsdjeg","html_url":"https://github.com/wsdjeg","followers_url":"https://api.github.com/users/wsdjeg/followers","following_url":"https://api.github.com/users/wsdjeg/following{/other_user}","gists_url":"https://api.github.com/users/wsdjeg/gists{/gist_id}","starred_url":"https://api.github.com/users/wsdjeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsdjeg/subscriptions","organizations_url":"https://api.github.com/users/wsdjeg/orgs","repos_url":"https://api.github.com/users/wsdjeg/repos","events_url":"https://api.github.com/users/wsdjeg/events{/privacy}","received_events_url":"https://api.github.com/users/wsdjeg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-11-25T12:29:35Z","updated_at":"2015-11-26T23:23:06Z","closed_at":null,"body":"### **maybe it is better split these two features,`import` and `import static`,because there no need to do something for `auto import static` ,because IDE has no feature like this!**\r\n#### completion after `import static`,end of this statement must be static!\r\nhere is my example class which has been compiled with no error! in this class there are two error line has been annotated.\r\n\r\n![2015-11-25 20-17-58](https://cloud.githubusercontent.com/assets/13142418/11397116/e9d375fa-93b1-11e5-9160-7ebe3cfde497.png)\r\n\r\nin another class these should be complete:\r\n* static nested class, if end with outer class or non-static nested class ,it will get compile error!\r\n    * end with outer class\r\n![end_with_outer_class](https://cloud.githubusercontent.com/assets/13142418/11396873/df9aa808-93af-11e5-8d1d-7983955e416f.png)\r\n    * end with inner class (which is also called non-static nested class)\r\n![2015-11-25 20-11-26](https://cloud.githubusercontent.com/assets/13142418/11396975/d3758100-93b0-11e5-8775-ce5a96554d08.png)\r\n\r\n\r\n* static methods add fields of both outer class and static nested class(non-static nested class has no static method!)\r\n **conclusion** Inner class shoud be delete from import static,also static members of static nesed class should be add to import static!\r\n\r\n### completion after import ,end of this statement must be a class or interface!\r\nsame example as above:\r\nafter import these should be complete:\r\n* outer class interface and so on\r\n* Innerclass and static nested class nested interface\r\nbecause this will be compiled,and has no error!\r\n\r\n**conclusion**  `import`statement should be able use `auto import` these is diff from `import static`\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/comments/160004138","html_url":"https://github.com/artur-shaik/vim-javacomplete2/issues/144#issuecomment-160004138","issue_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/144","id":160004138,"user":{"login":"wsdjeg","id":13142418,"avatar_url":"https://avatars.githubusercontent.com/u/13142418?v=3","gravatar_id":"","url":"https://api.github.com/users/wsdjeg","html_url":"https://github.com/wsdjeg","followers_url":"https://api.github.com/users/wsdjeg/followers","following_url":"https://api.github.com/users/wsdjeg/following{/other_user}","gists_url":"https://api.github.com/users/wsdjeg/gists{/gist_id}","starred_url":"https://api.github.com/users/wsdjeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsdjeg/subscriptions","organizations_url":"https://api.github.com/users/wsdjeg/orgs","repos_url":"https://api.github.com/users/wsdjeg/repos","events_url":"https://api.github.com/users/wsdjeg/events{/privacy}","received_events_url":"https://api.github.com/users/wsdjeg/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T23:23:06Z","updated_at":"2015-11-26T23:23:06Z","body":"no need to set anything,it is jc2 feature ,auto add maven output dir into classpath,it contains com.wsdjeg.helloworld.R.class.i do not add R.java.because R.java and R.class were created at same time,and will not be edite mannuly.\r\nfor example\r\nmy maven outputdir is /path/to/project/target/classes\r\nR.class is here path/to/project/target/classes/com/wsdjeg/helloworld/R.class\r\nmy "}}