Compilation fixed
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user