tangentum technologies    
 

Deutsch

   
   
 
    method-contains-ref-to-type-or-nested-type

method-contains-ref-to-type-or-nested-type

Name

method-contains-ref-to-type-or-nested-type -- Selects methods that contain instructions with references to a specified set of types (classes or interfaces), or to classes or interfaces which are nested in the specified set of types (classes or interfaces).

Synopsis

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

Description

This condition-attribute evaluates to true for methods that contain instructions with references to the specified types (classes or interfaces), or to any class or interface nested in any of the specified types (classes or interfaces). Inner classes and anonymous classes are fully enclosed in this selection.

The classes or interfaces 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. To select a specific class or interface of a specific package, combine type-selection with package-selection as shown in the example for class-selection.