{"action":"created","issue":{"url":"https://api.github.com/repos/mbosecke/pebble/issues/95","repository_url":"https://api.github.com/repos/mbosecke/pebble","labels_url":"https://api.github.com/repos/mbosecke/pebble/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/mbosecke/pebble/issues/95/comments","events_url":"https://api.github.com/repos/mbosecke/pebble/issues/95/events","html_url":"https://github.com/mbosecke/pebble/issues/95","id":106156939,"number":95,"title":"Calling Methods with non string parameter?","user":{"login":"Skerberus","id":10146249,"avatar_url":"https://avatars.githubusercontent.com/u/10146249?v=3","gravatar_id":"","url":"https://api.github.com/users/Skerberus","html_url":"https://github.com/Skerberus","followers_url":"https://api.github.com/users/Skerberus/followers","following_url":"https://api.github.com/users/Skerberus/following{/other_user}","gists_url":"https://api.github.com/users/Skerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/Skerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skerberus/subscriptions","organizations_url":"https://api.github.com/users/Skerberus/orgs","repos_url":"https://api.github.com/users/Skerberus/repos","events_url":"https://api.github.com/users/Skerberus/events{/privacy}","received_events_url":"https://api.github.com/users/Skerberus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-12T13:01:13Z","updated_at":"2016-02-29T06:59:50Z","closed_at":null,"body":"Afaik it is currently not possible to call a method that looks like this:\r\npublic void getAccounts(boolean removeZeroBalance)...\r\nright? As a workaround I currently have to change the method parameter to String and parse it back to boolean inside the method. Is this the only way or is there a way to call methods that have non String parameter?"},"comment":{"url":"https://api.github.com/repos/mbosecke/pebble/issues/comments/190069897","html_url":"https://github.com/mbosecke/pebble/issues/95#issuecomment-190069897","issue_url":"https://api.github.com/repos/mbosecke/pebble/issues/95","id":190069897,"user":{"login":"bjansen","id":281528,"avatar_url":"https://avatars.githubusercontent.com/u/281528?v=3","gravatar_id":"","url":"https://api.github.com/users/bjansen","html_url":"https://github.com/bjansen","followers_url":"https://api.github.com/users/bjansen/followers","following_url":"https://api.github.com/users/bjansen/following{/other_user}","gists_url":"https://api.github.com/users/bjansen/gists{/gist_id}","starred_url":"https://api.github.com/users/bjansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjansen/subscriptions","organizations_url":"https://api.github.com/users/bjansen/orgs","repos_url":"https://api.github.com/users/bjansen/repos","events_url":"https://api.github.com/users/bjansen/events{/privacy}","received_events_url":"https://api.github.com/users/bjansen/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T06:59:50Z","updated_at":"2016-02-29T06:59:50Z","body":"I tried adding `boolean` to `widen()`, and everything worked as expected. It might have other side effects, though."}}