Class AbstractIvmlTypeOperationDescriptor

  • All Implemented Interfaces:
    IMetaOperation

    public abstract class AbstractIvmlTypeOperationDescriptor
    extends IvmlOperationDescriptor
    An abstract basic operation descriptor for type operations.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • AbstractIvmlTypeOperationDescriptor

        AbstractIvmlTypeOperationDescriptor​(TypeDescriptor<?> declaringType,
                                            java.lang.String name,
                                            boolean isConstructor)
        Creates a new operation descriptor. Overriding constructors shall call #setCharacteristics(OperationType, AliasType, boolean) in order to redefined the default values.
        Parameters:
        declaringType - the declaring type
        name - the alias name (may be null if the original name of method shall be used)
        isConstructor - whether the operation is a constructor
    • Method Detail

      • getActualType

        protected TypeDescriptor<?> getActualType​(java.lang.Object ob)
        Returns the actual type of ob.
        Parameters:
        ob - the object to return the type for
        Returns:
        the type