- generatedClasses - Variable in class org.aspectj.weaver.tools.WeavingAdaptor
-
- generatedClassesExist(ClassLoader) - Method in class org.aspectj.weaver.loadtime.Aj
-
Check to see if any classes have been generated for a particular classes loader.
- generatedClassesExistFor(String) - Method in class org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor
-
Check to see if any classes are stored in the generated classes cache.
- GeneratedClassHandler - Interface in org.aspectj.weaver.tools
-
Interface implemented by weaving class loaders to allow classes generated by
the weaving process to be defined.
- generatedClassHandler - Variable in class org.aspectj.weaver.tools.WeavingAdaptor
-
- GET - Static variable in class org.aspectj.weaver.tools.PointcutPrimitive
-
- getAllSupportedPointcutPrimitives() - Static method in class org.aspectj.weaver.tools.PointcutParser
-
- getAspectClassNames() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- getAspectExcludePatterns() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- getAspectIncludePatterns() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- getAspectURLs() - Method in class org.aspectj.weaver.loadtime.WeavingURLClassLoader
-
Implement method from WeavingClassLoader
- getAspectURLs() - Method in interface org.aspectj.weaver.tools.WeavingClassLoader
-
Returns the aspects to be used by a WeavingAdaptor to weave classes
defined by the class loader.
- getBinding(String) - Method in class org.aspectj.weaver.tools.DefaultMatchingContext
-
- getBinding(String) - Method in interface org.aspectj.weaver.tools.MatchingContext
-
returns the binding associated with the
given context parameter name (or null if
there is no such context).
- getBinding() - Method in interface org.aspectj.weaver.tools.PointcutParameter
-
At a matched join point, the parameter binding.
- getBoolean(String, boolean) - Static method in class org.aspectj.weaver.tools.TraceFactory
-
- getBundleIdFromURL(URL) - Method in class org.aspectj.weaver.loadtime.DefaultWeavingContext
-
- getBundleIdFromURL(URL) - Method in interface org.aspectj.weaver.loadtime.IWeavingContext
-
Deprecated.
use getFile() or getClassLoaderName()
- getBytes() - Method in class org.aspectj.weaver.loadtime.ConcreteAspectCodeGen
-
Build the bytecode for the concrete aspect
- getBytes(String) - Method in class org.aspectj.weaver.loadtime.WeavingURLClassLoader
-
Override to find classes generated by WeavingAdaptor
- getClassLoaderName() - Method in class org.aspectj.weaver.loadtime.DefaultWeavingContext
-
- getClassLoaderName() - Method in interface org.aspectj.weaver.loadtime.IWeavingContext
-
In an environment with multiple class loaders allows each to be
identified using something safer and possibly shorter than toString
- getClassName() - Method in class org.aspectj.weaver.loadtime.ConcreteAspectCodeGen
-
- getConcreteAspects() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- getContextId() - Method in class org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor
-
- getContextId() - Method in class org.aspectj.weaver.tools.WeavingAdaptor
-
- getDefinitions(ClassLoader, WeavingAdaptor) - Method in class org.aspectj.weaver.loadtime.DefaultWeavingContext
-
Simply call weaving adaptor back to parse aop.xml
- getDefinitions(ClassLoader, WeavingAdaptor) - Method in interface org.aspectj.weaver.loadtime.IWeavingContext
-
Allow custom parsing of aop.xml or alternative mechanism for providing
Definitions
- getDesignatorName() - Method in interface org.aspectj.weaver.tools.PointcutDesignatorHandler
-
The name of this pointcut designator.
- getDumpPatterns() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- getExcludePatterns() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- getFile(URL) - Method in class org.aspectj.weaver.loadtime.DefaultWeavingContext
-
- getFile(URL) - Method in interface org.aspectj.weaver.loadtime.IWeavingContext
-
Format a URL
- getId() - Method in class org.aspectj.weaver.loadtime.DefaultWeavingContext
-
- getId() - Method in interface org.aspectj.weaver.loadtime.IWeavingContext
-
In an environment with multiple class loaders allows messages
to identified according to the weaving context
- getIncludePatterns() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- getInvalidPointcutExpression() - Method in exception org.aspectj.weaver.tools.UnsupportedPointcutPrimitiveException
-
- getMessageHandler() - Method in class org.aspectj.weaver.tools.WeavingAdaptor
-
- getMessageHolder() - Method in class org.aspectj.weaver.tools.WeavingAdaptor
-
- getName() - Method in interface org.aspectj.weaver.tools.PointcutParameter
-
The name of this parameter
- getNamespace(ClassLoader) - Method in class org.aspectj.weaver.loadtime.Aj
-
Returns a namespace based on the contest of the aspects available
- getNamespace() - Method in class org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor
-
- getParameterBindings() - Method in interface org.aspectj.weaver.tools.JoinPointMatch
-
Get the parameter bindings at the matched join point.
- getPointcutExpression() - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Return a string representation of this pointcut expression.
- getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution() - Static method in class org.aspectj.weaver.tools.PointcutParser
-
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.
- getPointcutParserSupportingAllPrimitivesAndUsingSpecifiedClassloaderForResolution(ClassLoader) - Static method in class org.aspectj.weaver.tools.PointcutParser
-
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.
- getPointcutParserSupportingSpecifiedPrimitivesAndUsingContextClassloaderForResolution(Set) - Static method in class org.aspectj.weaver.tools.PointcutParser
-
Returns a pointcut parser that can parse pointcut expressions built
from a user-defined subset of AspectJ's supported pointcut primitives.
- getPointcutParserSupportingSpecifiedPrimitivesAndUsingSpecifiedClassLoaderForResolution(Set, ClassLoader) - Static method in class org.aspectj.weaver.tools.PointcutParser
-
Returns a pointcut parser that can parse pointcut expressions built
from a user-defined subset of AspectJ's supported pointcut primitives.
- getResources(String) - Method in class org.aspectj.weaver.loadtime.DefaultWeavingContext
-
Same as ClassLoader.getResources()
- getResources(String) - Method in interface org.aspectj.weaver.loadtime.IWeavingContext
-
Allows the standard ClassLoader.getResources() mechanisms to be
replaced with a different implementation.
- getSuffix() - Method in class org.aspectj.weaver.loadtime.DefaultWeavingContext
-
- getTrace(Class) - Method in class org.aspectj.weaver.tools.CommonsTraceFactory
-
- getTrace(Class) - Method in class org.aspectj.weaver.tools.DefaultTraceFactory
-
- getTrace(Class) - Method in class org.aspectj.weaver.tools.TraceFactory
-
- getTraceFactory() - Static method in class org.aspectj.weaver.tools.TraceFactory
-
- getType() - Method in interface org.aspectj.weaver.tools.PointcutParameter
-
The type of the parameter
- getUnmodifiableListView() - Method in class org.aspectj.weaver.tools.WeavingAdaptor.WeavingAdaptorMessageHolder
-
- getUnsupportedPrimitive() - Method in exception org.aspectj.weaver.tools.UnsupportedPointcutPrimitiveException
-
- getWeaverOptions() - Method in class org.aspectj.weaver.loadtime.definition.Definition
-
- matches() - Method in interface org.aspectj.weaver.tools.JoinPointMatch
-
True if the pointcut expression has matched at this join point, and false
otherwise
- matches(Class) - Method in interface org.aspectj.weaver.tools.TypePatternMatcher
-
Does this type pattern matcher match the
given type (Class).
- matchesAdviceExecution(Method) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches the execution of a given piece of advice.
- matchesConstructorCall(Constructor, Member) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches a method call to the given constructor, made during
the execution of the given method or constructor.
- matchesConstructorCall(Constructor, Class) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
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.
- matchesConstructorExecution(Constructor) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches the execution of a given constructor.
- matchesDynamically(MatchingContext) - Method in interface org.aspectj.weaver.tools.ContextBasedMatcher
-
Called during processing of ShadowMatch.matchesJoinPoint
when matchesStatically returned FuzzyBoolean.MAYBE.
- matchesFieldGet(Field, Member) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches a get of the given field from within the given
method or constructor.
- matchesFieldGet(Field, Class) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
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).
- matchesFieldSet(Field, Member) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches a set of the given field from within the given
method or constructor.
- matchesFieldSet(Field, Class) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
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).
- matchesHandler(Class, Member) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches the execution of a given exception
handler within the given method or constructor
- matchesHandler(Class, Class) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
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.
- matchesInitialization(Constructor) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches the initialization of an
object initiated by a call to the given constructor.
- matchesJoinPoint(Object, Object, Object[]) - Method in interface org.aspectj.weaver.tools.ShadowMatch
-
Return the result of matching a join point at this shadow with the given
this, target, and args.
- matchesMethodCall(Method, Member) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches a method call to the given method, made during
the execution of the given method or constructor.
- matchesMethodCall(Method, Class) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
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).
- matchesMethodExecution(Method) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches the execution of a given method.
- matchesPreInitialization(Constructor) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches the pre-initialization of an
object initiated by a call to the given constructor.
- matchesStatically(MatchingContext) - Method in interface org.aspectj.weaver.tools.ContextBasedMatcher
-
Return FuzzyBoolean.YES if a join point with the given
matching context is always matched.
- matchesStaticInitialization(Class) - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Determine whether or not this pointcut matches the static initialization
of the given class.
- MatchingContext - Interface in org.aspectj.weaver.tools
-
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.
- MAYBE - Static variable in class org.aspectj.weaver.tools.FuzzyBoolean
-
- maybeMatches() - Method in interface org.aspectj.weaver.tools.ShadowMatch
-
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).
- mayNeedDynamicTest() - Method in interface org.aspectj.weaver.tools.ContextBasedMatcher
-
return true if matchesStatically can ever return
FuzzyBoolean.MAYBE (necessitating a per-join point test
to determine matching at a given join point).
- mayNeedDynamicTest() - Method in interface org.aspectj.weaver.tools.PointcutExpression
-
Returns true iff this pointcut contains any expression that might necessitate a dynamic test
at some join point (e.g.
- parse(URL) - Static method in class org.aspectj.weaver.loadtime.definition.DocumentParser
-
- parse(String, ClassLoader, IMessageHandler) - Static method in class org.aspectj.weaver.loadtime.Options
-
- parse(String) - Method in interface org.aspectj.weaver.tools.PointcutDesignatorHandler
-
Parse the given expression string
and return a ContextBasedMatcher that can be used
for matching.
- parsePointcutExpression(String) - Method in class org.aspectj.weaver.tools.PointcutParser
-
Parse the given pointcut expression.
- parsePointcutExpression(String, Class, PointcutParameter[]) - Method in class org.aspectj.weaver.tools.PointcutParser
-
Parse the given pointcut expression.
- parseTypePattern(String) - Method in class org.aspectj.weaver.tools.PointcutParser
-
Parse the given aspectj type pattern, and return a
matcher that can be used to match types using it.
- PointcutDesignatorHandler - Interface in org.aspectj.weaver.tools
-
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.
- PointcutExpression - Interface in org.aspectj.weaver.tools
-
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.
- PointcutParameter - Interface in org.aspectj.weaver.tools
-
- PointcutParser - Class in org.aspectj.weaver.tools
-
A PointcutParser can be used to build PointcutExpressions for a
user-defined subset of AspectJ's pointcut language
- PointcutParser() - Constructor for class org.aspectj.weaver.tools.PointcutParser
-
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.
- PointcutPrimitive - Class in org.aspectj.weaver.tools
-
An enumeration of the different kinds of pointcut primitives
supported by AspectJ.
- pointcuts - Variable in class org.aspectj.weaver.loadtime.definition.Definition.ConcreteAspect
-
- PRE_INITIALIZATION - Static variable in class org.aspectj.weaver.tools.PointcutPrimitive
-
- precedence - Variable in class org.aspectj.weaver.loadtime.definition.Definition.ConcreteAspect
-
- preProcess(String, byte[], ClassLoader) - Method in class org.aspectj.weaver.loadtime.Aj
-
Weave
- preProcess(String, byte[], ClassLoader) - Method in interface org.aspectj.weaver.loadtime.ClassPreProcessor
-
Weave
- println(String) - Method in class org.aspectj.weaver.tools.DefaultTrace
-
Template method that allows choice of destination for output