void (@NotNull MatchingHandler handler, @NotNull NodeFilter filter) { if (handler.getFilter() != null && handler.getFilter().getClass() != filter.getClass()) { // for constructor we will have the same handler for class and method and tokens itself handler.setFilter(new CompositeNodeFilter(filter, handler.getFilter())); } else { handler.setFilter(filter); } }