1 /** 2 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html 3 */ 4 package net.sourceforge.pmd.lang.matlab; 5 6 import net.sourceforge.pmd.lang.BaseLanguageModule; 7 8 /** 9 * Implementation of the Matlab Language Module. 10 */ 11 public class MatlabLanguageModule extends BaseLanguageModule { 12 13 /** The name, that can be used to display the language in UI. */ 14 public static final String NAME = "Matlab"; 15 /** The internal name. */ 16 public static final String TERSE_NAME = "matlab"; 17 18 /** 19 * Creates a new instance of {@link MatlabLanguageModule} with the default file extensions for Matlab. 20 */ 21 public MatlabLanguageModule() { 22 super(NAME, null, TERSE_NAME, null, "m"); 23 addVersion("", new MatlabHandler(), true); 24 } 25 }