Added switch condition for JRuby support...caused column mismatch issue.
Added switch for class in JRuby case