I. Built-in Method Selection Predicates
This reference contains a complete reference of the predefined
selection predicates for methods which are built into the CodeMonitorTM for Java.
Each selection predicate is given by its name, function, synopsis, and
a description with an example.
- Table of Contents
- in-class-from-package -- Selects methods that are defined in a specified set of packages.
- in-class-from-subpackage -- Selects methods that are defined in subpackages of a specified set of packages.
- in-class-from-package-or-subpackage -- Selects methods that are defined in a specified set of
packages, or any of their subpackages.
- in-class -- Selects methods that are defined in a specified set of classes.
- in-nested-class -- Selects methods that are defined in nested classes of a specified set of types (classes or interfaces).
- in-class-or-nested-class -- Selects methods that are defined in a specified set of classes,
or in classes which are nested in the specified set of types (classes or interfaces).
- in-toplevel-class -- Selects methods that are defined in classes which are
top-level classes, or not.
- in-class-with-access -- Selects methods that are defined in classes with a
specified access.
- in-class-extending-class-from-package -- Selects methods that are defined in classes which are
direct extensions of classes that are members
of a specified set of packages.
- in-class-extending-class-from-subpackage -- Selects methods that are defined in classes which are
direct extensions of classes that are members of
subpackages of a specified set of packages.
- in-class-extending-class-from-package-or-subpackage -- Selects methods that are defined in classes which are
direct extensions of classes that are members of
a specified set of packages, or any of their subpackages.
- in-class-extending-class -- Selects methods that are defined in classes which are
direct extensions of classes from a specified
set of classes.
- in-class-extending-nested-class -- Selects methods that are defined in classes which are
direct extensions of nested classes of a specified
set of types (classes or interfaces).
- 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.
- in-class-implementing-interface-from-package -- Selects methods that are defined in classes which are
direct implementations of interfaces that are members
of a specified set of packages.
- in-class-implementing-interface-from-subpackage -- Selects methods that are defined in classes which are
direct implementations of interfaces that are members of
subpackages of a specified set of packages.
- in-class-implementing-interface-from-package-or-subpackage -- Selects methods that are defined in classes which are
direct implementations of interfaces that are members of
a specified set of packages, or any of their subpackages.
- in-class-implementing-interface -- Selects methods that are defined in classes which are
direct implementations of interfaces from
a specified set of interfaces.
- in-class-implementing-nested-interface -- Selects methods that are defined in classes which are
direct implementations of nested interfaces of
a specified set of types (classes or interfaces).
- in-class-implementing-interface-or-nested-interface -- Selects methods that are defined in classes which are
direct implementations of interfaces from
a specified set of types (classes or interfaces),
or of interfaces nested in any of these types.
- method -- Selects methods with a name from a specified set of names.
- method-with-access -- Selects methods with a specified access.
- method-synchronized -- Selects methods that are "synchronized",
or not "synchronized".
- method-static -- Selects methods that are class-methods ("static"),
or instance-methods (not "static").
- method-with-strict-fp -- Selects methods that have the
"strict floating-point"-flag set, or not set.
- method-with-signature -- Selects methods with a specified signature.
- method-with-signature-containing -- Selects methods whose signature contains a type
from a specified set of types.
- method-with-signature-containing-all -- Selects methods whose signature contains all types
from a specified set of types.
- method-with-result -- Selects methods whose result-type is member of
a specified set of types.
- method-contains-instruction -- Selects methods that contain instructions from a specified set of instruction-types.
- method-contains-ref-to-package -- Selects methods that contain instructions with references
to a package that is a member of a specified set of packages.
- method-contains-ref-to-subpackage -- Selects methods that contain instructions with references
to a subpackage of any package from a specified set of packages.
- method-contains-ref-to-package-or-subpackage -- Selects methods that contain instructions with references
to a package that is member of specified set of packages, or any of their subpackages.
- method-contains-ref-to-type -- Selects methods that contain instructions with references
to a type (class or interface) that is a member of a specified set of
types (classes or interfaces).
- method-contains-ref-to-nested-type -- Selects methods that contain instructions with references
to nested types (classes or interfaces) of a specified set of types
(classes or interfaces).
- 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).
- method-contains-ref-to-method -- Selects methods that contain instructions which invoke methods
with names from a specified set of method-names.
- method-contains-ref-to-method-with-signature -- Selects methods that contain instructions which invoke
methods with a specified signature.
- method-contains-ref-to-method-with-signature-containing -- Selects methods that contain instructions which invoke
methods whose signature contains a type from a specified set of types.
- method-contains-ref-to-method-with-signature-containing-all -- Selects methods that contain instructions which invoke
methods whose signature contains all types of a specified set of types.
- method-contains-ref-to-method-with-result -- Selects methods that contain instructions which invoke
methods whose result-type is member of a specified set of types.
- method-contains-ref-to-field -- Selects methods that contain instructions which access fields
with names from a specified set of field-names.
- method-contains-ref-to-field-with-type -- Selects methods that contain instructions which access
fields whose type is member of a specified set of types.
- method-contains-ref-intra-package -- Selects methods that contain instructions with references
to the package of the class, in which the methods are defined.
- method-contains-ref-inter-package -- Selects methods that contain instructions with references
to other packages than the package of the class, in which the methods
are defined.