Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test whether a method is defined #7533

Closed
scabug opened this issue May 30, 2013 · 3 comments
Closed

Test whether a method is defined #7533

scabug opened this issue May 30, 2013 · 3 comments

Comments

@scabug
Copy link

scabug commented May 30, 2013

It would be convenient to know whether a method is defined or not, ie if they have an implementation or not ? It could be added to the methods of MethodSymbol in the reflection api:
def isDefined: Boolean

cf the post and the answer of Eugene Burmako on stackoverflow:
http://stackoverflow.com/questions/16792824/test-whether-a-method-is-defined

@scabug
Copy link
Author

scabug commented May 30, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7533?orig=1
Reporter: mathieu leclaire (mamat)
Affected Versions: 2.10.0

@scabug
Copy link
Author

scabug commented May 30, 2013

@xeno-by said:
scala/scala#2612

@scabug
Copy link
Author

scabug commented Feb 1, 2014

@xeno-by said:
scala/scala#3452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants