java class interface enum or record expected meaning