X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Feclipse%2Fjdt%2Finternal%2Fcompiler%2Flookup%2FProblemBinding.java;fp=src%2Forg%2Feclipse%2Fjdt%2Finternal%2Fcompiler%2Flookup%2FProblemBinding.java;h=0000000000000000000000000000000000000000;hb=6f0cd02d46e011bd5599e1b7fefc6159cb811135;hp=c4fab5f0fda589b96a92474ffad3169b63501bdb;hpb=622d0e5a4b1b35b6918a516a79a0cc22272a919e;p=org.ibex.tool.git diff --git a/src/org/eclipse/jdt/internal/compiler/lookup/ProblemBinding.java b/src/org/eclipse/jdt/internal/compiler/lookup/ProblemBinding.java deleted file mode 100644 index c4fab5f..0000000 --- a/src/org/eclipse/jdt/internal/compiler/lookup/ProblemBinding.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jdt.internal.compiler.lookup; - -import org.eclipse.jdt.core.compiler.CharOperation; - -public class ProblemBinding extends Binding { - public char[] name; - public ReferenceBinding searchType; - private int problemId; -// NOTE: must only answer the subset of the name related to the problem - -public ProblemBinding(char[][] compoundName, int problemId) { - this(CharOperation.concatWith(compoundName, '.'), problemId); -} -// NOTE: must only answer the subset of the name related to the problem - -public ProblemBinding(char[][] compoundName, ReferenceBinding searchType, int problemId) { - this(CharOperation.concatWith(compoundName, '.'), searchType, problemId); -} -ProblemBinding(char[] name, int problemId) { - this.name = name; - this.problemId = problemId; -} -ProblemBinding(char[] name, ReferenceBinding searchType, int problemId) { - this(name, problemId); - this.searchType = searchType; -} -/* API -* Answer the receiver's binding type from Binding.BindingID. -*/ - -public final int bindingType() { - return VARIABLE | TYPE; -} -/* API -* Answer the problem id associated with the receiver. -* NoError if the receiver is a valid binding. -*/ - -public final int problemId() { - return problemId; -} -public char[] readableName() { - return name; -} -}