Class SyntacticEquivalence

java.lang.Object
org.sonarsource.slang.utils.SyntacticEquivalence

public class SyntacticEquivalence extends Object
  • Method Details

    • areEquivalent

      public static boolean areEquivalent(@Nullable List<? extends Tree> first, @Nullable List<? extends Tree> second)
    • areEquivalent

      public static boolean areEquivalent(@Nullable Tree first, @Nullable Tree second)
    • getUniqueIdentifier

      public static String getUniqueIdentifier(IdentifierTree identifier)
    • findDuplicatedGroups

      public static List<List<Tree>> findDuplicatedGroups(List<Tree> list)