
net.sourceforge.pmd.lang.cpp.CppHandler Maven / Gradle / Ivy
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.cpp;
import net.sourceforge.pmd.lang.AbstractLanguageVersionHandler;
import net.sourceforge.pmd.lang.Parser;
import net.sourceforge.pmd.lang.ParserOptions;
import net.sourceforge.pmd.lang.rule.RuleViolationFactory;
/**
* Implementation of LanguageVersionHandler for the C++ Language.
* @deprecated There is no full PMD support for c++.
*/
@Deprecated
public class CppHandler extends AbstractLanguageVersionHandler {
@Override
public RuleViolationFactory getRuleViolationFactory() {
throw new UnsupportedOperationException("getRuleViolationFactory() is not supported for C++");
}
@Override
public Parser getParser(ParserOptions parserOptions) {
return new CppParser(parserOptions);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy