|
implements(*interfaces)
Registers the interfaces implemented by a component when placed in
the class header |
source code
|
|
|
abstract()
Declare a component as abstract when placed in the class header |
source code
|
|
|
implementations(interface,
recurse=True,
abstract=False)
Returns the components implementing interface, and if recurse, any of
the descendants of interface. |
source code
|
|
|
|
|
extend_unique(list1,
list2)
Extend list1 with list2 as list.extend(), but doesn't append
duplicates to list1 |
source code
|
|
|
find_implementations(interface,
recurse,
abstract,
result)
Find implementations of an interface or of one of its descendants and
extend result with the classes found. |
source code
|
|