add butlast+last from tools.analyzer.jvm