tangentum technologies    
 

Deutsch

   
   
 
    ref-to-method

ref-to-method

Name

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

Synopsis

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

Description

This condition-attribute evaluates to true for 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.