What can Psychoportive Talent effectively deny?


The description of the Psychoportive Talent Trait says,

You can expend your psionic focus as an immediate action to make a five-foot step. You may do this even if you have already moved in the round in question, although not if you have already taken a five-foot step, and doing so does not prevent further movement in this round.

What kind of attacks can I completely negate by using this ability ? Specifically (assuming no one has Reach):

1). A single melee attack from a creature who starts adjacent to me on the beginning of its turn.
2). All iterative melee attacks from the same creature.
3). A single melee attack from a creature who takes a regular Move action on its turn to move adjacent to me.
4). An attack from a creature made as part of a charge on its turn.
5). All iterative attacks from the same charging creature with Pounce.
6). A projectile ranged attack (i.e. crossbow bolt) targeting me.
6a). Same as above, and I am able to Psychoport behind an obstacle to break LoS.
7, 7a). A Ray attack targeting me (same consideration as above).
8). A Line/Cone/Burst/Spread spell effect, when I am able to Psychoport out of its area of effect.

I think there must be some basic unifying rule that describes how immediate movement interacts with attacks, but I don’t know what it might be.