You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0e1ae8f
Browse filesBrowse the repository at this point in the historyBrowse files
Log a warning when a @rootcontext field isn't populated
When a bean is injected in another class which has a different Context
from the required @rootcontext field class, the field is left null. This
could produce hard to find bugs. The fix adds a log to warn the user.
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/processing/RootContextProcessor.java
JExpressionexpr = lit("Due to Context class ").plus(holder.contextRef.invoke("getClass").invoke("getSimpleName")).plus(lit(", the @RootContext " + extendingContextClass.name() + " won't be populated"));
0 commit comments