ch.ethz.prose.crosscut |
|
Java Source File Name | Type | Comment |
AbstractCrosscut.java | Class | Interface AbstractCrosscut is a Crosscut implementation together with
a filtering mechanism for
both join-point requests and join-point events. |
AllFieldsTest.java | Class | JUnit testcase for class AllFields. |
AllLocationsTest.java | Class | JUnit testcase for class AllLocations. |
ANY.java | Class | Class ANY matches any classes but no class lists. |
CatchCut.java | Class | Class CatchCut represents a crosscut which cuts across all
points belonging to all classes in the local VM where exceptions
are catch. |
CatchHandleSignaturePattern.java | Class | |
CcutAdvice.java | Class | The CcutAdvice class encapsulates the transformation of the join-point
data (e.g., target, stack parameters) to the types required to execute
the UserDefinedMCSignature of this crosscut. |
ConcreteConcreteCcutAdvice.java | Class | ConcreteConcreteCcutAdvice class. |
ConcreteConcreteMcutAdvice.java | Class | An advice execution for an advice action of the form
XXX(Foo thisObj,String a, int b, other non-wildcards..)
This method redefines the allocStackArgs because it
knows that the number of arguments on the stack is exactly
equal to the number of arguments of the advice method. |
ConcreteWildcardCcutAdvice.java | Class | |
ConcreteWildcardMcutAdvice.java | Class | |
ConstructorCut.java | Class | Class ConstructorCut represents a crosscut. |
ConstructorCutSignaturePattern.java | Class | Every Crosscut contains a method to be executed when a join-point is hit. |
ConstructorCutSpecializer.java | Class | |
ConstructorFieldTest.java | Class | |
Crosscut.java | Class | User perspective
If you want to use crosscuts, than you have to understand two things:
- how to write advices
- how to use point-cutters.
Read the documentation for MethodCut , GetCut etc
to understand these issues.
Developer perspective
Class Crosscut defines an object which can create CrosscutRequests .
A crosscut request defines a crosscut as a set of join point requests together with
actions to be performed when the events corresponding to the crosscut it defines are
triggered.
A crosscut is also a JointPointListener . |
CrosscutGroup.java | Class | Class CrosscutGroup defines a common behavior for a group
crosscut objects. |
CrosscutRequest.java | Class | Class CrosscutRequest embodies several join point specifications in form
of EventRequests. |
DefaultCcutAdvice.java | Class | The execution of an advice method of aribitrary signature. |
DefaultMcutAdvice.java | Class | The execution of an advice method of aribitrary signature. |
ExceptionCatchCutTest.java | Class | |
ExceptionCutTest.java | Class | JUnit testcase for class ThrowCut. |
ExceptionCutUserDefinedTest.java | Class | JUnit testcase for class XXX. |
FunctionalCrosscutTest.java | Class | JUnit testcase for class FunctionalCrosscut. |
GetCut.java | Class | Class GetCut is a crosscut which cuts field gets.
The advice method is GET_ARGS . |
InterfaceMethodTest.java | Class | Cross-cut an invokeinterface method call. |
McutAdvice.java | Class | The McutAdvice encapsulates the transformation of the join-point
data (e.g., target, stack parameters) to the types required to execute
the UserDefinedMCSignature of this crosscut. |
MethodArgumentsTest.java | Class | Cross-cut methods with different arguments. |
MethodCut.java | Class | Class MethodCut represents a crosscut. |
MethodCutSignaturePattern.java | Class | Every Crosscut contains a method to be executed when a join-point is hit. |
MethodCutSpecializer.java | Class | |
MethodRedefineCut.java | Class | A crosscut that represents method redefinitions. |
MethodRedefineCutSpecializer.java | Class | A specializer for method redefine cuts. |
MissingInformationException.java | Class | Exception class MissingInformationException signals that the advice method
was not specified in a given crosscut. |
REST.java | Class | Class REST matches any list of parameters. |
SetCut.java | Class | Class SetCut is a crosscut which cuts field sets.
The advice method is SET_ARGS . |
SetGetSignaturePattern.java | Class | |
SignaturePattern.java | Class | Every Crosscut contains a method to be executed when a join-point is hit. |
StaticMembersTest.java | Class | Cross-cut static members. |
ThrowCut.java | Class | Class ThrowCut is a crosscut which cuts exception throws
The advice method is THROW_ARGS . |
ThrowHandleSignaturePattern.java | Class | |
Wildcard.java | Class | Interface Wildcard is a placeholder for serveral classes
or class lists at a time. |
WildcardConcreteCcutAdvice.java | Class | An advice execution for an advice action of the form
XXX(ANY thisObj,String a, int b, other non-wildcards..)
This method redefines the allocStackArgs because it
knows that the number of arguments on the stack is exactly
equal to the number of arguments of the advice method. |
WildcardConcreteMcutAdvice.java | Class | An advice execution for an advice action of the form
XXX(ANY thisObj,String a, int b, other non-wildcards..)
This method redefines the allocStackArgs because it
knows that the number of arguments on the stack is exactly
equal to the number of arguments of the advice method. |
WildcardWildcardCcutAdvice.java | Class | |
WildcardWildcardMcutAdvice.java | Class | |