Compilation fixed

This commit is contained in:
Andrey Breslav
2011-09-06 12:27:14 +04:00
parent 2c25a0e46a
commit ef31701a5d
2 changed files with 4 additions and 6 deletions
+4 -5
View File
@@ -1,7 +1,6 @@
package jet.typeinfo;
import jet.JetObject;
import org.jetbrains.annotations.NotNull;
import java.lang.reflect.Field;
import java.util.Arrays;
@@ -44,7 +43,7 @@ public abstract class TypeInfo<T> implements JetObject {
public static <T> TypeInfoProjection inProjection(TypeInfo<T> typeInfo) {
return new TypeInfoProjection.TypeInfoProjectionImpl(typeInfo) {
@NotNull
// @NotNull
@Override
public TypeInfoVariance getVariance() {
return TypeInfoVariance.IN_VARIANCE;
@@ -54,7 +53,7 @@ public abstract class TypeInfo<T> implements JetObject {
public static <T> TypeInfoProjection outProjection(TypeInfo<T> typeInfo) {
return new TypeInfoProjection.TypeInfoProjectionImpl(typeInfo) {
@NotNull
// @NotNull
@Override
public TypeInfoVariance getVariance() {
return TypeInfoVariance.OUT_VARIANCE;
@@ -171,13 +170,13 @@ public abstract class TypeInfo<T> implements JetObject {
super(klazz, nullable, projections);
}
@NotNull
// @NotNull
@Override
public TypeInfoVariance getVariance() {
return TypeInfoVariance.INVARIANT;
}
@NotNull
// @NotNull
@Override
public TypeInfo getType() {
return this;
-1
View File
@@ -7,7 +7,6 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="annotations" level="project" />
</component>
</module>