KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > lookup > ProblemReasons


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.compiler.lookup;
12
13 public interface ProblemReasons {
14     final int NoError = 0;
15     final int NotFound = 1;
16     final int NotVisible = 2;
17     final int Ambiguous = 3;
18     final int InternalNameProvided = 4; // used if an internal name is used in source
19
final int InheritedNameHidesEnclosingName = 5;
20     final int NonStaticReferenceInConstructorInvocation = 6;
21     final int NonStaticReferenceInStaticContext = 7;
22     final int ReceiverTypeNotVisible = 8;
23     final int IllegalSuperTypeVariable = 9;
24     final int ParameterBoundMismatch = 10; // for generic method
25
final int TypeParameterArityMismatch = 11; // for generic method
26
final int ParameterizedMethodTypeMismatch = 12; // for generic method
27
final int TypeArgumentsForRawGenericMethod = 13; // for generic method
28
final int InvalidTypeForStaticImport = 14;
29 }
30
Popular Tags