Annotation and static string field
Closed this issue · 1 comments
nicolaichuk commented
All work well when i write this code:
public class SameSystem {
@Wire(name = "same_name")
static public SameClass mSameClass;
}
But annotation don't work, when i write this code:
public class SameSystem {
public static final String SAME_NAME = "same_name";
@Wire(name = SameSystem.SAME_NAME)
static public SameClass mSameClass;
}
Annotation wire field name equal null in this case.
nicolaichuk commented
My mistake :)