Directly import com.atlassian.jira.ComponentManager
in java file does not work.
atlassian-create-jira-plugin-module
then choosing Component Import and specifying com.atlassian.jira.ComponentManager does not, either.
I have looked into some tutorial and just does not get the approach.