#15 add method index and save method indexes for mapping dsl