Package jadx.core.dex.regions.conditions.IfCondition

Examples of jadx.core.dex.regions.conditions.IfCondition.Mode


  private static boolean checkConditionBranches(BlockNode from, BlockNode to) {
    return from.getCleanSuccessors().size() == 1 && from.getCleanSuccessors().contains(to);
  }

  private static IfInfo mergeIfInfo(IfInfo first, IfInfo second, boolean followThenBranch) {
    Mode mergeOperation = followThenBranch ? Mode.AND : Mode.OR;

    IfCondition condition = IfCondition.merge(mergeOperation, first.getCondition(), second.getCondition());
    IfInfo result = new IfInfo(condition, second);
    result.setIfBlock(first.getIfBlock());
    result.merge(first, second);
View Full Code Here

TOP

Related Classes of jadx.core.dex.regions.conditions.IfCondition.Mode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.