{"action":"created","issue":{"url":"https://api.github.com/repos/aviks/JavaCall.jl/issues/15","labels_url":"https://api.github.com/repos/aviks/JavaCall.jl/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/aviks/JavaCall.jl/issues/15/comments","events_url":"https://api.github.com/repos/aviks/JavaCall.jl/issues/15/events","html_url":"https://github.com/aviks/JavaCall.jl/pull/15","id":94829478,"number":15,"title":"Reflection API","user":{"login":"dfdx","id":428171,"avatar_url":"https://avatars.githubusercontent.com/u/428171?v=3","gravatar_id":"","url":"https://api.github.com/users/dfdx","html_url":"https://github.com/dfdx","followers_url":"https://api.github.com/users/dfdx/followers","following_url":"https://api.github.com/users/dfdx/following{/other_user}","gists_url":"https://api.github.com/users/dfdx/gists{/gist_id}","starred_url":"https://api.github.com/users/dfdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfdx/subscriptions","organizations_url":"https://api.github.com/users/dfdx/orgs","repos_url":"https://api.github.com/users/dfdx/repos","events_url":"https://api.github.com/users/dfdx/events{/privacy}","received_events_url":"https://api.github.com/users/dfdx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-13T22:51:11Z","updated_at":"2015-07-14T23:42:12Z","closed_at":"2015-07-14T23:36:55Z","pull_request":{"url":"https://api.github.com/repos/aviks/JavaCall.jl/pulls/15","html_url":"https://github.com/aviks/JavaCall.jl/pull/15","diff_url":"https://github.com/aviks/JavaCall.jl/pull/15.diff","patch_url":"https://github.com/aviks/JavaCall.jl/pull/15.patch"},"body":"Sometimes, especially when working with Scala, it turns out to be terribly hard to figure out correct method signature. This PR adds a couple of useful functions for listing and inspecting Java methods. Here's an example of usage:\r\n\r\n```\r\njulia> listmethods(JString(\"test\"))\r\n72-element Array{JavaObject{symbol(\"java.lang.reflect.Method\")},1}:\r\n boolean equals(java.lang.Object)              \r\n java.lang.String toString()                   \r\n int hashCode()                                \r\n int compareTo(java.lang.Object)               \r\n int compareTo(java.lang.String)               \r\n int indexOf(java.lang.String, int)            \r\n int indexOf(java.lang.String)                 \r\n int indexOf(int)                              \r\n int indexOf(int, int)                         \r\n java.lang.String valueOf(char)                \r\n ⋮                                             \r\n java.lang.String copyValueOf(char[])          \r\n java.lang.String copyValueOf(char[], int, int)\r\n java.lang.String intern()                     \r\n void wait(long, int)                          \r\n void wait(long)                               \r\n void wait()                                   \r\n java.lang.Class getClass()                    \r\n void notify()                                 \r\n void notifyAll()                              \r\n\r\njulia> listmethods(JString(\"test\"), \"indexOf\")\r\n4-element Array{JavaObject{symbol(\"java.lang.reflect.Method\")},1}:\r\n int indexOf(java.lang.String, int)\r\n int indexOf(java.lang.String)     \r\n int indexOf(int)                  \r\n int indexOf(int, int)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/aviks/JavaCall.jl/issues/comments/121429667","html_url":"https://github.com/aviks/JavaCall.jl/pull/15#issuecomment-121429667","issue_url":"https://api.github.com/repos/aviks/JavaCall.jl/issues/15","id":121429667,"user":{"login":"aviks","id":378918,"avatar_url":"https://avatars.githubusercontent.com/u/378918?v=3","gravatar_id":"","url":"https://api.github.com/users/aviks","html_url":"https://github.com/aviks","followers_url":"https://api.github.com/users/aviks/followers","following_url":"https://api.github.com/users/aviks/following{/other_user}","gists_url":"https://api.github.com/users/aviks/gists{/gist_id}","starred_url":"https://api.github.com/users/aviks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviks/subscriptions","organizations_url":"https://api.github.com/users/aviks/orgs","repos_url":"https://api.github.com/users/aviks/repos","events_url":"https://api.github.com/users/aviks/events{/privacy}","received_events_url":"https://api.github.com/users/aviks/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T23:42:12Z","updated_at":"2015-07-14T23:42:12Z","body":"Thanks!\r\n\r\n>Also, added Dates.jl to requirements\r\n\r\nYes, thanks, sorry about that. I have a few more fixes and tests for the date stuff pending. "}}