safer PropertyDescriptor.getOutType()

Add @NotNull annotation because getOutType must not return null for PropertyDescriptor
This commit is contained in:
Stepan Koltsov
2011-11-30 02:42:56 +04:00
parent e9a9562efa
commit 60214b4f59
@@ -118,6 +118,16 @@ public class PropertyDescriptor extends VariableDescriptorImpl implements Callab
return getOutType();
}
@Override
public JetType getInType() {
return super.getInType();
}
@Override
@NotNull
public JetType getOutType() {
return super.getOutType();
}
public boolean isVar() {
return isVar;