Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 279715 | Differences between
and this patch

Collapse All | Expand All

(-)core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java (-1 / +1 lines)
Lines 450-456 Link Here
450
450
451
    	ASTNode parent= location.getParent();
451
    	ASTNode parent= location.getParent();
452
    	StructuralPropertyDescriptor locationInParent= location.getLocationInParent();
452
    	StructuralPropertyDescriptor locationInParent= location.getLocationInParent();
453
		if (locationInParent instanceof ChildListPropertyDescriptor) {
453
		if (locationInParent instanceof ChildListPropertyDescriptor && locationInParent != InfixExpression.EXTENDED_OPERANDS_PROPERTY) {
454
			// e.g. argument lists of MethodInvocation, ClassInstanceCreation, ...
454
			// e.g. argument lists of MethodInvocation, ClassInstanceCreation, ...
455
   			return false;
455
   			return false;
456
    	} else if (locationInParent == VariableDeclarationFragment.INITIALIZER_PROPERTY) {
456
    	} else if (locationInParent == VariableDeclarationFragment.INITIALIZER_PROPERTY) {

Return to bug 279715