/**
* Verifies constraints on the callback method and class.
*/
private Set<String> verifyCallback(ExecutableElement annotatedMethod,
TypeElement annotationElement, String cls, String method) {
Element classElement = annotatedMethod.getEnclosingElement();
if (verifiedClasses.add(classElement)) {
boolean hasNoArgConstructor = false;
for (ExecutableElement ctor : ElementFilter.constructorsIn(
classElement.getEnclosedElements())) {
if (ctor.getParameters().isEmpty()) {
hasNoArgConstructor = true;
break;
}
}