Scenario is something like below...
@Component
@Migration(description="Test Description", serial="")
public class TestUpdate1 {
}
I need to get the value of description
i.e. "Test Description"
How can I do that
Scenario is something like below...
@Component
@Migration(description="Test Description", serial="")
public class TestUpdate1 {
}
I need to get the value of description
i.e. "Test Description"
How can I do that
You can possibly get the value like this way
JsonElement jsonElement = methods[i].getAnnotation(JsonElement.class);
int type = jsonElement.type();