Package org.pdtextensions.semanticanalysis.validation.validator

Examples of org.pdtextensions.semanticanalysis.validation.validator.ImplementationValidator


*/
public class ImplementationValidatorFactory implements IValidatorFactory {

  @Override
  public IValidatorParticipant getValidatorParticipant(IScriptProject scriptProject) {
    return new ImplementationValidator();
  }
View Full Code Here


          if (sourceModule.getTypes().length != 1) {
            return;
          }
          ModuleDeclaration module = SourceParserUtil.getModuleDeclaration(sourceModule);
          ImplementationValidator validator = new ImplementationValidator(sourceModule);
          String code = "";
          try {
            module.traverse(validator);
          } catch (Exception e) {
            e.getClass();
            e.printStackTrace();
          }
          char indentChar = FormatterUtils
              .getFormatterCommonPrferences().getIndentationChar(document);
          String indent = String.valueOf(indentChar);
         
          for (MissingMethodImplementation miss : validator.getMissing()) {
           
            for (IMethod method : miss.getMisses()) {
              code += MethodStub.getMethodStub(method.getParent().getElementName(), method, method, indent, TextUtilities.getDefaultLineDelimiter(document), true);
            }
                     
View Full Code Here

TOP

Related Classes of org.pdtextensions.semanticanalysis.validation.validator.ImplementationValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.