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