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

(-)codeassist/org/eclipse/jdt/internal/codeassist/InternalCompletionProposal.java (-6 / +1 lines)
Lines 96-107 Link Here
96
			// TODO (david) shouldn't it be NameLookup.ACCEPT_ALL ?
96
			// TODO (david) shouldn't it be NameLookup.ACCEPT_ALL ?
97
			type = this.nameLookup.findType(new String(tName), false, NameLookup.ACCEPT_CLASSES & NameLookup.ACCEPT_INTERFACES);
97
			type = this.nameLookup.findType(new String(tName), false, NameLookup.ACCEPT_CLASSES & NameLookup.ACCEPT_INTERFACES);
98
			if(type instanceof BinaryType){
98
			if(type instanceof BinaryType){
99
				if(((BinaryType)type).getSourceMapper() != null) {
99
				this.completionEngine.typeCache.put(tName, type);
100
					this.completionEngine.typeCache.put(tName, type);
101
				} else {
102
					this.completionEngine.typeCache.put(tName, NO_ATTACHED_SOURCE);
103
					type = null;
104
				}
105
			} else {
100
			} else {
106
				type = null;
101
				type = null;
107
			}
102
			}

Return to bug 98154