public class DefaultTypeParameterType extends BaseMetadataType implements TypeParameterType
annotations, BASE_REFLECTION_FIELDS| Constructor and Description |
|---|
DefaultTypeParameterType(String name,
MetadataFormat metadataFormat,
Map<Class<? extends TypeAnnotation>,TypeAnnotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetadataTypeVisitor visitor)
Dispatches in a reflective way to the method with prefix "visit" with the specific type as argument.
|
String |
getName()
The name of the type parameter
|
Field[] |
getReflectionComparableFields()
A list of the fields that define the identity of this class.
|
equals, getAnnotation, getAnnotations, getDescription, getMetadataFormat, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getDescription, getMetadataFormatpublic DefaultTypeParameterType(String name, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> annotations)
public Field[] getReflectionComparableFields()
ReflectionAwareComparable
Have in mind not exposing fields of class Pattern, for example, that only check for reference
equality (If that is not the desired behaviour).
getReflectionComparableFields in interface ReflectionAwareComparablegetReflectionComparableFields in class BaseMetadataTypepublic String getName()
TypeParameterTypegetName in interface TypeParameterTypepublic void accept(MetadataTypeVisitor visitor)
MetadataTypevisitObject(ObjectType objectType) will be called when this type is an ObjectType.accept in interface MetadataTypevisitor - The visitorCopyright © 2025 MuleSoft, Inc.. All rights reserved.