public class SyntacticEquivalence extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areEquivalent(List<? extends Tree> first,
List<? extends Tree> second) |
static boolean |
areEquivalent(List<? extends Tree> first,
List<? extends Tree> second,
boolean ignoreLiteralValues) |
static boolean |
areEquivalent(Tree first,
Tree second) |
static boolean |
areEquivalent(Tree first,
Tree second,
boolean ignoreLiteralValues) |
static List<List<Tree>> |
findDuplicatedGroups(List<Tree> list) |
public static boolean areEquivalent(@Nullable List<? extends Tree> first, @Nullable List<? extends Tree> second)
public static boolean areEquivalent(@Nullable List<? extends Tree> first, @Nullable List<? extends Tree> second, boolean ignoreLiteralValues)
public static boolean areEquivalent(@Nullable Tree first, @Nullable Tree second, boolean ignoreLiteralValues)
Copyright © 2009–2018 SonarSource. All rights reserved.