Hi there!

Considering the following class definition in java:

public class xpto {

....

}

I would like to get the string 'public' (saying that the class is public)  from the token relating to this class definition.

I tried to use: (semantic-token-extra-spec TAG 'typemodifiers)
but it's always returning 'nil'.

Can someone tell why? Or can someone tell me a way to do this.

Best regards,
Henda