Compilation fixed

This commit is contained in:
Andrey Breslav
2011-09-06 12:33:47 +04:00
parent ef31701a5d
commit 76423e7cf6
@@ -1,26 +1,21 @@
package jet.typeinfo;
import org.jetbrains.annotations.NotNull;
/**
* @author alex.tkachman
*/
public interface TypeInfoProjection {
@NotNull
TypeInfoVariance getVariance();
@NotNull
TypeInfo getType();
abstract class TypeInfoProjectionImpl implements TypeInfoProjection {
@NotNull private final TypeInfo type;
private final TypeInfo type;
TypeInfoProjectionImpl(@NotNull TypeInfo typeInfo) {
TypeInfoProjectionImpl(TypeInfo typeInfo) {
this.type = typeInfo;
}
@Override
@NotNull
public final TypeInfo getType() {
return type;
}