| java.lang.Object ch.ethz.prose.crosscut.SignaturePattern ch.ethz.prose.crosscut.ThrowHandleSignaturePattern
Method Summary | |
protected boolean | matchesExceptionClass(Class cls) Returns true if the signature of
methoObj , seen as a pattern,
matches the signature (the parameter types) for
actualMehtod . | public String | toString() |
ThrowHandleSignaturePattern | protected ThrowHandleSignaturePattern(ThrowCut 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() . |
matchesExceptionClass | protected boolean matchesExceptionClass(Class cls)(Code) | | Returns true if the signature of
methoObj , seen as a pattern,
matches the signature (the parameter types) for
actualMehtod .
|
|
|