本文整理汇总了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));
}
}
}
示例2: getInheritableSdk
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public MutableModuleInheritableNamedPointer<Sdk> getInheritableSdk()
{
return (MutableModuleInheritableNamedPointer<Sdk>) super.getInheritableSdk();
}
示例3: getInheritableLanguageLevel
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public MutableModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel()
{
return myLanguageLevelPointer;
}
示例4: getCustomCompilerSdkPointer
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
@NotNull
MutableModuleInheritableNamedPointer<Sdk> getCustomCompilerSdkPointer();
示例5: getCustomCompilerSdkPointer
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public MutableModuleInheritableNamedPointer<Sdk> getCustomCompilerSdkPointer()
{
return myCustomCompilerSdkPointer;
}
示例6: getInheritableSdk
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
@NotNull
MutableModuleInheritableNamedPointer<Sdk> getInheritableSdk();
示例7: sdkPointerFunc
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Nonnull
@Exported
public ModuleExtensionSdkBoxBuilder<T> sdkPointerFunc(@Nonnull NullableFunction<T, MutableModuleInheritableNamedPointer<Sdk>> function) {
mySdkPointerFunction = function;
return this;
}
示例8: ModuleExtensionSdkComboBoxItem
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
public ModuleExtensionSdkComboBoxItem(ModuleExtension<?> moduleExtension,
MutableModuleInheritableNamedPointer<Sdk> sdkPointer) {
super(null);
myModuleExtension = moduleExtension;
mySdkPointer = sdkPointer;
}
示例9: ModuleExtensionSdkComboBoxItem
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
public ModuleExtensionSdkComboBoxItem(ModuleExtension<?> moduleExtension, MutableModuleInheritableNamedPointer<Sdk> sdkPointer) {
super(null);
myModuleExtension = moduleExtension;
mySdkPointer = sdkPointer;
}
示例10: getInheritableSdk
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Nonnull
@Override
public MutableModuleInheritableNamedPointer<Sdk> getInheritableSdk() {
return (MutableModuleInheritableNamedPointer<Sdk>)super.getInheritableSdk();
}
示例11: getInheritableLanguageLevel
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
MutableModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel();
示例12: getInheritableLanguageLevel
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
@NotNull
public MutableModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel()
{
return myLanguageLevel;
}
示例13: getLanguageVersionPointer
import consulo.module.extension.MutableModuleInheritableNamedPointer; //导入依赖的package包/类
MutableModuleInheritableNamedPointer<CSharpLanguageVersion> getLanguageVersionPointer();