.addStatement("final $T where = $L.all().from(currentKeyspace, currentTable).where()", whereTypeName, privateFieldName)
.addStatement("return new $T(where)", newTypeName)
.returns(newTypeName)
.build();
}
<BUG>static MethodSpec buildFrom(TypeName newTypeName, TypeName whereTypeName, String privateFieldName) {
</BUG>
return MethodSpec.methodBuilder("fromBaseTable")
.addJavadoc("Generate a ... <strong>FROM xxx</strong> ... ")
.addModifiers(Modifier.PUBLIC, Modifier.FINAL)

.addStatement("final $T where = $L.all().from(currentKeyspace, currentTable).where()", whereTypeName, privateFieldName)
.addStatement("return new $T(where)", newTypeName)
.returns(newTypeName)
.build();
}
public MethodSpec buildFrom(TypeName newTypeName, TypeName whereTypeName, String privateFieldName) {
return MethodSpec.methodBuilder("fromBaseTable")
.addJavadoc("Generate a ... <strong>FROM xxx</strong> ... ")
.addModifiers(Modifier.PUBLIC, Modifier.FINAL)
