当前位置: 首页>>代码示例>>Java>>正文


Java MutableModuleInheritableNamedPointer类代码示例

本文整理汇总了Java中consulo.module.extension.MutableModuleInheritableNamedPointer的典型用法代码示例。如果您正苦于以下问题:Java MutableModuleInheritableNamedPointer类的具体用法?Java MutableModuleInheritableNamedPointer怎么用?Java MutableModuleInheritableNamedPointer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


MutableModuleInheritableNamedPointer类属于consulo.module.extension包,在下文中一共展示了MutableModuleInheritableNamedPointer类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: insertModuleItems

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@RequiredReadAction
@SuppressWarnings("unchecked")
public <T extends MutableModuleExtension<?>> void insertModuleItems(@Nonnull T moduleExtension,
                                                                    @Nonnull NullableFunction<T, MutableModuleInheritableNamedPointer<Sdk>> sdkPointerFunction) {

  for (Module module : ModuleManager.getInstance(moduleExtension.getModule().getProject()).getModules()) {
    // dont add self module
    if (module == moduleExtension.getModule()) {
      continue;
    }

    ModuleExtension extension = ModuleUtilCore.getExtension(module, moduleExtension.getId());
    if (extension == null) {
      continue;
    }
    MutableModuleInheritableNamedPointer<Sdk> sdkPointer = sdkPointerFunction.fun((T)extension);
    if (sdkPointer != null) {
      // recursive depend
      if (sdkPointer.getModule() == moduleExtension.getModule()) {
        continue;
      }
      addItem(new ModuleExtensionSdkComboBoxItem(extension, sdkPointer));
    }
  }
}
 
开发者ID:consulo,项目名称:consulo,代码行数:26,代码来源:SdkComboBox.java

示例2: getInheritableSdk

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public MutableModuleInheritableNamedPointer<Sdk> getInheritableSdk()
{
	return (MutableModuleInheritableNamedPointer<Sdk>) super.getInheritableSdk();
}
 
开发者ID:consulo,项目名称:consulo-unity3d,代码行数:7,代码来源:Unity3dRootMutableModuleExtension.java

示例3: getInheritableLanguageLevel

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public MutableModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel()
{
	return myLanguageLevelPointer;
}
 
开发者ID:consulo,项目名称:consulo-ikvm,代码行数:7,代码来源:MicrosoftIkvmMutableModuleExtension.java

示例4: getCustomCompilerSdkPointer

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
@NotNull
MutableModuleInheritableNamedPointer<Sdk> getCustomCompilerSdkPointer();
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:4,代码来源:CSharpMutableModuleExtension.java

示例5: getCustomCompilerSdkPointer

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public MutableModuleInheritableNamedPointer<Sdk> getCustomCompilerSdkPointer()
{
	return myCustomCompilerSdkPointer;
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:7,代码来源:BaseCSharpModuleExtension.java

示例6: getInheritableSdk

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
@NotNull
MutableModuleInheritableNamedPointer<Sdk> getInheritableSdk();
 
开发者ID:consulo,项目名称:consulo-dotnet,代码行数:4,代码来源:DotNetSimpleMutableModuleExtension.java

示例7: sdkPointerFunc

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Nonnull
@Exported
public ModuleExtensionSdkBoxBuilder<T> sdkPointerFunc(@Nonnull NullableFunction<T, MutableModuleInheritableNamedPointer<Sdk>> function) {
  mySdkPointerFunction = function;
  return this;
}
 
开发者ID:consulo,项目名称:consulo,代码行数:7,代码来源:ModuleExtensionSdkBoxBuilder.java

示例8: ModuleExtensionSdkComboBoxItem

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
public ModuleExtensionSdkComboBoxItem(ModuleExtension<?> moduleExtension,
                                      MutableModuleInheritableNamedPointer<Sdk> sdkPointer) {
  super(null);
  myModuleExtension = moduleExtension;
  mySdkPointer = sdkPointer;
}
 
开发者ID:consulo,项目名称:consulo,代码行数:7,代码来源:SdkComboBox.java

示例9: ModuleExtensionSdkComboBoxItem

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
public ModuleExtensionSdkComboBoxItem(ModuleExtension<?> moduleExtension, MutableModuleInheritableNamedPointer<Sdk> sdkPointer) {
  super(null);
  myModuleExtension = moduleExtension;
  mySdkPointer = sdkPointer;
}
 
开发者ID:consulo,项目名称:consulo,代码行数:6,代码来源:BundleComboBox.java

示例10: getInheritableSdk

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Nonnull
@Override
public MutableModuleInheritableNamedPointer<Sdk> getInheritableSdk() {
  return (MutableModuleInheritableNamedPointer<Sdk>)super.getInheritableSdk();
}
 
开发者ID:consulo,项目名称:consulo,代码行数:6,代码来源:SandMutableModuleExtension.java

示例11: getInheritableLanguageLevel

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
MutableModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel();
 
开发者ID:consulo,项目名称:consulo-java,代码行数:3,代码来源:JavaMutableModuleExtension.java

示例12: getInheritableLanguageLevel

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
@NotNull
public MutableModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel()
{
	return myLanguageLevel;
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:7,代码来源:JavaMutableModuleExtensionImpl.java

示例13: getLanguageVersionPointer

import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
MutableModuleInheritableNamedPointer<CSharpLanguageVersion> getLanguageVersionPointer(); 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:2,代码来源:CSharpSimpleMutableModuleExtension.java


注:本文中的consulo.module.extension.MutableModuleInheritableNamedPointer类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。