Class DefaultTypeParameterType

    • Method Detail

      • getFieldValues

        public Object[] getFieldValues()
        Description copied from interface: FieldsComparable
        A list of the fields that define the identity of this class. These fields can be used to compare if instances of a class are equal, or to generate a hash code for it.

        Have in mind not exposing fields of class Pattern, for example, that only check for reference equality (If that is not the desired behaviour).

        Specified by:
        getFieldValues in interface FieldsComparable
        Overrides:
        getFieldValues in class BaseMetadataType
      • accept

        public void accept​(MetadataTypeVisitor visitor)
        Description copied from interface: MetadataType
        Dispatches in a reflective way to the method with prefix "visit" with the specific type as argument. Example visitObject(ObjectType objectType) will be called when this type is an ObjectType.
        Specified by:
        accept in interface MetadataType
        Parameters:
        visitor - The visitor