update macro

add detecting isClassMethod with '+'