Add METHOD target for use with AutoValue's abstract property methods
This commit is contained in:
parent
b4978a8062
commit
64d74db8ae
|
@ -64,7 +64,7 @@ import java.lang.annotation.Target;
|
|||
* @author Joel Leitch
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
@Target({ElementType.FIELD, ElementType.METHOD})
|
||||
public @interface SerializedName {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue