-
Enhancement
-
Resolution: Fixed
-
P4
-
13
-
b17
Currently, when the classfiles do not contain parameter names (neither in debug info nor in the MethodParameters attribute), the VariableElement.getSimpleName() returns a synthesized name for the parameter. The creator of the JavacTask might be able to infer a better name for the parameter, using a possibly relatively slow approaches.
The proposal here is to allow the creator of the JavacTask to supply a provider for parameter names, that would be used on demand when the name would be requested using VariableElement.getSimpleName().
The proposal here is to allow the creator of the JavacTask to supply a provider for parameter names, that would be used on demand when the name would be requested using VariableElement.getSimpleName().
- csr for
-
JDK-8217437 Provide a way to inject missing parameter names
- Closed