@param type Class of AST node type. @param Type of AST node. @return List of AST nodes of the given class type in the AST.
(Class<T> type)
| 73 | * @return List of AST nodes of the given class type in the AST. |
| 74 | */ |
| 75 | public <T> List<T> search(Class<T> type) { |
| 76 | return search(type, new ArrayList<>()); |
| 77 | } |
| 78 | |
| 79 | @SuppressWarnings("unchecked") |
| 80 | private <T> List<T> search(Class<T> type, List<T> list) { |
no test coverage detected