Hi all,

the Parameter class introduced in Java 8 seems to return "arg0" for a call to 
getName(), even if the parameter name is not available in the bytecode. This 
makes it impossible to discover parameter names not being present in the 
bytecode and potentially taking further action in case names cannot be 
resolved. Does it make sense to return an Optional<String> to indicate this 
case?

Will parameter names be available for interface methods as well? Currently they 
cannot be resolved.

Cheers,
Ollie

-- 
/**
 * @author Oliver Gierke - Senior Member Technical Staff
 *
 * @param email [email protected]
 * @param phone +49-151-50465477
 * @param fax   +49-351-418898439
 * @param skype einsdreizehn
 * @see http://www.olivergierke.de
 */

Reply via email to