tangentum technologies    
 

Deutsch

   
   
 
    method-contains-ref-to-method

method-contains-ref-to-method

Name

method-contains-ref-to-method -- Selects methods that contain instructions which invoke methods with names from a specified set of method-names.

Synopsis

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

Description

This condition-attribute evaluates to true for methods that contain instructions which invoke methods with names that are member of a specified set of method-names.

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

Selecting constructors: The names of constructors of class-instances use a special convention. They are named <init> independent of the class.

Selecting class-initializers: The names of initializers of classes and interfaces ("static { ... }") are named <clinit> independent of the class or interface. Each class or interface contains at most one of these initializers.