@Internal public class GroovyParameterElement extends AbstractGroovyElement implements ParameterElement
ParameterElement for Groovy.CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| Modifier and Type | Method and Description |
|---|---|
ClassElement |
getGenericType()
Returns the generic type of the element.
|
String |
getName() |
Object |
getNativeType()
Returns the native underlying type.
|
ClassElement |
getType() |
boolean |
isProtected() |
boolean |
isPublic() |
alignNewGenericsInfo, annotate, getAnnotationMetadata, getGenericElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisArray, isPrimitiveannotate, annotate, annotate, annotate, getDocumentation, getSimpleName, isAbstract, isFinal, isPrivate, isStaticbooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, 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, 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, synthesizeDeclaredAnnotationsByTypehasSimpleAnnotation, hasSimpleDeclaredAnnotationisDeclaredNullable, isNullablegetAnnotationMetadata@Nullable public ClassElement getGenericType()
TypedElementTypedElement.getType() as it returns
the actual type without erasure. Whilst TypedElement.getType() is often needed to produce the correct byte code when
generating code via ASM, the getGenericType() method is more useful for documentation and other types of code
generation.getGenericType in interface TypedElementpublic String getName()
public boolean isProtected()
isProtected in interface Elementpublic boolean isPublic()
public Object getNativeType()
ElementgetNativeType in interface Element@Nonnull public ClassElement getType()
getType in interface ParameterElementgetType in interface TypedElement