Top Methods
org.aspectj.weaver

public Interface IClassFileProvider

Known Direct Implementers
org.aspectj.weaver.tools.WeavingAdaptor.WeavingClassFileProvider
Imports
java.util.Iterator, org.aspectj.weaver.bcel.UnwovenClassFile

Author
colyer Clients implementing the IClassFileProvider can have a set of class files under their control woven by a weaver, by calling the weave(IClassFileProvider source) method. The contract is that a call to getRequestor().acceptResult() is providing a result for the class file most recently returned from the getClassFileIterator().

Method Summary

Modifier and TypeMethod and Description
public Iterator<UnwovenClassFile>

Returns:

iterator over UnwovenClassFiles.
getClassFileIterator
()

Answer an iterator that can be used to iterate over a set of UnwovenClassFiles to be woven.

public IWeaveRequestor
getRequestor()

The client to which the woven results should be returned.

public boolean

Returns:

true if weaver should only do some internal munging as the one needed for @AspectJ aspectOf methods creation
isApplyAtAspectJMungersOnly
()

Method Detail

getClassFileIteratorback to summary
public Iterator<UnwovenClassFile> getClassFileIterator()

Answer an iterator that can be used to iterate over a set of UnwovenClassFiles to be woven. During a weave, this method may be called multiple times.

Returns:Iterator<UnwovenClassFile>

iterator over UnwovenClassFiles.

getRequestorback to summary
public IWeaveRequestor getRequestor()

The client to which the woven results should be returned.

isApplyAtAspectJMungersOnlyback to summary
public boolean isApplyAtAspectJMungersOnly()
Returns:boolean

true if weaver should only do some internal munging as the one needed for @AspectJ aspectOf methods creation