2006-11-22 17:38:46 +00:00
|
|
|
/*******************************************************************************
|
|
|
|
* Copyright (c) 2002 - 2006 IBM Corporation.
|
|
|
|
* All rights reserved. This program and the accompanying materials
|
|
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
* which accompanies this distribution, and is available at
|
|
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
*
|
|
|
|
* Contributors:
|
|
|
|
* IBM Corporation - initial API and implementation
|
|
|
|
*******************************************************************************/
|
|
|
|
|
|
|
|
package com.ibm.wala.classLoader;
|
|
|
|
|
|
|
|
import java.util.Iterator;
|
|
|
|
|
|
|
|
/**
|
2009-04-21 19:31:33 +00:00
|
|
|
* A {@link Module} represents a set of files to analyze. eg., a Jar file.
|
2009-07-02 18:20:10 +00:00
|
|
|
* These are persistent (hung onto by {@link ClassLoaderImpl}) .. so,
|
2006-11-22 17:38:46 +00:00
|
|
|
* a Module should not hold onto a lot of data.
|
|
|
|
*/
|
|
|
|
public interface Module {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return an Iterator of the ModuleEntries in this Module.
|
|
|
|
*/
|
|
|
|
Iterator<ModuleEntry> getEntries();
|
|
|
|
}
|