1 11 package org.eclipse.jdt.internal.compiler.lookup; 12 13 import org.eclipse.jdt.core.compiler.CharOperation; 14 import org.eclipse.jdt.internal.compiler.ast.ImportReference; 15 16 public class ImportConflictBinding extends ImportBinding { 17 public ReferenceBinding conflictingTypeBinding; 19 public ImportConflictBinding(char[][] compoundName, Binding methodBinding, ReferenceBinding conflictingTypeBinding, ImportReference reference) { 20 super(compoundName, false, methodBinding, reference); 21 this.conflictingTypeBinding = conflictingTypeBinding; 22 } 23 public char[] readableName() { 24 return CharOperation.concatWith(compoundName, '.'); 25 } 26 public String toString() { 27 return "method import : " + new String (readableName()); } 29 } 30 | Popular Tags |