public PrimitiveFieldExpr(Field field) {
if(!Modifier.isStatic(field.getModifiers())) {
throw new UnsupportedOperationException("field is not static, but no instance name provided");
}
this.instanceName = null;
this.declaringClass = new RealJimpleType(field.getDeclaringClass());
this.member = field.getName();
this.memberType = ImPrimitiveType.valueOf(field.getType());
Preconditions.checkNotNull("memberType", memberType);