epoxy-processor / com.airbnb.epoxy / javax.lang.model.element.TypeElement

Extensions for javax.lang.model.element.TypeElement

buildAnnotationSpecs

fun TypeElement.buildAnnotationSpecs(annotationFilter: (ClassName) -> Boolean): List<AnnotationSpec>

Returns a list of annotations specs representing annotations on the given type element.

executableElements

fun TypeElement.executableElements(): List<ExecutableElement>

findOverload

fun TypeElement.findOverload(element: ExecutableElement, paramCount: Int): ExecutableElement?

getParentClassElement

fun TypeElement.getParentClassElement(types: Types): TypeElement?

hasOverload

fun TypeElement.hasOverload(element: ExecutableElement, paramCount: Int): Boolean