arch.ether.processor.builder.EtherBuilder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ether-processor Show documentation
Show all versions of ether-processor Show documentation
Ether is a framework using PubSub architectures that can be used as a replacement for common model-view archtectures such as MVP/MVC/MVVM etc.
The newest version!
package arch.ether.processor.builder
import com.google.auto.common.MoreElements.getPackage
import javax.lang.model.element.Element
/**
* Base class of all the builders
*/
open class EtherBuilder(val element: Element, val bindingManager: BindingManager) {
/**Package name of the data class*/
val packageName = getPackage(element).qualifiedName.toString()
/**Data class class*/
val className = element.simpleName.toString()
val fileName = "Abstract${className}Publisher"
val producerClassName = "Abstract${className}Publisher"
}