Java Code Examples for com.intellij.psi.util.PsiTreeUtil#getLanguageVersion()

The following examples show how to use com.intellij.psi.util.PsiTreeUtil#getLanguageVersion() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: consulo   File: PsiElementBase.java    License: Apache License 2.0 4 votes vote down vote up
@Nonnull
public LanguageVersion getLanguageVersion() {
  return PsiTreeUtil.getLanguageVersion(this);
}
 
Example 2
Source Project: consulo   File: LazyParseablePsiElement.java    License: Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public LanguageVersion getLanguageVersion() {
  return PsiTreeUtil.getLanguageVersion(this);
}
 
Example 3
Source Project: consulo   File: CompositePsiElement.java    License: Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public LanguageVersion getLanguageVersion() {
  return PsiTreeUtil.getLanguageVersion(this);
}
 
Example 4
Source Project: consulo   File: LeafPsiElement.java    License: Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public LanguageVersion getLanguageVersion() {
  return PsiTreeUtil.getLanguageVersion(this);
}
 
Example 5
Source Project: consulo   File: PsiFileImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public LanguageVersion getLanguageVersion() {
  return PsiTreeUtil.getLanguageVersion(this);
}
 
Example 6
Source Project: consulo   File: PsiElementBase.java    License: Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public LanguageVersion getLanguageVersion() {
  return PsiTreeUtil.getLanguageVersion(this);
}
 
Example 7
Source Project: consulo   File: OwnBufferLeafPsiElement.java    License: Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public LanguageVersion getLanguageVersion() {
  return PsiTreeUtil.getLanguageVersion(this);
}