|
@@ -121,19 +121,4 @@ public interface ISTextTypeSystem extends ITypeSystem {
|
|
|
|
|
|
public boolean isStringType(Type type);
|
|
|
|
|
|
- /**
|
|
|
- * Infer a type for a given literal. The literal may represent a primitive
|
|
|
- * value (primitive type literal) or an instance specification (complex type
|
|
|
- * literal).
|
|
|
- *
|
|
|
- * @param literal
|
|
|
- * The literal for which to infer a type
|
|
|
- * @return An {@link InferenceResult} containing the {@link InferredType}
|
|
|
- * for the literal (or <code>null</code> in case no type could be
|
|
|
- * inferred) and potential {@link InferenceIssue}s that occurred
|
|
|
- * during the type inference. The result may also contain both, an
|
|
|
- * inferred type and issues.
|
|
|
- */
|
|
|
- public InferenceResult inferTypeForLiteral(Object literal);
|
|
|
-
|
|
|
}
|