add method handling

Change-Id: Ie84a8591ea2b1025cd4ab060a8eb382648ff698b
Signed-off-by: ezhayix <lucky.zhao@ericsson.com>