tangentum technologies    
 

Deutsch

   
   
 
    in-class-extending-class-or-nested-class

in-class-extending-class-or-nested-class

Name

in-class-extending-class-or-nested-class -- Selects methods that are defined in classes which are direct extensions of classes from of a specified set of types (classes or interfaces), or of classes nested in any of these types.

Synopsis

<... ... in-class-extending-class-or-nested-class="type-name (, type-name)*" ... />

Description

This condition-attribute evaluates to true for methods that are defined in classes which are direct extensions of one of the specified classes, or nested in any of these 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 type-names, and not fully-qualified type-names, i.e. the type-name without a prepended package-name. To select specific classes of specific packages, combine class-selection with package-selection as shown in the example for class-selection.

Examples for specifying classes are given in selection predicate in-class. The same rules defined there apply also to the selection of direct base-classes.