Package org.jetbrains.jps.model

Examples of org.jetbrains.jps.model.JpsElement


* @author: Fedor.Korotkov
*/
public class JpsHaxeUtil {
  @Nullable
  public static JpsHaxeModuleSettings getModuleSettings(@NotNull JpsModule module) {
    final JpsElement result = module.getProperties();
    return result instanceof JpsHaxeModuleSettings ? (JpsHaxeModuleSettings)result : null;
  }
View Full Code Here


        SourceFolder sourceFolder = contentEntry.addSourceFolder(url, type);

        if (generated) {
            JpsModuleSourceRoot sourceRoot = sourceFolder.getJpsElement();
            JpsElement properties = sourceRoot.getProperties();
            if (properties instanceof JavaSourceRootProperties) {
                ((JavaSourceRootProperties)properties).setForGeneratedSources(true);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.jetbrains.jps.model.JpsElement

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.