1 package net.sourceforge.pmd.sourcetypehandlers; 2 3 import net.sourceforge.pmd.parsers.Parser; 4 5 /** 6 * Interface for obtaining the classes necessary for checking source files 7 * of a specific language. 8 * 9 * @author pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be 10 */ 11 public interface SourceTypeHandler { 12 13 /** 14 * Get the Parser. 15 * 16 * @return Parser 17 */ 18 Parser getParser(); 19 20 /** 21 * Get the DataFlowFacade. 22 * 23 * @return VisitorStarter 24 */ 25 VisitorStarter getDataFlowFacade(); 26 27 /** 28 * Get the SymbolFacade. 29 * 30 * @return VisitorStarter 31 */ 32 VisitorStarter getSymbolFacade(); 33 34 /** 35 * Get the getTypeResolutionFacade. 36 * 37 * @param classLoader A ClassLoader to use for resolving Types. 38 * @return VisitorStarter 39 */ 40 VisitorStarter getTypeResolutionFacade(ClassLoader classLoader); 41 42 43 }