{"action":"created","issue":{"url":"https://api.github.com/repos/javaparser/javasymbolsolver/issues/366","repository_url":"https://api.github.com/repos/javaparser/javasymbolsolver","labels_url":"https://api.github.com/repos/javaparser/javasymbolsolver/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/javaparser/javasymbolsolver/issues/366/comments","events_url":"https://api.github.com/repos/javaparser/javasymbolsolver/issues/366/events","html_url":"https://github.com/javaparser/javasymbolsolver/issues/366","id":288081343,"node_id":"MDU6SXNzdWUyODgwODEzNDM=","number":366,"title":"UnaryExpr failing to resolve BITWISE_COMPLEMENT operator","user":{"login":"jjbr","id":32140244,"node_id":"MDQ6VXNlcjMyMTQwMjQ0","avatar_url":"https://avatars0.githubusercontent.com/u/32140244?v=4","gravatar_id":"","url":"https://api.github.com/users/jjbr","html_url":"https://github.com/jjbr","followers_url":"https://api.github.com/users/jjbr/followers","following_url":"https://api.github.com/users/jjbr/following{/other_user}","gists_url":"https://api.github.com/users/jjbr/gists{/gist_id}","starred_url":"https://api.github.com/users/jjbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjbr/subscriptions","organizations_url":"https://api.github.com/users/jjbr/orgs","repos_url":"https://api.github.com/users/jjbr/repos","events_url":"https://api.github.com/users/jjbr/events{/privacy}","received_events_url":"https://api.github.com/users/jjbr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-12T10:55:46Z","updated_at":"2018-08-18T19:11:25Z","closed_at":null,"author_association":"NONE","body":"While trying to resolve the type of an expression to which I applied the unary bitwise complement operator, an exception is thrown. In fact the TypeExtractor doesn't currently handle bitwise complement. See: https://github.com/javaparser/javasymbolsolver/blob/678dce3c4df8fd8646164d731f0557b0d7f31ca1/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/TypeExtractor.java#L337-L352\r\n\r\nOne can simply test this with e.g.:\r\n`int i = 1;\r\nint j = ~i;`\r\n\r\nIs this per design or was something perhaps forgotten to be handled? "},"comment":{"url":"https://api.github.com/repos/javaparser/javasymbolsolver/issues/comments/414080207","html_url":"https://github.com/javaparser/javasymbolsolver/issues/366#issuecomment-414080207","issue_url":"https://api.github.com/repos/javaparser/javasymbolsolver/issues/366","id":414080207,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA4MDIwNw==","user":{"login":"matozoid","id":55701,"node_id":"MDQ6VXNlcjU1NzAx","avatar_url":"https://avatars3.githubusercontent.com/u/55701?v=4","gravatar_id":"","url":"https://api.github.com/users/matozoid","html_url":"https://github.com/matozoid","followers_url":"https://api.github.com/users/matozoid/followers","following_url":"https://api.github.com/users/matozoid/following{/other_user}","gists_url":"https://api.github.com/users/matozoid/gists{/gist_id}","starred_url":"https://api.github.com/users/matozoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matozoid/subscriptions","organizations_url":"https://api.github.com/users/matozoid/orgs","repos_url":"https://api.github.com/users/matozoid/repos","events_url":"https://api.github.com/users/matozoid/events{/privacy}","received_events_url":"https://api.github.com/users/matozoid/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T19:11:25Z","updated_at":"2018-08-18T19:11:25Z","author_association":"MEMBER","body":"Moved to new project location"}}
{"actor":{"display_login":"matozoid"}}