public void visit(FieldAccessType fieldAccessType) {
Field field = fieldAccessType.getField();
if (field.isStatic()) {
methodByteCodeContext.addInstruction(
new FieldInsnNode(GETSTATIC, methodContext.getType().getClassIdentifier(), getExpression.getFieldName(), field.getSignature()),
"get static field", getExpression.getFieldName());
} else {
methodByteCodeContext.loadThis("get field", getExpression.getFieldName(), "on this");
methodByteCodeContext.addInstruction(
new FieldInsnNode(GETFIELD, methodContext.getType().getClassIdentifier(), getExpression.getFieldName(), field.getSignature()),
"get field", getExpression.getFieldName());
}
lastExpressionType = field.getType();
}
public void visit(ParameterAccessType parameterAccessType) {