net.jbock.convert.matching.AutoConversion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbock-compiler Show documentation
Show all versions of jbock-compiler Show documentation
jbock annotation processor
package net.jbock.convert.matching;
import com.squareup.javapoet.CodeBlock;
final class AutoConversion {
private final String qualifiedName;
private final CodeBlock code;
private final boolean multiline;
AutoConversion(
String qualifiedName,
CodeBlock code,
boolean multiline) {
this.qualifiedName = qualifiedName;
this.code = code;
this.multiline = multiline;
}
String qualifiedName() {
return qualifiedName;
}
CodeBlock code() {
return code;
}
boolean multiline() {
return multiline;
}
}