Products Google Developers PropertyName public abstract @interface PropertyName implements Annotation Marks a field to be renamed when serialized. Public Method Summary String value() Inherited Method Summary From interface java.lang.annotation.Annotation abstract Class<? extends Annotation> annotationType() abstract boolean equals(Object arg0) abstract int hashCode() abstract String toString() Public Methods public String value () Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated June 28, 2018.