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

« back to all changes in this revision

Viewing changes to org.aspectj/modules/org.aspectj.matcher/src/org/aspectj/weaver/IClassFileProvider.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2011-03-15 23:54:31 UTC
  • mfrom: (1.1.5 upstream) (7.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110315235431-7d8cs3gvs4tnqx7t
Tags: 1.6.11+dfsg-1
* 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
 
/*******************************************************************************
2
 
 * Copyright (c) 2004 IBM Corporation and others.
3
 
 * All rights reserved. This program and the accompanying materials 
4
 
 * are made available under the terms of the Eclipse Public License v1.0
5
 
 * which accompanies this distribution, and is available at
6
 
 * http://www.eclipse.org/legal/epl-v10.html
7
 
 * 
8
 
 * Contributors:
9
 
 *     IBM Corporation - initial API and implementation
10
 
 *******************************************************************************/
11
 
package org.aspectj.weaver;
12
 
 
13
 
import java.util.Iterator;
14
 
 
15
 
/**
16
 
 * @author colyer
17
 
 * 
18
 
 *         Clients implementing the IClassFileProvider can have a set of class files under their control woven by a weaver, by
19
 
 *         calling the weave(IClassFileProvider source) method. The contract is that a call to getRequestor().acceptResult() is
20
 
 *         providing a result for the class file most recently returned from the getClassFileIterator().
21
 
 */
22
 
public interface IClassFileProvider {
23
 
 
24
 
        /**
25
 
         * Answer an iterator that can be used to iterate over a set of UnwovenClassFiles to be woven. During a weave, this method may
26
 
         * be called multiple times.
27
 
         * 
28
 
         * @return iterator over UnwovenClassFiles.
29
 
         */
30
 
        Iterator getClassFileIterator();
31
 
 
32
 
        /**
33
 
         * The client to which the woven results should be returned.
34
 
         */
35
 
        IWeaveRequestor getRequestor();
36
 
 
37
 
        /**
38
 
         * @return true if weaver should only do some internal munging as the one needed for @AspectJ aspectOf methods creation
39
 
         */
40
 
        boolean isApplyAtAspectJMungersOnly();
41
 
 
42
 
}