Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-04-01 19:56:59 +0000
committerStephan Herrmann2010-04-01 19:56:59 +0000
commit7b7062f3b12bba7ef33116efb94da1f54e069625 (patch)
tree953104b5ab329138aac4d340fb014e321cd658a2 /org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ProblemReasons.java
parentb41f944c832b588bb998e321bf7fd9a4e1c62c08 (diff)
downloadorg.eclipse.objectteams-7b7062f3b12bba7ef33116efb94da1f54e069625.tar.gz
org.eclipse.objectteams-7b7062f3b12bba7ef33116efb94da1f54e069625.tar.xz
org.eclipse.objectteams-7b7062f3b12bba7ef33116efb94da1f54e069625.zip
initial commit in accordance with CQ 3784
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ProblemReasons.java')
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ProblemReasons.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ProblemReasons.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ProblemReasons.java
new file mode 100644
index 000000000..dc8110362
--- /dev/null
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ProblemReasons.java
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * $Id: ProblemReasons.java 19873 2009-04-13 16:51:05Z stephan $
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Fraunhofer FIRST - extended API and implementation
+ * Technical University Berlin - extended API and implementation
+ *******************************************************************************/
+package org.eclipse.jdt.internal.compiler.lookup;
+
+public interface ProblemReasons {
+ final int NoError = 0;
+ final int NotFound = 1;
+ final int NotVisible = 2;
+ final int Ambiguous = 3;
+ final int InternalNameProvided = 4; // used if an internal name is used in source
+ final int InheritedNameHidesEnclosingName = 5;
+ final int NonStaticReferenceInConstructorInvocation = 6;
+ final int NonStaticReferenceInStaticContext = 7;
+ final int ReceiverTypeNotVisible = 8;
+ final int IllegalSuperTypeVariable = 9;
+ final int ParameterBoundMismatch = 10; // for generic method
+ final int TypeParameterArityMismatch = 11; // for generic method
+ final int ParameterizedMethodTypeMismatch = 12; // for generic method
+ final int TypeArgumentsForRawGenericMethod = 13; // for generic method
+ final int InvalidTypeForStaticImport = 14;
+//{ObjectTeams;
+ final int NoTeamContext = 15;
+ final int AnchorNotFinal = 16;
+ final int AnchorNotATeam = 17;
+ final int AnchorNotFound = 18;
+ final int ProblemAlreadyReported = 19;
+// SH}
+}

Back to the top