/** * Check if the passed node is a file JS node after unwrapping. * * @param aNode * The node to be checked - may be <code>null</code>. * @return <code>true</code> if the node implements {@link HCScriptFile}. */ public static boolean isJSFileNode (@Nullable final IHCNode aNode) { final IHCNode aUnwrappedNode = HCHelper.getUnwrappedNode (aNode); return isDirectJSFileNode (aUnwrappedNode); }
if (HCJSNodeDetector.isDirectJSFileNode (aNode))
if (HCJSNodeDetector.isDirectJSFileNode (aNode))