Class PsiUtils


  • public class PsiUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PsiUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isNullOrTypeOf​(@Nullable com.intellij.lang.ASTNode node, @NotNull com.intellij.psi.tree.IElementType tokenSet)  
      static boolean isNullOrTypeOf​(@Nullable com.intellij.lang.ASTNode node, @NotNull com.intellij.psi.tree.TokenSet tokenSet)  
      static boolean isNullOrTypeOf​(@Nullable com.intellij.psi.PsiElement element, @NotNull com.intellij.psi.tree.IElementType tokenSet)  
      static boolean isNullOrTypeOf​(@Nullable com.intellij.psi.PsiElement element, @NotNull com.intellij.psi.tree.TokenSet tokenSet)  
      static boolean isNullOrTypeOf​(@Nullable com.intellij.psi.tree.IElementType elementType, @NotNull com.intellij.psi.tree.TokenSet tokenSet)  
      static boolean isTypeOf​(@Nullable com.intellij.lang.ASTNode node, @NotNull com.intellij.psi.tree.IElementType elementType)  
      static boolean isTypeOf​(@Nullable com.intellij.lang.ASTNode node, @NotNull com.intellij.psi.tree.TokenSet tokenSet)  
      static boolean isTypeOf​(@Nullable com.intellij.psi.PsiElement element, @NotNull com.intellij.psi.tree.IElementType tokenSet)  
      static boolean isTypeOf​(@Nullable com.intellij.psi.PsiElement element, @NotNull com.intellij.psi.tree.TokenSet tokenSet)  
      static boolean isTypeOf​(@Nullable com.intellij.psi.tree.IElementType elementType, @NotNull com.intellij.psi.tree.TokenSet tokenSet)  
      static boolean isTypeOfSuffix​(@Nullable com.intellij.psi.tree.IElementType elementType, @NotNull com.intellij.psi.tree.TokenSet tokenSet)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PsiUtils

        public PsiUtils()
    • Method Detail

      • isTypeOfSuffix

        public static boolean isTypeOfSuffix​(@Nullable
                                             @Nullable com.intellij.psi.tree.IElementType elementType,
                                             @NotNull
                                             @NotNull com.intellij.psi.tree.TokenSet tokenSet)
      • isTypeOf

        public static boolean isTypeOf​(@Nullable
                                       @Nullable com.intellij.psi.tree.IElementType elementType,
                                       @NotNull
                                       @NotNull com.intellij.psi.tree.TokenSet tokenSet)
      • isNullOrTypeOf

        public static boolean isNullOrTypeOf​(@Nullable
                                             @Nullable com.intellij.psi.tree.IElementType elementType,
                                             @NotNull
                                             @NotNull com.intellij.psi.tree.TokenSet tokenSet)
      • isTypeOf

        public static boolean isTypeOf​(@Nullable
                                       @Nullable com.intellij.lang.ASTNode node,
                                       @NotNull
                                       @NotNull com.intellij.psi.tree.TokenSet tokenSet)
      • isNullOrTypeOf

        public static boolean isNullOrTypeOf​(@Nullable
                                             @Nullable com.intellij.lang.ASTNode node,
                                             @NotNull
                                             @NotNull com.intellij.psi.tree.TokenSet tokenSet)
      • isTypeOf

        public static boolean isTypeOf​(@Nullable
                                       @Nullable com.intellij.psi.PsiElement element,
                                       @NotNull
                                       @NotNull com.intellij.psi.tree.TokenSet tokenSet)
      • isNullOrTypeOf

        public static boolean isNullOrTypeOf​(@Nullable
                                             @Nullable com.intellij.psi.PsiElement element,
                                             @NotNull
                                             @NotNull com.intellij.psi.tree.TokenSet tokenSet)
      • isTypeOf

        public static boolean isTypeOf​(@Nullable
                                       @Nullable com.intellij.lang.ASTNode node,
                                       @NotNull
                                       @NotNull com.intellij.psi.tree.IElementType elementType)
      • isNullOrTypeOf

        public static boolean isNullOrTypeOf​(@Nullable
                                             @Nullable com.intellij.lang.ASTNode node,
                                             @NotNull
                                             @NotNull com.intellij.psi.tree.IElementType tokenSet)
      • isTypeOf

        public static boolean isTypeOf​(@Nullable
                                       @Nullable com.intellij.psi.PsiElement element,
                                       @NotNull
                                       @NotNull com.intellij.psi.tree.IElementType tokenSet)
      • isNullOrTypeOf

        public static boolean isNullOrTypeOf​(@Nullable
                                             @Nullable com.intellij.psi.PsiElement element,
                                             @NotNull
                                             @NotNull com.intellij.psi.tree.IElementType tokenSet)