public static void generate(Spatial scene, boolean splitMirrored) {
        if (scene instanceof Node) {
            Node node = (Node) scene;
            for (Spatial child : node.getChildren()) {
                generate(child, splitMirrored);
            }
        } else {
            Geometry geom = (Geometry) scene;
            Mesh mesh = geom.getMesh();

            // Check to ensure mesh has texcoords and normals before generating
            if (mesh.getBuffer(Type.TexCoord) != null
                    && mesh.getBuffer(Type.Normal) != null) {
                generate(geom.getMesh(), true, splitMirrored);
            }
        }
    }
A private constructor to inhibit instantiation of this class.
jme3-core/src/main/java/com/jme3/util/TangentBinormalGenerator.java