[java] Is not an enclosing class Java