Examples of PeerFactory


Examples of com.intellij.peer.PeerFactory

   *
   * @param chameleon the node to parse.
   * @return the parsed contents of the node.
   */
  public ASTNode parseContents(ASTNode chameleon) {
    final PeerFactory factory = PeerFactory.getInstance();
    final PsiElement parentElement = chameleon.getTreeParent().getPsi();
    final Project project = parentElement.getManager().getProject();

    final LanguageDialect langDialect = parentElement.getContainingFile().getLanguageDialect();
    final PsiBuilder builder = factory.createBuilder(
      chameleon,
      null,
      langDialect != null ? langDialect:getLanguage(),
      chameleon.getText(),
      project
View Full Code Here

Examples of nextapp.echo2.app.util.PeerFactory

     *        dynamically loading property classes
     */
    private PropertyLoader(ClassLoader classLoader) {
        super();
        this.classLoader = classLoader;
        propertyXmlPeerFactory = new PeerFactory(PROPERTY_XML_PEERS_PATH, classLoader);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.