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; package jet.typeinfo;
import org.jetbrains.annotations.NotNull;
/** /**
* @author alex.tkachman * @author alex.tkachman
*/ */
public interface TypeInfoProjection { public interface TypeInfoProjection {
@NotNull
TypeInfoVariance getVariance(); TypeInfoVariance getVariance();
@NotNull
TypeInfo getType(); TypeInfo getType();
abstract class TypeInfoProjectionImpl implements TypeInfoProjection { abstract class TypeInfoProjectionImpl implements TypeInfoProjection {
@NotNull private final TypeInfo type; private final TypeInfo type;
TypeInfoProjectionImpl(@NotNull TypeInfo typeInfo) { TypeInfoProjectionImpl(TypeInfo typeInfo) {
this.type = typeInfo; this.type = typeInfo;
} }
@Override @Override
@NotNull
public final TypeInfo getType() { public final TypeInfo getType() {
return type; return type;
} }