TypeElement provider = applications.getProcessingContext().getTypeElement(providerName); if (provider.getKind() == ElementKind.CLASS) { List<? extends TypeMirror> superTypes = applications.getProcessingContext().directSupertypes((TypeMirror)provider.asType()); if (superTypes.size() > 0) { TypeMirror superType = superTypes.get(0);
TypeElement provider = applications.getProcessingContext().getTypeElement(providerName); if (provider.getKind() == ElementKind.CLASS) { List<? extends TypeMirror> superTypes = applications.getProcessingContext().directSupertypes((TypeMirror)provider.asType()); if (superTypes.size() > 0) { TypeMirror superType = superTypes.get(0);