[Java] Class DependencyValidator