public class GroovyFieldElement extends AbstractGroovyElement implements io.micronaut.inject.ast.FieldElement
Variable
. The
variable could be a field or property node.compilationUnit, visitorContext
Modifier and Type | Method and Description |
---|---|
int |
getArrayDimensions() |
io.micronaut.inject.ast.ClassElement |
getDeclaringType() |
io.micronaut.inject.ast.ClassElement |
getGenericField() |
java.util.Set<io.micronaut.inject.ast.ElementModifier> |
getModifiers() |
java.lang.String |
getName() |
java.lang.Object |
getNativeType() |
io.micronaut.inject.ast.ClassElement |
getType() |
boolean |
isAbstract() |
boolean |
isArray() |
boolean |
isFinal() |
boolean |
isPrimitive() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
java.lang.String |
toString() |
alignNewGenericsInfo, annotate, annotate, equals, getAnnotationMetadata, getGenericElement, hashCode, isPackagePrivate, removeAnnotation, removeAnnotationIf, removeStereotype, resolveAnnotationMetadata, resolveModifiers, resolveModifiers, resolveModifiers
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
annotate, annotate, annotate, annotate, annotate, getDescription, getDocumentation, getSimpleName, isPackagePrivate, removeAnnotation, removeAnnotation, removeAnnotationIf, removeStereotype, removeStereotype
booleanValue, 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, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDeclaredMetadata, 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, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresent
public java.util.Set<io.micronaut.inject.ast.ElementModifier> getModifiers()
getModifiers
in interface io.micronaut.inject.ast.Element
getModifiers
in interface io.micronaut.inject.ast.MemberElement
public java.lang.String toString()
toString
in class java.lang.Object
public io.micronaut.inject.ast.ClassElement getGenericField()
getGenericField
in interface io.micronaut.inject.ast.FieldElement
public boolean isPrimitive()
isPrimitive
in interface io.micronaut.inject.ast.TypedElement
public boolean isArray()
isArray
in interface io.micronaut.inject.ast.TypedElement
public int getArrayDimensions()
getArrayDimensions
in interface io.micronaut.inject.ast.TypedElement
public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named
getName
in interface io.micronaut.inject.ast.Element
public boolean isAbstract()
isAbstract
in interface io.micronaut.inject.ast.Element
public boolean isStatic()
isStatic
in interface io.micronaut.inject.ast.Element
public boolean isPublic()
isPublic
in interface io.micronaut.inject.ast.Element
public boolean isPrivate()
isPrivate
in interface io.micronaut.inject.ast.Element
public boolean isFinal()
isFinal
in interface io.micronaut.inject.ast.Element
public boolean isProtected()
isProtected
in interface io.micronaut.inject.ast.Element
public java.lang.Object getNativeType()
getNativeType
in interface io.micronaut.inject.ast.Element
@NonNull public io.micronaut.inject.ast.ClassElement getType()
getType
in interface io.micronaut.inject.ast.TypedElement
public io.micronaut.inject.ast.ClassElement getDeclaringType()
getDeclaringType
in interface io.micronaut.inject.ast.MemberElement