Class ElementUtil
java.lang.Object
io.quarkus.annotation.processor.util.ElementUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) StringBuilderbuildRelativeBinaryName(TypeElement typeElement, StringBuilder builder) getAnnotations(Element element) getAnnotationValues(AnnotationMirror annotation) getBinaryName(TypeElement clazz) getPackageName(TypeElement clazz) getPackageOf(TypeElement clazz) getQualifiedName(TypeMirror type) getRelativeBinaryName(TypeElement typeElement) booleanisAnnotationPresent(Element element, String... annotationNames) booleanbooleanisLocalClass(TypeElement clazz) This is less than ideal but it's the only way I found to detect if a class is local or not.simplifyGenericType(TypeMirror typeMirror)
-
Constructor Details
-
ElementUtil
ElementUtil(ProcessingEnvironment processingEnv)
-
-
Method Details
-
getQualifiedName
-
getBinaryName
-
getRelativeBinaryName
-
buildRelativeBinaryName
-
simplifyGenericType
-
getAnnotations
-
getAnnotationValues
-
getPackageOf
-
getPackageName
-
getClassOf
-
isAnnotationPresent
-
isLocalClass
This is less than ideal but it's the only way I found to detect if a class is local or not.It is important because, while we can scan the annotations of classes in the classpath, we cannot get their javadoc, which in the case of config doc generation is problematic.
-
getJavadoc
-
addMissingJavadocError
-
isJdkClass
-