getMethod() in Processing
in
Programming Questions
•
3 years ago
Hi there
Are there any possibilities to get it to work the getMethod("name") function in Processing?
While getClass() does work, it looks like getMethod throw always an exception.
My simple code:
- MyClass cls = new MyClass();
- println( cls.getClass().getMethod("mymethod") );
- public class MyClass
- {
- MyClass()
- {
- }
- public void mymethod()
- {
- }
- }
Any suggestions?
Thanks
Fabio
1
