I'm not really sure what this is called so it's hard to look it up and it is best if I show you what I'm trying to do.
I want to create a condional variable of sorts
String fileName = (if (this.filename != null) { return this.filename; }
else { return "default value"; });
This should be pretty clear on what I'm trying to do. I want to use some sort of condition to set this variable based on another variables input, in this case whether or not it equals null or not.