@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Resource
In order to inject the resources for this class, the resources must be defined in a class resource file. You should name field resources in the resource file using the class name followed by a period (.) and the key:
<classname>.<fieldname>
public abstract String key
Copyright © 2009–2019. All rights reserved.