[BUG #7810] extract methods
[BUG #7810] also consider meta files for resources