阅读背景:

如何从Java中的常量为注释提供枚举值

来源:互联网 

I'm unable to use an Enum taken from a Constant as a parameter in an annotation. I get this compilation error: "The value for annotation attribute [attribute] must be an enum constant expression".I'm unable to use an Enum taken from a Constant




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: