[ilib] Expose method semantics to ilmethod