Index: compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java,v retrieving revision 1.79 diff -u -r1.79 AbstractMethodDeclaration.java --- compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java 1 Apr 2005 10:09:10 -0000 1.79 +++ compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java 10 Jun 2005 20:36:43 -0000 @@ -72,7 +72,7 @@ public abstract void analyseCode(ClassScope classScope, InitializationFlowContext initializationContext, FlowInfo info); - /** + /** * Bind and add argument's binding into the scope of the method */ public void bindArguments() { @@ -86,7 +86,7 @@ TypeBinding argType = this.binding == null ? null : this.binding.parameters[i]; Argument argument = this.arguments[i]; argument.bind(this.scope, argType, used); - if (argument.annotations != null) { + if (argument.annotations != null && argType != null) { this.binding.tagBits |= TagBits.HasParameterAnnotations; } }