allParameterAnnotations = new AnnotationBinding[length][];
// forward reference to method, where param annotations have not yet been associated to method
if (this.declaringClass instanceof SourceTypeBinding) {
SourceTypeBinding sourceType = (SourceTypeBinding) this.declaringClass;
if (sourceType.scope != null) {
AbstractMethodDeclaration methodDecl = sourceType.scope.referenceType().declarationOf(this);
for (int i = 0; i < length; i++) {
Argument argument = methodDecl.arguments[i];
if (argument.annotations != null) {
ASTNode.resolveAnnotations(methodDecl.scope, argument.annotations, argument.binding);
allParameterAnnotations[i] = argument.binding.getAnnotations();