MStatementSearchable

- Added documentation for `search(TypeInfo_Class)` method
This commit is contained in:
Tristan B. Velloza Kildaire 2023-05-09 17:35:35 +02:00
parent 2d9e19d433
commit 7bd31ae770
1 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,15 @@ public interface MTypeRewritable
*/
public interface MStatementSearchable
{
/**
* Searches for all objects of the given type
* and returns an array of them. Only if the given
* type is equal to or sub-of `Statement`
*
* Params:
* clazzType = the type to search for
* Returns: an array of `Statement` (a `Statement[]`)
*/
public Statement[] search(TypeInfo_Class clazzType);
}