Package com.puppycrawl.tools.checkstyle

Examples of com.puppycrawl.tools.checkstyle.DefaultContext


    mModuleFactory = aModuleFactory;
  }

  @Override
  public void finishLocalSetup() {
    final DefaultContext checkContext = new DefaultContext();
    checkContext.add("classLoader", mClassLoader);
    checkContext.add("messages", getMessageCollector());
    checkContext.add("severity", getSeverity());
    // TODO: hmmm.. this looks less than elegant
    // we have just parsed the string,
    // now we're recreating it only to parse it again a few moments later
    checkContext.add("tabWidth", String.valueOf(mTabWidth));

    mChildContext = checkContext;
  }
View Full Code Here


    }

    /** @see com.puppycrawl.tools.checkstyle.api.Configurable */
    public void finishLocalSetup()
    {
        DefaultContext checkContext = new DefaultContext();
        checkContext.add("classLoader", mClassLoader);
        checkContext.add("messageMap", mMessageMap);
        checkContext.add("severity", getSeverity());

        mChildContext = checkContext;
    }
View Full Code Here

TOP

Related Classes of com.puppycrawl.tools.checkstyle.DefaultContext

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.