Welcome to 101 Guitar Licks. This lick is in the key of C minor. This will definitely be useful in a jazz context, but will also work over Malmsteen-type metal. We're basically just dealing with arpeggios which outline the chords indicated.
The hammer-on and pull-off markings are included as suggestions only. If these techniques aren't your style, feel free to pick every note. Have fun! --DP
Listen to audio of this lick: 80bpm 120bpm