Last active
September 17, 2017 05:47
-
-
Save ShikherVerma/7e59b206c7011fda2e4a93fdb6f52293 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Map<TypeElement, BindingSet> findAndParseTargets(RoundEnvironment env) { | |
Map<TypeElement, BindingSet.Builder> builderMap = new LinkedHashMap<>(); | |
... | |
// Process each @BindAnim element. | |
for... | |
... | |
// Process each @BindString element. | |
for... | |
// Process each @BindView element. | |
for (Element element : env.getElementsAnnotatedWith(BindView.class)) { | |
try { | |
parseBindView(element, builderMap, erasedTargetNames); | |
} catch (Exception e) { | |
logParsingError(element, BindView.class, e); | |
} | |
} | |
// Process each @BindViews element. | |
... | |
return bindingMap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment