Class IvmlConstructorOperationDescriptor

  • All Implemented Interfaces:
    IMetaOperation

    public class IvmlConstructorOperationDescriptor
    extends IvmlOperationDescriptor
    Implements an IMVL type constructor.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • IvmlConstructorOperationDescriptor

        IvmlConstructorOperationDescriptor()
        For serialization.
      • IvmlConstructorOperationDescriptor

        IvmlConstructorOperationDescriptor​(TypeDescriptor<?> declaringType,
                                           IDatatype ivmlType)
        Creates a constructor descriptor without parameters.
        Parameters:
        declaringType - the declaring type.
        ivmlType - the IVML type (for declaring type)
    • Method Detail

      • isCompatible

        public IMetaOperation.CompatibilityResult isCompatible​(java.lang.Class<?> retType,
                                                               java.lang.Object... params)
        Description copied from interface: IMetaOperation
        Returns whether the operation represented by this instance is compatible to the given return type and parameters. This method does not consider possible unnamed parameter rather than the underlying Java parameter.
        Parameters:
        retType - the return type (may be null in order to ignore this parameter)
        params - the parameters (may be null if there are none, may be classes)
        Returns:
        an instance of IMetaOperation.CompatibilityResult denoting the actual compatibility level