| java.lang.Object ch.ethz.prose.crosscut.SignaturePattern ch.ethz.prose.crosscut.SetGetSignaturePattern
Method Summary | |
protected boolean | matchesOperationOnField(Field field) Returns true if the signature of
methoObj , seen as a pattern,
matches the signature (the parameter types) for
actualMehtod . | public String | toString() |
SetGetSignaturePattern | protected SetGetSignaturePattern(SetCut crsc) throws MissingInformationException(Code) | | Create an UserDefinedMCSignature that encapsulates the
method to be executed.
Postcondition: methodObj is properly initialized
Implementation:
- if
crsc (i.e., a subclass of FunctionalCrossscut)
defines exaclty one method, this method is
the advice method.
- If
crsc defines several methods, the one whose
name corresponds to crsc.ADVICE_NAME() is the advice method
throws: MissingInformationExeception - crsc does not define a method at all,or if it defines several, none of them matches crsc.ADVICE_NAME() . |
matchesOperationOnField | protected boolean matchesOperationOnField(Field field)(Code) | | Returns true if the signature of
methoObj , seen as a pattern,
matches the signature (the parameter types) for
actualMehtod .
|
|
|