tangentum technologies    
 

Deutsch

   
   
 
    method-contains-ref-to-type

method-contains-ref-to-type

Name

method-contains-ref-to-type -- Selects methods that contain instructions with references to a type (class or interface) that is a member of a specified set of types (classes or interfaces).

Synopsis

<... ... method-contains-ref-to-type="type-name (, type-name)*" ... />

Description

This condition-attribute evaluates to true for methods that contain instructions with references to one of the specified types (classes or interfaces).

The types are given as a comma-separated list of simple type-names. The order of the given type-names is not important. Each type-name should follow the conventions used for naming classes and interfaces in Java.

Fully-qualified type-names: The type-names should be simple class- or interface-names, and not fully-qualified type-names, i.e. the type-name without a prepended package-name. To select a specific class of a specific package, combine type-selection with package-selection.