Class IvmlConversionOperationDescriptor

    • Constructor Detail

      • IvmlConversionOperationDescriptor

        IvmlConversionOperationDescriptor()
        Constructor for serialization.
      • IvmlConversionOperationDescriptor

        IvmlConversionOperationDescriptor​(TypeDescriptor<?> declaringType)
        Creates the operation descriptor.
        Parameters:
        declaringType - the declaring type
      • IvmlConversionOperationDescriptor

        IvmlConversionOperationDescriptor​(TypeDescriptor<?> declaringType,
                                          TypeDescriptor<?> returnType)
        Creates the operation descriptor.
        Parameters:
        declaringType - the declaring type
        returnType - the return 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