~ubuntu-branches/ubuntu/wily/aspectj/wily-proposed

« back to all changes in this revision

Viewing changes to org.aspectj/modules/asm/src/org/aspectj/asm/IHierarchy.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2011-03-15 23:54:31 UTC
  • mfrom: (1.2.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110315235431-iq2gxbsx08kpwuiw
* New upstream release.
* Updated Standards-Version to 3.9.1 (no changes needed).
* Fix local Javadoc links:
  - d/patches/07_javadoc_links.diff: Use locally installed
   javadoc packages and hyperlink with them.
  - d/control: Add B-D on default-java-doc and libasm3-java-doc.
* d/control: Drop B-D on itself (our new bootstrap infrastructure doesn't need
  that anymore).
* Split packages into :
  - aspectj: only contains CLI tools.
  - libaspectj-java: JAR librairies for /usr/share/java.
  - libaspectj-java-doc: 4 API's Javadoc.
  - aspectj-doc: Programming Guides and SDK Documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* *******************************************************************
2
 
 * Copyright (c) 2003 Contributors.
 
2
 * Copyright (c) 2003,2010 Contributors
3
3
 * All rights reserved. 
4
4
 * This program and the accompanying materials are made available 
5
5
 * under the terms of the Eclipse Public License v1.0 
8
8
 *  
9
9
 * Contributors: 
10
10
 *     Mik Kersten     initial implementation 
 
11
 *     Andy Clement
11
12
 * ******************************************************************/
12
13
package org.aspectj.asm;
13
14
 
14
15
import java.io.Serializable;
15
16
import java.util.HashMap;
16
 
import java.util.Iterator;
 
17
import java.util.Map;
17
18
import java.util.Set;
18
19
 
19
20
import org.aspectj.asm.internal.ProgramElement;
21
22
 
22
23
/**
23
24
 * @author Mik Kersten
 
25
 * @author Andy Clement
24
26
 */
25
27
public interface IHierarchy extends Serializable {
 
28
 
26
29
        public static final IProgramElement NO_STRUCTURE = new ProgramElement(null, "<build to view structure>",
27
30
                        IProgramElement.Kind.ERROR, null);
28
31
 
32
35
 
33
36
        public void setRoot(IProgramElement root);
34
37
 
35
 
        public void addToFileMap(Object key, Object value);
36
 
 
37
 
        public boolean removeFromFileMap(Object key);
38
 
 
39
 
        public void setFileMap(HashMap fileMap);
 
38
        public void addToFileMap(String canonicalFilePath, IProgramElement compilationUnitProgramElement);
 
39
 
 
40
        public boolean removeFromFileMap(String canonicalFilePath);
 
41
 
 
42
        public void setFileMap(HashMap<String, IProgramElement> fileMap);
40
43
 
41
44
        public Object findInFileMap(Object key);
42
45
 
43
 
        public Set getFileMapEntrySet();
 
46
        public Set<Map.Entry<String, IProgramElement>> getFileMapEntrySet();
44
47
 
45
48
        public boolean isValid();
46
49
 
102
105
 
103
106
        public void flushHandleMap();
104
107
 
105
 
        public void updateHandleMap(Set deletedFiles);
 
108
        public void updateHandleMap(Set<String> deletedFiles);
106
109
 
107
110
        /**
108
111
         * For a specified node, check if any of the children more accurately represent the specified line.