All Downloads are FREE. Search and download functionalities are using the official Maven repository.

soot.shimple.ShimpleFactory Maven / Gradle / Ivy

package soot.shimple;

/*-
 * #%L
 * Soot - a J*va Optimization Framework
 * %%
 * Copyright (C) 2004 Navindra Umanee 
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 2.1 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */

import soot.shimple.toolkits.graph.GlobalValueNumberer;
import soot.toolkits.graph.Block;
import soot.toolkits.graph.BlockGraph;
import soot.toolkits.graph.DominanceFrontier;
import soot.toolkits.graph.DominatorTree;
import soot.toolkits.graph.DominatorsFinder;
import soot.toolkits.graph.ReversibleGraph;
import soot.toolkits.graph.UnitGraph;

/**
 * @author Navindra Umanee
 **/
public interface ShimpleFactory {

  /**
   * Constructors should memoize their return value. Call clearCache() to force recomputations if body has changed and
   * setBody() hasn't been called again.
   **/
  public void clearCache();

  public UnitGraph getUnitGraph();

  public BlockGraph getBlockGraph();

  public DominatorsFinder getDominatorsFinder();

  public DominatorTree getDominatorTree();

  public DominanceFrontier getDominanceFrontier();

  public GlobalValueNumberer getGlobalValueNumberer();

  public ReversibleGraph getReverseBlockGraph();

  public DominatorsFinder getReverseDominatorsFinder();

  public DominatorTree getReverseDominatorTree();

  public DominanceFrontier getReverseDominanceFrontier();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy