• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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;
12 
13 // ----------------------------------------------------------------------------
14 /**
15  * @author Vlad Roubtsov, (C) 2003
16  */
17 public
18 interface IMetaData extends IMergeable
19 {
20     // public: ................................................................
21 
lock()22     Object lock ();
23 
shallowCopy()24     IMetaData shallowCopy ();
25 
getOptions()26     CoverageOptions getOptions ();
27 
size()28     int size ();
hasSrcFileData()29     boolean hasSrcFileData ();
hasLineNumberData()30     boolean hasLineNumberData ();
31 
32 //    boolean hasDescriptor (ClassDescriptor cls);
hasDescriptor(String classVMName)33     boolean hasDescriptor (String classVMName);
34 
iterator()35     Iterator /* ClassDescripor */ iterator ();
36 
37     //void setImmutable (); // TODO: this only disables add(); rename
add(ClassDescriptor cls, boolean overwrite)38     boolean add (ClassDescriptor cls, boolean overwrite);
39 
40 } // end of interface
41 // ----------------------------------------------------------------------------
42