|
|||
![]() |
|||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
|
method-with-resultDescriptionThis condition-attribute evaluates to true for methods with a result-type that is member of the specified set of types. The types (classes, interfaces and built-in types) are given as a comma-separated list of type-names. The order of the type-names is not important. The type-names follow the conventions used in Java:
As an example take the following methods:
<log method-with-result="java.lang.String"/> <!-----------------------------------------> <!-- java.lang.String foo(...) --> <log method-with-result="String"/> <!-----------------------------------------> <!-- java.lang.String foo(...) --> <log method-with-result="void"/> <!-----------------------------------------> <!-- void foo(...) --> <log method-with-result="int[]"/> <!-----------------------------------------> <!-- int[] foo(...) --> <!-- int[] bar(...) --> |
||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
|
©2003, tangentum.com
All rights reserved.
|
|||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||