Package org.bladerunnerjs.aliasing.aliases

Examples of org.bladerunnerjs.aliasing.aliases.AliasesFile


    }
  }
 
  private static void fixIncompleteAliases(BundlableNode bundlableNode) {
    try {
      AliasesFile aliasesFile = bundlableNode.aliasesFile();
     
      for(AliasDefinitionsFile aliasDefinitionFile : bundlableNode.aliasDefinitionFiles()) {
        for(AliasDefinition aliasDefinition : aliasDefinitionFile.aliases()) {
          if(!aliasesFile.hasAlias(aliasDefinition.getName()) && (aliasDefinition != null) && (aliasDefinition.getInterfaceName() != null)) {
            aliasesFile.addAlias(new AliasOverride(aliasDefinition.getName(), aliasDefinition.getInterfaceName()));
          }
        }
      }
    }
    catch(ContentFileProcessingException e) {
View Full Code Here


  }
 
  public AliasesFile aliasesFile()
  {
    if(aliasesFile == null) {
      aliasesFile = new AliasesFile(dir(), "resources/aliases.xml", this);
    }
   
    return aliasesFile;
  }
View Full Code Here

  }
 
  @Override
  public AliasesFile aliasesFile() {
    if(aliasesFile == null) {
      aliasesFile = new AliasesFile(dir(), "resources/aliases.xml", this);
    }
   
    return aliasesFile;
  }
View Full Code Here

TOP

Related Classes of org.bladerunnerjs.aliasing.aliases.AliasesFile

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.