Copyright (c) 2006 IBM Corporation and others.
Accept class generated by WeavingAdaptor.
Accept class generated by WeavingAdaptor.
Add a context binding with the given name and value
Appends URL to path used by the WeavingAdptor to resolve classes
Aj - class org.aspectj.weaver.loadtime.
Aj Adapter between the generic class pre processor interface and the AspectJ weaver
Load time weaving consistency relies on Bcel.setRepository
Aj() - constructor for class org.aspectj.weaver.loadtime.
Aj True iff the pointcut expression will match any join point at this
shadow (for example, any call to the given method).
We don't need a reference to the class loader and using it during
construction can cause problems with recursion.
Generic class pre processor interface that allows to separate the AspectJ 5 load time weaving
from Java 5 JVMTI interfaces for further use on Java 1.3 / 1.4
Copyright (c) 2006 IBM Corporation and others.
Copyright (c) 2006 IBM Corporation and others.
Generates bytecode for concrete-aspect
The concrete aspect is @AspectJ code generated.
Pointcut expression interface for pointcut
expressions returned by a
PointcutDesignatorHandler.
return true iff this matcher could ever match
a join point in the given type
Determine whether or not this pointcut could ever match a join point in the given class.
return true iff this matcher could ever match
a join point in the given type, may also use any
match context information available
Create a pointcut parameter of the given name and type.
Default implementation of MatchingContext, backed
by a Map.
Copyright (c) 2006 IBM Corporation and others.
Copyright (c) 2006 IBM Corporation and others.
Use in non-OSGi environment
Construct a new WeavingContext to use the specifed ClassLoader
This is the constructor which should be used.
Override to weave class using WeavingAdaptor
A POJO that contains raw strings from the XML (sort of XMLBean for our simple LTW DTD)
FIXME AV - doc, concrete aspect
Remove a message kind from the list of those ignored from now on.
Dump the given bytcode in _dump/...
Check to see if any classes have been generated for a particular classes loader.
Check to see if any classes are stored in the generated classes cache.
Interface implemented by weaving class loaders to allow classes generated by
the weaving process to be defined.
Returns the aspects to be used by a WeavingAdaptor to weave classes
defined by the class loader.
Implement method from WeavingClassLoader
At a matched join point, the parameter binding.
returns the binding associated with the
given context parameter name (or null if
there is no such context).
In an OSGi environment, determin which bundle a URL originated from.
Build the bytecode for the concrete aspect
Override to find classes generated by WeavingAdaptor
In an environment with multiple class loaders allows each to be
identified using something safer and possibly shorter than toString
The name of this pointcut designator.
In an environment with multiple class loaders allows messages
to identified according to the weaving context
The name of this parameter
Returns a namespace based on the contest of the aspects available
Get the parameter bindings at the matched join point.
Return a string representation of this pointcut expression.
Returns a pointcut parser that can parse the full AspectJ pointcut
language with the following exceptions:
- The
if, cflow, and cflowbelow
pointcut designators are not supported
- Pointcut expressions must be self-contained :- they cannot contain references
to other named pointcuts
- The pointcut expression must be anonymous with no formals allowed.
Returns a pointcut parser that can parse the full AspectJ pointcut
language with the following exceptions:
- The
if, cflow, and cflowbelow
pointcut designators are not supported
- Pointcut expressions must be self-contained :- they cannot contain references
to other named pointcuts
- The pointcut expression must be anonymous with no formals allowed.
Returns a pointcut parser that can parse pointcut expressions built
from a user-defined subset of AspectJ's supported pointcut primitives.
Returns a pointcut parser that can parse pointcut expressions built
from a user-defined subset of AspectJ's supported pointcut primitives.
Same as ClassLoader.getResources()
Allows the standard ClassLoader.getResources() mechanisms to be
replaced with a different implementation.
The type of the parameter
True if the pointcut expression has matched at this join point, and false
otherwise
Does this type pattern matcher match the
given type (Class).
Determine whether or not this pointcut matches the execution of a given piece of advice.
Determine whether or not this pointcut matches a method call to the given constructor, made outside
of the scope of any method or constructor, but within the callerType.
Determine whether or not this pointcut matches a method call to the given constructor, made during
the execution of the given method or constructor.
Determine whether or not this pointcut matches the execution of a given constructor.
Called during processing of ShadowMatch.matchesJoinPoint
when matchesStatically returned FuzzyBoolean.MAYBE.
Determine whether or not this pointcut matches a get of the given field outside of the
scope of any method or constructor, but within the given type (for example, during
static initialization).
Determine whether or not this pointcut matches a get of the given field from within the given
method or constructor.
Determine whether or not this pointcut matches a set of the given field outside of the
scope of any method or constructor, but within the given type (for example, during
static initialization).
Determine whether or not this pointcut matches a set of the given field from within the given
method or constructor.
Determine whether or not this pointcut matches the execution of a given exception
handler outside of the scope of any method or constructor, but within the handling type.
Determine whether or not this pointcut matches the execution of a given exception
handler within the given method or constructor
Determine whether or not this pointcut matches the initialization of an
object initiated by a call to the given constructor.
Return the result of matching a join point at this shadow with the given
this, target, and args.
Determine whether or not this pointcut matches a method call to the given method, made outside
of the scope of any method or constructor, but within the callerType (for example, during
static initialization of the type).
Determine whether or not this pointcut matches a method call to the given method, made during
the execution of the given method or constructor.
Determine whether or not this pointcut matches the execution of a given method.
Determine whether or not this pointcut matches the pre-initialization of an
object initiated by a call to the given constructor.
Return FuzzyBoolean.YES if a join point with the given
matching context is always matched.
Determine whether or not this pointcut matches the static initialization
of the given class.
When extending AspectJ's pointcut parsing and
matching with custom PointcutDesignatorHandlers,
it may be necessary to match based on context information
at a join point not exposed simply by java.lang.reflect
member information or argument values.
True if the pointcut expression may match some join points at this
shadow (for example, some calls to the given method may match, depending
on the type of the caller).
return true if matchesStatically can ever return
FuzzyBoolean.MAYBE (necessitating a per-join point test
to determine matching at a given join point).
Returns true iff this pointcut contains any expression that might necessitate a dynamic test
at some join point (e.g.
Parse the given expression string
and return a ContextBasedMatcher that can be used
for matching.
Parse the given pointcut expression.
Parse the given pointcut expression.
Parse the given aspectj type pattern, and return a
matcher that can be used to match types using it.
The PointcutDesignator interface allows extension of the
AspectJ pointcut language so that third-party tools integrating
with AspectJ can add easily their own custom
domain-specific designators and have them interoperate seamlessly
with the standard AspectJ designators.
Represents an AspectJ pointcut expression and provides convenience methods to determine
whether or not the pointcut matches join points specified in terms of the
java.lang.reflect interfaces.
A PointcutParser can be used to build PointcutExpressions for a
user-defined subset of AspectJ's pointcut language
Create a pointcut parser that can parse the full AspectJ pointcut
language with the following exceptions:
- The
if, cflow, and cflowbelow
pointcut designators are not supported
- Pointcut expressions must be self-contained :- they cannot contain references
to other named pointcuts
- The pointcut expression must be anonymous with no formals allowed.
An enumeration of the different kinds of pointcut primitives
supported by AspectJ.
Template method that allows choice of destination for output