Simplifies Verbose Java Functions