Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added AnnotationHelper instance to IntentBuilder
  • Loading branch information
johncarl81 committed Sep 29, 2015
commit 1a6d0d30a266594979f736d4401fb82ad88f8f65
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.androidannotations.AndroidAnnotationsEnvironment;
import org.androidannotations.helper.APTCodeModelHelper;
import org.androidannotations.helper.AndroidManifest;
import org.androidannotations.helper.AnnotationHelper;
import org.androidannotations.helper.Pair;
import org.androidannotations.holder.HasIntentBuilder;
import org.androidannotations.internal.process.ProcessHolder;
Expand Down Expand Up @@ -68,11 +69,13 @@ public abstract class IntentBuilder {
protected Elements elementUtils;
protected Types typeUtils;
protected APTCodeModelHelper codeModelHelper;
protected AnnotationHelper annotationHelper;

public IntentBuilder(HasIntentBuilder holder, AndroidManifest androidManifest) {
this.environment = holder.getEnvironment();
this.holder = holder;
this.androidManifest = androidManifest;
this.annotationHelper = new AnnotationHelper(environment);
codeModelHelper = new APTCodeModelHelper(environment);
elementUtils = environment.getProcessingEnvironment().getElementUtils();
typeUtils = environment.getProcessingEnvironment().getTypeUtils();
Expand Down