How to get the all the value of select custom field?

Any friends know how to get all the value of this customField type through jira-plugin api??? I really cannot find any method to get

From within the context of an issue, you can use this (it’s from a groovy script, may need translating into java)

customField buildFromField = customFieldManager.getCustomFieldObjects(issue)find {it.name == fieldNameToList}
FieldConfig optionsFieldConfig = buildFromField.getRelevantConfig(issue)
Options optionsFound = optionsManager.getOptions (optionsFieldConfig)

Oh thank you, I find the method now, it is the nearly same as your groovy script