@Internal
public class JavaClassElementExt
extends io.micronaut.annotation.processing.visitor.JavaClassElement
TypeElement.
Implementation note: [smell] this class needs to track changes to JavaClassElement.
For example: JavaClassElement introduced JavaClassElement.arrayDimensions
resulting in a processing bug in this library when this class didn't account for it in the constructor.classElement, visitorContext| Constructor and Description |
|---|
JavaClassElementExt(io.micronaut.inject.ast.ClassElement ce,
io.micronaut.inject.visitor.VisitorContext visitorContext) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<io.micronaut.inject.ast.PropertyElement> |
beanProperties()
Returns the bean properties.
|
boolean |
equals(java.lang.Object o) |
java.util.List<io.micronaut.inject.ast.PropertyElement> |
fluentBeanProperties()
Returns fluent accessor methods.
|
java.util.List<io.micronaut.inject.ast.MethodElement> |
getCandidateMethods()
Returns the methods of this class.
|
java.util.Optional<java.lang.String> |
getDocumentation() |
static io.micronaut.inject.ast.ClassElement |
getGenericReturnType(io.micronaut.inject.ast.MethodElement method,
io.micronaut.inject.visitor.VisitorContext visitorContext)
Returns the return type of the method.
|
static io.micronaut.inject.ast.ClassElement |
getReturnType(io.micronaut.inject.ast.MethodElement method,
io.micronaut.inject.visitor.VisitorContext visitorContext)
Returns the return type of the method.
|
java.util.Optional<io.micronaut.inject.ast.ClassElement> |
getSuperType() |
int |
hashCode() |
io.micronaut.inject.ast.ClassElement |
withArrayDimensions(int arrayDimensions) |
getAllTypeArguments, getArrayDimensions, getBeanProperties, getDefaultConstructor, getEnclosedElements, getName, getPackageName, getPrimaryConstructor, getSimpleName, getTypeArguments, getTypeArguments, isAbstract, isArray, isAssignable, isAssignable, isInner, isInterface, isPrimitive, isRecordannotate, getAnnotationMetadata, getNativeType, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, mirrorToClassElement, mirrorToClassElement, mirrorToClassElement, parameterizedClassElement, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCanonicalName, getEnclosedElement, getFields, getFields, getFirstTypeArgument, getType, getTypeArguments, isAssignable, isEnum, isIterable, isOptional, of, of, ofannotate, annotate, annotate, annotate, getNativeType, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticbooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypehasDeclaredStereotypepublic JavaClassElementExt(io.micronaut.inject.ast.ClassElement ce,
io.micronaut.inject.visitor.VisitorContext visitorContext)
ce - The ClassElementvisitorContext - The visitor contextpublic io.micronaut.inject.ast.ClassElement withArrayDimensions(int arrayDimensions)
withArrayDimensions in interface io.micronaut.inject.ast.ArrayableClassElementwithArrayDimensions in class io.micronaut.annotation.processing.visitor.JavaClassElementpublic java.util.Optional<java.lang.String> getDocumentation()
public java.util.Optional<io.micronaut.inject.ast.ClassElement> getSuperType()
getSuperType in interface io.micronaut.inject.ast.ClassElementgetSuperType in class io.micronaut.annotation.processing.visitor.JavaClassElementpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static io.micronaut.inject.ast.ClassElement getReturnType(io.micronaut.inject.ast.MethodElement method,
io.micronaut.inject.visitor.VisitorContext visitorContext)
method - method.visitorContext - The visitor context.public static io.micronaut.inject.ast.ClassElement getGenericReturnType(io.micronaut.inject.ast.MethodElement method,
io.micronaut.inject.visitor.VisitorContext visitorContext)
method - method.visitorContext - The visitor context.public java.util.List<io.micronaut.inject.ast.MethodElement> getCandidateMethods()
public java.util.List<io.micronaut.inject.ast.PropertyElement> beanProperties()
public java.util.List<io.micronaut.inject.ast.PropertyElement> fluentBeanProperties()