com.ftinc.scoop.Binding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scoops-compiler Show documentation
Show all versions of scoops-compiler Show documentation
A library to easily manage and switch between multiple theme setups in Android
The newest version!
package com.ftinc.scoop;
import com.squareup.javapoet.MethodSpec;
/**
* Created by r0adkll on 6/26/16.
*/
abstract class Binding {
final int id;
Binding(int id){
this.id = id;
}
abstract String getStatementFormat();
abstract Object[] getStatementArguments();
void brewStatement(MethodSpec.Builder method){
method.addStatement(getStatementFormat(), getStatementArguments());
}
}