{"action":"opened","issue":{"url":"https://api.github.com/repos/aws/aws-toolkit-jetbrains/issues/307","repository_url":"https://api.github.com/repos/aws/aws-toolkit-jetbrains","labels_url":"https://api.github.com/repos/aws/aws-toolkit-jetbrains/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-toolkit-jetbrains/issues/307/comments","events_url":"https://api.github.com/repos/aws/aws-toolkit-jetbrains/issues/307/events","html_url":"https://github.com/aws/aws-toolkit-jetbrains/issues/307","id":371255245,"node_id":"MDU6SXNzdWUzNzEyNTUyNDU=","number":307,"title":"Add tests for JavaLambdaHandlerResolver#determineHandler","user":{"login":"abrooksv","id":8992246,"node_id":"MDQ6VXNlcjg5OTIyNDY=","avatar_url":"https://avatars1.githubusercontent.com/u/8992246?v=4","gravatar_id":"","url":"https://api.github.com/users/abrooksv","html_url":"https://github.com/abrooksv","followers_url":"https://api.github.com/users/abrooksv/followers","following_url":"https://api.github.com/users/abrooksv/following{/other_user}","gists_url":"https://api.github.com/users/abrooksv/gists{/gist_id}","starred_url":"https://api.github.com/users/abrooksv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrooksv/subscriptions","organizations_url":"https://api.github.com/users/abrooksv/orgs","repos_url":"https://api.github.com/users/abrooksv/repos","events_url":"https://api.github.com/users/abrooksv/events{/privacy}","received_events_url":"https://api.github.com/users/abrooksv/received_events","type":"User","site_admin":false},"labels":[{"id":606521662,"node_id":"MDU6TGFiZWw2MDY1MjE2NjI=","url":"https://api.github.com/repos/aws/aws-toolkit-jetbrains/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-17T20:32:31Z","updated_at":"2018-10-17T20:32:31Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Describe the bug**\r\nWe do not handle all the cases going from PsiElement -> Handler, like we do going from Handler -> PsiElement\r\n\r\n**To reproduce**\r\nGiven \r\n```\r\npackage com.example;\r\n\r\nimport com.amazonaws.services.lambda.runtime.Context;\r\n\r\npublic abstract class AbstractHandler {\r\n    public void handleRequest(InputStream input, OutputStream output, Context context) { }\r\n\r\n    protected abstract void internalHandle();\r\n}\r\n\r\npackage com.example;\r\n\r\nimport com.amazonaws.services.lambda.runtime.Context;\r\nimport java.io.InputStream;\r\nimport java.io.OutputStream;\r\n\r\npublic class ConcreteHandler extends AbstractHandler {\r\n    @Override\r\n    protected  void internalHandle() { }\r\n}\r\n```\r\n\r\n**Expected behavior**\r\n`com.exmaple.ConcreteHandler::handleRequest` should be valid.\r\n"}}
{"actor":{"display_login":"abrooksv"}}