Searching for duplicate code will now take care of other methods in the same class

Signed-off-by: RedChrome <redchrome@gmx.de>