// find name annotation
if (optStatementName == null) {
if (annotations != null && annotations.length != 0) {
for (Annotation annotation : annotations) {
if (annotation instanceof Name) {
Name name = (Name) annotation;
if (name.value() != null) {
optStatementName = name.value();
}
}
}
}
}