View | Details | Raw Unified | Return to bug 99469
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java (-2 / +2 lines)
Lines 72-78 Link Here
72
72
73
	public abstract void analyseCode(ClassScope classScope, InitializationFlowContext initializationContext, FlowInfo info);
73
	public abstract void analyseCode(ClassScope classScope, InitializationFlowContext initializationContext, FlowInfo info);
74
74
75
		/**
75
	/**
76
	 * Bind and add argument's binding into the scope of the method
76
	 * Bind and add argument's binding into the scope of the method
77
	 */
77
	 */
78
	public void bindArguments() {
78
	public void bindArguments() {
Lines 86-92 Link Here
86
				TypeBinding argType = this.binding == null ? null : this.binding.parameters[i];
86
				TypeBinding argType = this.binding == null ? null : this.binding.parameters[i];
87
				Argument argument = this.arguments[i];
87
				Argument argument = this.arguments[i];
88
				argument.bind(this.scope, argType, used);
88
				argument.bind(this.scope, argType, used);
89
				if (argument.annotations != null) {
89
				if (argument.annotations != null && argType != null) {
90
					this.binding.tagBits |= TagBits.HasParameterAnnotations;
90
					this.binding.tagBits |= TagBits.HasParameterAnnotations;
91
				}
91
				}
92
			}
92
			}

Return to bug 99469