com.github.stephanenicolas.mimic.annotations.MimicField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mimic-annotations Show documentation
Show all versions of mimic-annotations Show documentation
The annotations of the library. Should be included in runtime scope of projects using mimic.
The newest version!
package com.github.stephanenicolas.mimic.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ })
@Retention(RetentionPolicy.CLASS)
/**
* Defines that a field is to be copied. Can only be used inside {@link Mimic}.
* @author SNI
*/
public @interface MimicField {
/** Name of the field to mimic.*/
String fieldName();
}