1 11 package org.eclipse.jdt.internal.compiler.lookup; 12 13 import org.eclipse.jdt.core.compiler.CharOperation; 14 15 public class ProblemBinding extends Binding { 16 public char[] name; 17 public ReferenceBinding searchType; 18 private int problemId; 19 21 public ProblemBinding(char[][] compoundName, int problemId) { 22 this(CharOperation.concatWith(compoundName, '.'), problemId); 23 } 24 26 public ProblemBinding(char[][] compoundName, ReferenceBinding searchType, int problemId) { 27 this(CharOperation.concatWith(compoundName, '.'), searchType, problemId); 28 } 29 ProblemBinding(char[] name, int problemId) { 30 this.name = name; 31 this.problemId = problemId; 32 } 33 ProblemBinding(char[] name, ReferenceBinding searchType, int problemId) { 34 this(name, problemId); 35 this.searchType = searchType; 36 } 37 40 41 public final int kind() { 42 return VARIABLE | TYPE; 43 } 44 48 49 public final int problemId() { 50 return problemId; 51 } 52 public char[] readableName() { 53 return name; 54 } 55 } 56 | Popular Tags |