Merge pull request #688 from MichaelEvans/target_acquired

Add METHOD target for use with AutoValue's abstract property methods
This commit is contained in:
Jesse Wilson 2015-08-14 18:58:18 -04:00
commit 6cd5ee63ea

View File

@ -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 {
/**