use of org.androidannotations.internal.core.handler.AfterInjectHandler in project androidannotations by androidannotations.
the class CorePlugin method getHandlers.
@Override
public List<AnnotationHandler<?>> getHandlers(AndroidAnnotationsEnvironment androidAnnotationEnv) {
List<AnnotationHandler<?>> annotationHandlers = new ArrayList<>();
annotationHandlers.add(new EApplicationHandler(androidAnnotationEnv));
annotationHandlers.add(new EActivityHandler(androidAnnotationEnv));
annotationHandlers.add(new EProviderHandler(androidAnnotationEnv));
annotationHandlers.add(new EReceiverHandler(androidAnnotationEnv));
annotationHandlers.add(new EServiceHandler(androidAnnotationEnv));
annotationHandlers.add(new EIntentServiceHandler(androidAnnotationEnv));
annotationHandlers.add(new EFragmentHandler(androidAnnotationEnv));
annotationHandlers.add(new EBeanHandler(androidAnnotationEnv));
annotationHandlers.add(new EViewGroupHandler(androidAnnotationEnv));
annotationHandlers.add(new EViewHandler(androidAnnotationEnv));
annotationHandlers.add(new SharedPrefHandler(androidAnnotationEnv));
annotationHandlers.add(new PrefHandler(androidAnnotationEnv));
annotationHandlers.add(new ViewByIdHandler(androidAnnotationEnv));
annotationHandlers.add(new ViewsByIdHandler(androidAnnotationEnv));
annotationHandlers.add(new FragmentByIdHandler(androidAnnotationEnv));
annotationHandlers.add(new FragmentByTagHandler(androidAnnotationEnv));
annotationHandlers.add(new FromHtmlHandler(androidAnnotationEnv));
annotationHandlers.add(new ClickHandler(androidAnnotationEnv));
annotationHandlers.add(new LongClickHandler(androidAnnotationEnv));
annotationHandlers.add(new TouchHandler(androidAnnotationEnv));
annotationHandlers.add(new FocusChangeHandler(androidAnnotationEnv));
annotationHandlers.add(new CheckedChangeHandler(androidAnnotationEnv));
annotationHandlers.add(new ItemClickHandler(androidAnnotationEnv));
annotationHandlers.add(new ItemSelectHandler(androidAnnotationEnv));
annotationHandlers.add(new ItemLongClickHandler(androidAnnotationEnv));
annotationHandlers.add(new EditorActionHandler(androidAnnotationEnv));
for (AndroidRes androidRes : AndroidRes.values()) {
if (androidRes == AndroidRes.ANIMATION) {
annotationHandlers.add(new AnimationResHandler(androidAnnotationEnv));
} else if (androidRes == AndroidRes.COLOR) {
annotationHandlers.add(new ColorResHandler(androidAnnotationEnv));
} else if (androidRes == AndroidRes.COLOR_STATE_LIST) {
annotationHandlers.add(new ColorStateListResHandler(androidAnnotationEnv));
} else if (androidRes == AndroidRes.DRAWABLE) {
annotationHandlers.add(new DrawableResHandler(androidAnnotationEnv));
} else if (androidRes == AndroidRes.HTML) {
annotationHandlers.add(new HtmlResHandler(androidAnnotationEnv));
} else {
annotationHandlers.add(new DefaultResHandler(androidRes, androidAnnotationEnv));
}
}
annotationHandlers.add(new TransactionalHandler(androidAnnotationEnv));
annotationHandlers.add(new FragmentArgHandler(androidAnnotationEnv));
annotationHandlers.add(new SystemServiceHandler(androidAnnotationEnv));
annotationHandlers.add(new NonConfigurationInstanceHandler(androidAnnotationEnv));
annotationHandlers.add(new AppHandler(androidAnnotationEnv));
annotationHandlers.add(new BeanHandler(androidAnnotationEnv));
annotationHandlers.add(new InjectMenuHandler(androidAnnotationEnv));
annotationHandlers.add(new OptionsMenuHandler(androidAnnotationEnv));
annotationHandlers.add(new OptionsMenuItemHandler(androidAnnotationEnv));
annotationHandlers.add(new OptionsItemHandler(androidAnnotationEnv));
annotationHandlers.add(new CustomTitleHandler(androidAnnotationEnv));
annotationHandlers.add(new FullscreenHandler(androidAnnotationEnv));
annotationHandlers.add(new RootContextHandler(androidAnnotationEnv));
annotationHandlers.add(new ExtraHandler(androidAnnotationEnv));
annotationHandlers.add(new BeforeTextChangeHandler(androidAnnotationEnv));
annotationHandlers.add(new TextChangeHandler(androidAnnotationEnv));
annotationHandlers.add(new AfterTextChangeHandler(androidAnnotationEnv));
annotationHandlers.add(new SeekBarProgressChangeHandler(androidAnnotationEnv));
annotationHandlers.add(new SeekBarTouchStartHandler(androidAnnotationEnv));
annotationHandlers.add(new SeekBarTouchStopHandler(androidAnnotationEnv));
annotationHandlers.add(new KeyDownHandler(androidAnnotationEnv));
annotationHandlers.add(new KeyLongPressHandler(androidAnnotationEnv));
annotationHandlers.add(new KeyMultipleHandler(androidAnnotationEnv));
annotationHandlers.add(new KeyUpHandler(androidAnnotationEnv));
annotationHandlers.add(new ServiceActionHandler(androidAnnotationEnv));
annotationHandlers.add(new InstanceStateHandler(androidAnnotationEnv));
annotationHandlers.add(new HttpsClientHandler(androidAnnotationEnv));
annotationHandlers.add(new HierarchyViewerSupportHandler(androidAnnotationEnv));
annotationHandlers.add(new WindowFeatureHandler(androidAnnotationEnv));
annotationHandlers.add(new ReceiverHandler(androidAnnotationEnv));
annotationHandlers.add(new ReceiverActionHandler(androidAnnotationEnv));
annotationHandlers.add(new OnActivityResultHandler(androidAnnotationEnv));
annotationHandlers.add(new PageScrolledHandler(androidAnnotationEnv));
annotationHandlers.add(new PageScrollStateChangedHandler(androidAnnotationEnv));
annotationHandlers.add(new PageSelectedHandler(androidAnnotationEnv));
annotationHandlers.add(new IgnoreWhenHandler(androidAnnotationEnv));
annotationHandlers.add(new AfterInjectHandler(androidAnnotationEnv));
annotationHandlers.add(new AfterExtrasHandler(androidAnnotationEnv));
annotationHandlers.add(new AfterViewsHandler(androidAnnotationEnv));
annotationHandlers.add(new PreferenceScreenHandler(androidAnnotationEnv));
annotationHandlers.add(new PreferenceHeadersHandler(androidAnnotationEnv));
annotationHandlers.add(new PreferenceByKeyHandler(androidAnnotationEnv));
annotationHandlers.add(new PreferenceChangeHandler(androidAnnotationEnv));
annotationHandlers.add(new PreferenceClickHandler(androidAnnotationEnv));
annotationHandlers.add(new AfterPreferencesHandler(androidAnnotationEnv));
annotationHandlers.add(new TraceHandler(androidAnnotationEnv));
/*
* WakeLockHandler must be after TraceHandler but before UiThreadHandler
* and BackgroundHandler
*/
annotationHandlers.add(new WakeLockHandler(androidAnnotationEnv));
/*
* UIThreadHandler and BackgroundHandler must be after TraceHandler and
* IgnoreWhen
*/
annotationHandlers.add(new UiThreadHandler(androidAnnotationEnv));
annotationHandlers.add(new BackgroundHandler(androidAnnotationEnv));
/*
* SupposeUiThreadHandler and SupposeBackgroundHandler must be after all
* handlers that modifies generated method body
*/
annotationHandlers.add(new SupposeUiThreadHandler(androidAnnotationEnv));
annotationHandlers.add(new SupposeBackgroundHandler(androidAnnotationEnv));
return annotationHandlers;
}
Aggregations