Merge pull request #688 from MichaelEvans/target_acquired
Add METHOD target for use with AutoValue's abstract property methods
This commit is contained in:
commit
6cd5ee63ea
|
@ -64,7 +64,7 @@ import java.lang.annotation.Target;
|
||||||
* @author Joel Leitch
|
* @author Joel Leitch
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target(ElementType.FIELD)
|
@Target({ElementType.FIELD, ElementType.METHOD})
|
||||||
public @interface SerializedName {
|
public @interface SerializedName {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user