Skip to content

Instantly share code, notes, and snippets.

@ShikherVerma
Last active September 17, 2017 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShikherVerma/4ad10e06887b2485259b59b367d9e5e7 to your computer and use it in GitHub Desktop.
Save ShikherVerma/4ad10e06887b2485259b59b367d9e5e7 to your computer and use it in GitHub Desktop.
Map<TypeElement, BindingSet> bindingMap = findAndParseTargets(env);
for (Map.Entry<TypeElement, BindingSet> entry : bindingMap.entrySet()) {
TypeElement typeElement = entry.getKey();
BindingSet binding = entry.getValue();
JavaFile javaFile = binding.brewJava(sdk, debuggable);
javaFile.writeTo(filer);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment