|
|
@ -503,6 +503,12 @@ public class MethodParameter { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public Annotation[] getParameterAnnotations() { |
|
|
|
public Annotation[] getParameterAnnotations() { |
|
|
|
Annotation[] paramAnns = this.parameterAnnotations; |
|
|
|
Annotation[] paramAnns = this.parameterAnnotations; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// https://work.fineres.com/browse/DEC-20671 IBM WebSphere OpenJ9 JDK
|
|
|
|
|
|
|
|
if (this.method != null) { |
|
|
|
|
|
|
|
this.method.getDeclaredAnnotations(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (paramAnns == null) { |
|
|
|
if (paramAnns == null) { |
|
|
|
Annotation[][] annotationArray = (this.method != null ? |
|
|
|
Annotation[][] annotationArray = (this.method != null ? |
|
|
|
this.method.getParameterAnnotations() : this.constructor.getParameterAnnotations()); |
|
|
|
this.method.getParameterAnnotations() : this.constructor.getParameterAnnotations()); |
|
|
|