com.intellij.psi.impl.PsiImplUtil Java Examples

The following examples show how to use com.intellij.psi.impl.PsiImplUtil. 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 File: HaxeMethodPsiMixinImpl.java    From intellij-haxe with Apache License 2.0 5 votes vote down vote up
@NotNull
@Override
public PsiTypeParameter[] getTypeParameters() {
  // Type parameters are those inside of the type designation (e.g.
  // inside the '<' and '>').
  return PsiImplUtil.getTypeParameters(this);
}
 
Example #2
Source File: PsiAnnotationUtil.java    From sqlitemagic with Apache License 2.0 4 votes vote down vote up
@Nullable
public static PsiAnnotation findAnnotation(@NotNull final PsiModifierListOwner psiModifierListOwner, @NotNull final String qualifiedName) {
  return PsiImplUtil.findAnnotation(psiModifierListOwner.getModifierList(), qualifiedName);
}
 
Example #3
Source File: AbstractHaxePsiClass.java    From intellij-haxe with Apache License 2.0 4 votes vote down vote up
@Override
public boolean hasTypeParameters() {
  return PsiImplUtil.hasTypeParameters(this);
}
 
Example #4
Source File: AbstractHaxePsiClass.java    From intellij-haxe with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public PsiTypeParameter[] getTypeParameters() {
  return PsiImplUtil.getTypeParameters(this);
}
 
Example #5
Source File: HaxeMethodPsiMixinImpl.java    From intellij-haxe with Apache License 2.0 4 votes vote down vote up
@Override
public boolean hasTypeParameters() {
  return PsiImplUtil.hasTypeParameters(this);
}
 
Example #6
Source File: HaxeParameterListPsiMixinImpl.java    From intellij-haxe with Apache License 2.0 4 votes vote down vote up
@Override
public int getParameterIndex(PsiParameter parameter) {
  return PsiImplUtil.getParameterIndex(parameter, this);
}
 
Example #7
Source File: BuilderInfo.java    From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
private static boolean isDeprecated(@NotNull PsiField psiField) {
  return PsiImplUtil.isDeprecatedByDocTag(psiField) || hasDeprecatedAnnotation(psiField);
}