@@ -68,20 +68,22 @@ boolean considerSubtypes(Callable callable) {
6868}
6969
7070/**
71- * Holds if the given package is a candidate for automodeling.
71+ * Holds if the given package, type, name and signature is a candidate for automodeling.
7272 *
73- * This predicate is extensible, so that different packages can be selected at runtime.
73+ * This predicate is extensible, so that different endpoints can be selected at runtime.
7474 */
75- extensible predicate automodelCandidatePackageFilter ( string package ) ;
75+ extensible predicate automodelCandidateFilter (
76+ string package , string type , string name , string signature
77+ ) ;
7678
7779/**
78- * Holds if the given package is a candidate for automodeling.
80+ * Holds if the given package, type, name and signature is a candidate for automodeling.
7981 *
8082 * This relies on an extensible predicate, and if that is not supplied then
81- * all packages are considered candidates.
83+ * all endpoints are considered candidates.
8284 */
83- bindingset [ package]
84- predicate automodelCandidateFilter ( string package ) {
85- not automodelCandidatePackageFilter ( _) or
86- automodelCandidatePackageFilter ( package )
85+ bindingset [ package, type , name , signature ]
86+ predicate includeAutomodelCandidate ( string package , string type , string name , string signature ) {
87+ not automodelCandidateFilter ( _ , _ , _ , _) or
88+ automodelCandidateFilter ( package , type , name , signature )
8789}
0 commit comments