IMetaData.java :  » android-platform-external » emma » com » vladium » emma » data » Android Open Source

Android Open Source » android platform external » emma 
emma » com » vladium » emma » data » IMetaData.java
/* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
 * 
 * This program and the accompanying materials are made available under
 * the terms of the Common Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/cpl-v10.html
 * 
 * $Id: IMetaData.java,v 1.1.1.1 2004/05/09 16:57:31 vlad_r Exp $
 */
package com.vladium.emma.data;

import java.util.Iterator;

// ----------------------------------------------------------------------------
/**
 * @author Vlad Roubtsov, (C) 2003
 */
public
interface IMetaData extends IMergeable
{
    // public: ................................................................
    
    Object lock ();
    
    IMetaData shallowCopy ();
    
    CoverageOptions getOptions ();
    
    int size ();
    boolean hasSrcFileData ();
    boolean hasLineNumberData ();
    
//    boolean hasDescriptor (ClassDescriptor cls);
    boolean hasDescriptor (String classVMName);
    
    Iterator /* ClassDescripor */ iterator ();
    
    //void setImmutable (); // TODO: this only disables add(); rename
    boolean add (ClassDescriptor cls, boolean overwrite);    

} // end of interface
// ----------------------------------------------------------------------------
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.