syntacticClassificationAccordingToContext

See JLS 6.5.1 Syntactic Classification of a Name According to Context.

Most users do not want to call directly this method but call classifyReference instead.