tangentum technologies    
 

Deutsch

   
   
 
    method-synchronized

method-synchronized

Name

method-synchronized -- Selects methods that are "synchronized", or not "synchronized".

Synopsis

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

Description

This condition-attribute evaluates to true for methods whose "synchronized"-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 "synchronized" are selected.

  • If the flag is false only methods which are not declared "synchronized" are selected.

As an example take the following class:

com.abc_company.A_class.f_method
com.abc_company.A_class.synchronized_g_method

Some selections with their results:

<log method-synchronized="true"/>
<!--------------------------------------------------->
<!-- com.abc_company.A_class.synchronized_g_method -->


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