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

com.greenfrvr.annyprefs.compiler.prefs.PrefField Maven / Gradle / Ivy

package com.greenfrvr.annyprefs.compiler.prefs;

import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeName;

import javax.lang.model.element.Element;

/**
 * Created by greenfrvr
 */
public interface PrefField {

    void setSource(Element element);

    String name();

    boolean hasResKey();

    String key();

    T value();

    TypeName fieldClass();

    String methodName();

    void putRestoreStatement(MethodSpec.Builder builder);

    void putSaveStatement(MethodSpec.Builder builder);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy