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

com.yworks.yshrink.YShrinkModel Maven / Gradle / Ivy

Go to download

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

The newest version!
package com.yworks.yshrink;

import com.yworks.common.ShrinkBag;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.Path;

import java.util.List;
import java.util.Collection;
import java.util.Set;
import java.io.IOException;

/**
 * The interface Y shrink model.
 *
 * @author Michael Schroeder, yWorks GmbH http://www.yworks.com
 */
public interface YShrinkModel {

  /**
   * Create simple model.
   *
   * @param bags the bags
   * @throws IOException the io exception
   */
  public void createSimpleModel( List bags ) throws IOException;

  /**
   * Gets all ancestor classes.
   *
   * @param className the class name
   * @return the all ancestor classes
   */
  Set getAllAncestorClasses( String className );

  /**
   * Gets all implemented interfaces.
   *
   * @param className the class name
   * @return the all implemented interfaces
   */
  Set getAllImplementedInterfaces( String className );

  /**
   * Gets all class names.
   *
   * @return the all class names
   */
  Collection getAllClassNames();

  /**
   * Sets resource class path.
   *
   * @param resourceClassPath the resource class path
   * @param target            the target
   */
  void setResourceClassPath(Path resourceClassPath, Task target);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy