KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > vladium > emma > data > IMetaData


1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
2  *
3  * This program and the accompanying materials are made available under
4  * the terms of the Common Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/cpl-v10.html
6  *
7  * $Id: IMetaData.java,v 1.1.1.1 2004/05/09 16:57:31 vlad_r Exp $
8  */

9 package com.vladium.emma.data;
10
11 import java.util.Iterator JavaDoc;
12
13 // ----------------------------------------------------------------------------
14
/**
15  * @author Vlad Roubtsov, (C) 2003
16  */

17 public
18 interface IMetaData extends IMergeable
19 {
20     // public: ................................................................
21

22     Object JavaDoc lock ();
23     
24     IMetaData shallowCopy ();
25     
26     CoverageOptions getOptions ();
27     
28     int size ();
29     boolean hasSrcFileData ();
30     boolean hasLineNumberData ();
31     
32 // boolean hasDescriptor (ClassDescriptor cls);
33
boolean hasDescriptor (String JavaDoc classVMName);
34     
35     Iterator JavaDoc /* ClassDescripor */ iterator ();
36     
37     //void setImmutable (); // TODO: this only disables add(); rename
38
boolean add (ClassDescriptor cls, boolean overwrite);
39
40 } // end of interface
41
// ----------------------------------------------------------------------------
42
Popular Tags