Does anyone know if there is something like JvmOverloads for local declarations? item and empty can receive null from JavaFX. When I run this, I get
Parameter specified as non-null is null
I tried putting on JvmOverloads and making the arguments ?, but the compiler gave me an error about JvmOverloads not being available to local declarations.