Java: Check if a given method name exist in compile time

Posted by Tom Brito on Stack Overflow See other posts from Stack Overflow or by Tom Brito
Published on 2010-04-09T13:27:05Z Indexed on 2010/04/09 13:33 UTC
Read the original article Hit count: 323

Filed under:
|
|

I'm developing a frameword for handle Actions from Java Swing components; I would like to know if there is a way of checking if a given method name (that will be accessed by reflections) exists in compile time, and show a compiler error if not?

© Stack Overflow or respective owner

Related posts about java

Related posts about compiler