Any plans to support type-safe access to java.lang.Method?

Behrang Saeedzadeh behrangsa at gmail.com
Sun Jun 19 05:07:51 PDT 2011


Hi all,

Are there any plans to support type-safe access to methods?

For example something like:

   java.lang.Method toString = Object#toString();

It would make writing APIs like JPA 2's type-safe criteria builder
more concise and readable.


Cheers,
Behrang Saeedzadeh
http://www.behrang.org


More information about the jdk8-dev mailing list