import eclipse 3.1 M4 compiler
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / lookup / Substitution.java
  *******************************************************************************/
 package org.eclipse.jdt.internal.compiler.lookup;
 
-public interface BindingIds {
-       final int FIELD = 1;
-       final int LOCAL = 2;
-       final int VARIABLE = FIELD | LOCAL;
-       final int TYPE = 4;
-       final int METHOD = 8;
-       final int PACKAGE = 16;
-       final int IMPORT = 32;
+/*
+ * Encapsulates aspects related to type variable substitution
+ */
+public interface Substitution {
+    
+       /**
+        * Returns the type substitute for a given type, or itself
+        * if no substitution got performed.
+        */
+       TypeBinding substitute(TypeBinding originalType);
 }