The Developer Preview for Android 11 is now available; test it out and share your feedback.

StringRes

public abstract @interface StringRes
implements Annotation

android.support.annotation.StringRes


Denotes that an integer parameter, field or method return value is expected to be a String resource reference (e.g. android.R.string.ok).

Summary

Inherited methods

From interface java.lang.annotation.Annotation