blob: a742dec0017873ad385a75d478ffe296e6f84eab [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Nicolas Bros (Mia-Software) - initial API and implementation
*******************************************************************************/
package org.eclipse.modisco.infra.facet.examples.kdm;
import java.io.File;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.modisco.infra.query.core.java.IJavaModelQuery;
/**
* The number of lines in this InventoryItem
* @deprecated Replaced by EMF Facet
*/
@Deprecated
public class NumberOfLines extends AbstractRecursiveCount implements
IJavaModelQuery<EObject, Integer> {
@Override
protected Integer count(final File file) {
return LineCountHelper.getInstance().numberOfLines(file);
}
}