getInstanceWithCodeIndexAndInfo method finished. close #4.