01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.compiler.lookup;
11:
12: public interface ProblemReasons {
13: final int NoError = 0;
14: final int NotFound = 1;
15: final int NotVisible = 2;
16: final int Ambiguous = 3;
17: final int InternalNameProvided = 4; // used if an internal name is used in source
18: final int InheritedNameHidesEnclosingName = 5;
19: final int NonStaticReferenceInConstructorInvocation = 6;
20: final int NonStaticReferenceInStaticContext = 7;
21: final int ReceiverTypeNotVisible = 8;
22: final int IllegalSuperTypeVariable = 9;
23: final int ParameterBoundMismatch = 10; // for generic method
24: final int TypeParameterArityMismatch = 11; // for generic method
25: final int ParameterizedMethodTypeMismatch = 12; // for generic method
26: final int TypeArgumentsForRawGenericMethod = 13; // for generic method
27: final int InvalidTypeForStaticImport = 14;
28: }
|