I've found that you can just grab the propertyResolver and pull values directly from that, instead of writing your own class as was suggested by @Maksym.
Exammple:
@PreAuthorize("hasRole(@environment.getProperty('role.rolename')")
public void method() {}