CodePudding user response:
Can consider to use the publicCodePudding user response:
Please refer to the source:Private static & lt; T extends AccessibleObject & amp; Member> Void validateMember (T object) {
Int modifiers=object. GetModifiers ();
If ((modifiers & amp; (PRIVATE | STATIC))!=0) {
throw new an IllegalStateException (object. The getDeclaringClass (). The getName ()
+ ". "
+ object. The getName ()
+ "must not be private or static");
}
If ((modifiers & amp; PUBLIC)==0) {
Object. SetAccessible (true);
}
}
CodePudding user response:
Using the public modifier can ~CodePudding user response:
Butter knife can't use private modifiers, and other public, Default and protected, the principle of butter knife is the same directory to generate a class, so can't use private modifiers butter knife annotationsCodePudding user response:
You don't in the fart of company and HegelCodePudding user response:
Somebody else's tip don't use a private or static, then let's again with somebody else, just listen to a somebody else need not private