tangentum technologies    
 

Deutsch

   
   
 
    method-static

method-static

Name

method-static -- Selects methods that are class-methods ("static"), or instance-methods (not "static").

Synopsis

<... method-static="boolean"/>

Description

This condition-attribute evaluates to true for methods whose "static"-flag is equal to the specified flag.

Valid values of the specified flag are true and false:

  • If the flag is true only methods which are declared "static", i.e. class-methods, are selected.

  • If the flag is false only methods which are not declared "static", i.e. instance-methods, are selected.

As an example take the following class:

com.abc_company.A_class.f_method
com.abc_company.A_class.static_g_method

Some selections with their results:

<log method-static="true"/>
<!--------------------------------------------->
<!-- com.abc_company.A_class.static_g_method -->


<log method-static="false"/>
<!--------------------------------------------->
<!-- com.abc_company.A_class.f_method        -->