Minor fix
Fixed class/instance method confusion in java interop