All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.greenrobot.greendao.annotation.Keep Maven / Gradle / Ivy

The newest version!
package org.greenrobot.greendao.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Specifies that the target should be kept during next run of greenDAO generation.
 * 

* Using this annotation on an Entity class itself silently disables any class modification. * The user is responsible to write and support any code which is required for greenDAO. *

*

* Don't use this annotation on a class member if you are not completely sure what you are doing, because in * case of model changes greenDAO will not be able to make corresponding changes into the code of the target. *

* * @see Generated */ @Retention(RetentionPolicy.SOURCE) @Target({ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.TYPE}) public @interface Keep { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy