// assumes instance is already on the stack
private void emitMemberGet(final MemberInfo member) {
switch (member.getMemberType()) {
case Field:
final FieldInfo field = (FieldInfo) member;
if (field.getFieldType().isPrimitive() && field.isStatic() && field.isFinal()) {
try {
emitConstant(field.getRawField().get(null), field.getFieldType());
}
catch (IllegalAccessException e) {
generator.getField(field);
}
}