本文整理汇总了Java中consulo.module.extension.ModuleInheritableNamedPointer类的典型用法代码示例。如果您正苦于以下问题:Java ModuleInheritableNamedPointer类的具体用法?Java ModuleInheritableNamedPointer怎么用?Java ModuleInheritableNamedPointer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ModuleInheritableNamedPointer类属于consulo.module.extension包,在下文中一共展示了ModuleInheritableNamedPointer类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: set
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
public void set(ModuleInheritableNamedPointer<Sdk> anotherItem)
{
if(anotherItem.isNull())
{
myModulePointer = null;
myTargetPointer = null;
}
else
{
final String moduleName = anotherItem.getModuleName();
myModulePointer = moduleName == null ? null : ModuleUtilCore.createPointer(myProject, moduleName);
if(myModulePointer == null)
{
final String targetName = anotherItem.getName();
myTargetPointer = getPointer(myProject, targetName);
}
}
}
示例2: set
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@RequiredReadAction
@Override
public void set(@Nonnull ModuleInheritableNamedPointer<T> anotherItem) {
if (anotherItem.isNull()) {
myModulePointer = null;
myTargetPointer = null;
}
else {
final String moduleName = anotherItem.getModuleName();
myModulePointer = moduleName == null ? null : createModulePointer(moduleName);
if (myModulePointer == null) {
final String targetName = anotherItem.getName();
myTargetPointer = getPointer(myRootLayer, targetName);
}
}
}
示例3: getInheritableSdk
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public ModuleInheritableNamedPointer<Sdk> getInheritableSdk()
{
return EmptyModuleInheritableNamedPointer.empty();
}
示例4: set
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
public void set(ModuleInheritableNamedPointer<T> value)
{
}
示例5: getInheritableLanguageLevel
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
public ModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel()
{
return myLanguageLevelPointer;
}
示例6: getCustomCompilerSdkPointer
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
ModuleInheritableNamedPointer<Sdk> getCustomCompilerSdkPointer();
示例7: getInheritableSdk
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public ModuleInheritableNamedPointer<Sdk> getInheritableSdk()
{
return mySdkPointer;
}
示例8: getInheritableSdk
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
ModuleInheritableNamedPointer<Sdk> getInheritableSdk();
示例9: set
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@Override
public void set(ModuleInheritableNamedPointer<T> value)
{
}
示例10: getInheritableSdk
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
@Override
public ModuleInheritableNamedPointer<Sdk> getInheritableSdk()
{
return myPointer;
}
示例11: getInheritableSdk
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@Nonnull
@Override
public ModuleInheritableNamedPointer<Sdk> getInheritableSdk() {
return mySdkPointer;
}
示例12: getInheritableLanguageLevel
import consulo.module.extension.ModuleInheritableNamedPointer; //导入依赖的package包/类
@NotNull
public ModuleInheritableNamedPointer<LanguageLevel> getInheritableLanguageLevel()
{
return myLanguageLevel;
}