/** * Determines if there is at least one .class in the given file * with an EJB component-defining annotation (Stateless, Stateful, * Singleton, MessageDriven) * @param file * @return * @deprecated Use a real implementation scanner */ @Deprecated private static boolean containsEjbComponentClass(final VirtualFile file) { return containsEjbComponentClass(file, file); }
final boolean foundInChild = containsEjbComponentClass(root, child); if (foundInChild)