tangentum technologies    
 

Deutsch

   
   
 
    method-with-strict-fp

method-with-strict-fp

Name

method-with-strict-fp -- Selects methods that have the "strict floating-point"-flag set, or not set.

Synopsis

<... method-with-strict-fp="boolean"/>

Description

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

Valid values of the specified flag are true and false:

  • If the flag is true only methods that are declared with the "strict floating-point"-flag are selected.

  • If the flag is false only methods that are not declared with the "strict floating-point"-flag are selected.

As an example take the following class:

com.abc_company.A_class.f_method_without_strict_fp
com.abc_company.A_class.g_method_with_strict_fp

Some selections with their results:

<log method-with-strict-fp="true"/>
<!-------------------------------------------------------->
<!-- com.abc_company.A_class.g_method_with_strict_fp    -->


<log method-with-strict-fp="false"/>
<!-------------------------------------------------------->
<!-- com.abc_company.A_class.f_method_without_strict_fp -->