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

(-)compiler/org/eclipse/jdt/internal/compiler/ast/ParameterizedQualifiedTypeReference.java (-4 / +1 lines)
Lines 56-65 Link Here
56
		}
56
		}
57
	}
57
	}
58
	public TypeReference copyDims(int dim){
58
	public TypeReference copyDims(int dim){
59
		//return a type reference copy of me with some dimensions
59
		return new ParameterizedQualifiedTypeReference(this.tokens, this.typeArguments, dim, this.sourcePositions);
60
		//warning : the new type ref has a null binding
61
		this.dimensions = dim;
62
		return this;
63
	}	
60
	}	
64
	
61
	
65
	/**
62
	/**
(-)compiler/org/eclipse/jdt/internal/compiler/ast/ParameterizedSingleTypeReference.java (-2 / +1 lines)
Lines 45-52 Link Here
45
	 * @see org.eclipse.jdt.internal.compiler.ast.TypeReference#copyDims(int)
45
	 * @see org.eclipse.jdt.internal.compiler.ast.TypeReference#copyDims(int)
46
	 */
46
	 */
47
	public TypeReference copyDims(int dim) {
47
	public TypeReference copyDims(int dim) {
48
		this.dimensions = dim;
48
		return new ParameterizedSingleTypeReference(token, typeArguments, dim, (((long)sourceStart)<<32)+sourceEnd);
49
		return this;
50
	}
49
	}
51
50
52
	/**
51
	/**

Return to bug 105635