Package io.determann.shadow.api
Interface ShadowFactory
public interface ShadowFactory
-
Method Summary
Modifier and TypeMethodDescriptionannotationUsages(List<? extends AnnotationMirror> annotationMirrors) <SHADOW extends Shadow<? extends TypeMirror>>
SHADOWshadowFromElement(Element element) Elements represent a usage. so for example a field may have the typeList<String>.<SHADOW extends Shadow<? extends TypeMirror>>
SHADOWshadowFromType(TypeMirror typeMirror) TypeMirrors represent the abstract code.
-
Method Details
-
shadowFromElement
Elements represent a usage. so for example a field may have the typeList<String>. When you want the resultingShadowto representList<String>and not justList<T>use theElementto create it.- See Also:
-
shadowFromType
TypeMirrors represent the abstract code.List<T>for example.- See Also:
-
annotationUsages
-