Your Entity variable is initialized using the web.proxies.Profile class, which is a wrapper class around IMendixObject that is generated by Studio Pro. That class won't have the getChangedMembers() method.
You should define a generic Type parameter in your Java action, use that type parameter as your Entity in your parameter definition. Once you deploy for Eclipse, in Studio Pro, your code will have access to the unwrapped version of the IMendixObject.
Alternatively, you can get the IMendixObject from the proxy by calling getMendixObject() on the entity var
Are you maybe missing an import at the top?
import com.mendix.systemwideinterfaces.core.IMendixObject;
This looks like the Java Action is set to return a single object, but you are trying to return a list instead.
You will also have a mix of different types in the returned value, so I don't think Mendix will know how to handle those when returned.
Are you just trying to record all of the changed values in an entity? If you are, have you looked at the AuditTrail module which does the same thing? This has platform support by Mendix.
https://docs.mendix.com/appstore/modules/audit-trail/
I hope this helps.