tangentum technologies    
 

Deutsch

   
   
 
    ref-to-method-with-signature

ref-to-method-with-signature

Name

ref-to-method-with-signature -- Selects instructions that invoke methods with a specified signature.

Synopsis

<... ... ref-to-method-with-signature="[type-name (, type-name)*]" ... />

Description

This condition-attribute evaluates to true for instructions which invoke methods with signatures equal to the specified signature.

The types (classes, interfaces and built-in types) are given as a comma-separated list of type-names, and their order is important. The type-names follow the conventions used in Java:

  • Built-in types are given with their standard name, i.e. boolean, byte, char, double, float, int, long, and short,

  • Arrays of built-in types are given using the conventions for arrays, e.g. "boolean[]", or "double[][]".

  • Classes and interfaces are given with their fully-qualified name, e.g. "com.abc_company.A_class".

    To simplify writing of standard-classes like "java.lang.String", "java.lang.Integer", or "java.lang.Object", the package-name "java.lang" may be omitted. Therefore "String", "Integer", or "Object" are equally valid class-names. This rule applies for classes and interfaces defined in package "java.lang" only.

    To name classes or interfaces from an unnamed package, like class "MyApplet", a dot must be prepended to the name, e.g. ".MyApplet".

  • Arrays of classes and interfaces are also given using the conventions for arrays, e.g. "com.abc_company.A_class[]", "String[][]", or ".MyApplet[]".