Module java.base

Interface Constable

    • Method Detail

      • describeConstable

        Optional<? extends ConstantDesc> describeConstable()
        Returns an Optional containing the nominal descriptor for this instance, if one can be constructed, or an empty Optional if one cannot be constructed.
        Returns:
        An Optional containing the resulting nominal descriptor, or an empty Optional if one cannot be constructed.