本文整理汇总了Java中com.intellij.plugins.haxe.HaxeLanguage.INSTANCE属性的典型用法代码示例。如果您正苦于以下问题:Java HaxeLanguage.INSTANCE属性的具体用法?Java HaxeLanguage.INSTANCE怎么用?Java HaxeLanguage.INSTANCE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.intellij.plugins.haxe.HaxeLanguage
的用法示例。
在下文中一共展示了HaxeLanguage.INSTANCE属性的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: canFindUsages
@Override
public boolean canFindUsages(@NotNull final PsiElement element) {
if (element instanceof PsiFileSystemItem) {
if (((PsiFileSystemItem)element).getVirtualFile() == null)
return false;
}
if (element.getLanguage() != HaxeLanguage.INSTANCE
|| !getHaxeProvider().canFindUsagesFor(element)) {
return false;
}
return element.isValid();
}
示例2: HaxeFile
public HaxeFile(@NotNull FileViewProvider viewProvider) {
super(viewProvider, HaxeLanguage.INSTANCE);
}
示例3: MyHaxeFileElementType
public MyHaxeFileElementType() {
super(HaxeLanguage.INSTANCE);
}
示例4: HaxeElementType
public HaxeElementType(@NotNull @NonNls String debugName) {
super(debugName, HaxeLanguage.INSTANCE);
}
示例5: HaxeMacroClassListElementType
public HaxeMacroClassListElementType(@NotNull @NonNls String debugName) {
super(debugName, HaxeLanguage.INSTANCE);
}
示例6: isValidFor
@Override
public boolean isValidFor(Editor editor, PsiFile file) {
return file.getLanguage() == HaxeLanguage.INSTANCE;
}
示例7: getLanguage
@NotNull
@Override
public Language getLanguage() {
return HaxeLanguage.INSTANCE;
}
示例8: HaxeCodeStyleMainPanel
protected HaxeCodeStyleMainPanel(CodeStyleSettings currentSettings, CodeStyleSettings settings) {
super(HaxeLanguage.INSTANCE, currentSettings, settings);
}
示例9: MyHaxeFileElementType
public MyHaxeFileElementType()
{
super(HaxeLanguage.INSTANCE);
}
示例10: getLanguage
@NotNull
@Override
public Language getLanguage()
{
return HaxeLanguage.INSTANCE;
}