Packages

trait PrettyUtil extends AnyRef

Utility methods for constructing Pretty instances.

Linear Supertypes
Known Subclasses
ApplicationId, CommandId, DomainAlias, SequencerAlias, WorkflowId, GetTransactionById, GetTransactionById, CantonStatus, CommunityCantonStatus, EnterpriseCantonStatus, SequencerBasedRegisterTopologyTransactionHandleX, ApiType, Grpc, InstanceName, CommunityCryptoProvider, Jce, Tink, CommunityDbConfig, H2, Postgres, ConnectionAllocation, CryptoProvider, JceCryptoProvider, TinkCryptoProvider, DbConfig, DbParametersConfig, DomainTimeTrackerConfig, EnterpriseCryptoProvider, Jce, Kms, Tink, EnterpriseDbConfig, H2, Oracle, Postgres, H2DbConfig, NonNegativeDuration, NonNegativeFiniteDuration, PositiveDurationSeconds, PositiveFiniteDuration, PostgresDbConfig, RefinedNonNegativeDuration, TimeProofRequestConfig, CommunityLocalDomainReference, CommunityRemoteDomainReference, DomainManagerNodeReference, DomainReference, EnterpriseDomainReference, EnterpriseLocalDomainReference, EnterpriseRemoteDomainReference, GrpcRemoteInstanceReference, InstanceReference, InstanceReferenceCommon, InstanceReferenceWithSequencer, InstanceReferenceWithSequencerConnection, InstanceReferenceX, LocalDomainManagerReference, LocalDomainReference, LocalInstanceReference, LocalInstanceReferenceCommon, LocalInstanceReferenceX, LocalMediatorReference, LocalMediatorReferenceCommon, LocalMediatorReferenceX, LocalParticipantReference, LocalParticipantReferenceCommon, LocalParticipantReferenceX, LocalSequencerNodeReference, LocalSequencerNodeReferenceCommon, LocalSequencerNodeReferenceX, MediatorReference, MediatorReferenceCommon, MediatorReferenceX, ParticipantReference, ParticipantReferenceCommon, ParticipantReferenceX, RemoteDomainManagerReference, RemoteDomainReference, RemoteInstanceReference, RemoteMediatorReference, RemoteMediatorReferenceCommon, RemoteMediatorReferenceX, RemoteParticipantReference, RemoteParticipantReferenceCommon, RemoteParticipantReferenceX, RemoteSequencerNodeReference, RemoteSequencerNodeReferenceCommon, RemoteSequencerNodeReferenceX, SequencerNodeReference, SequencerNodeReferenceCommon, SequencerNodeReferenceX, CryptoKeyFormat, Der, Raw, Symbolic, Tink, CryptoPureApiError, KeyParseAndValidateError, DecryptionError, DecryptionKeyError, FailedToDecrypt, FailedToDeserialize, InvalidEncryptionKey, InvalidSymmetricKey, InvariantViolation, KeyStoreError, UnknownEncryptionKey, EncryptionError, FailedToEncrypt, InvalidEncryptionKey, InvalidSymmetricKey, UnsupportedSchemeForDeterministicEncryption, EncryptionKeyCreationError, InternalConversionError, InvalidRandomnessLength, EncryptionKeyGenerationError, EncryptionPrivateStoreError, EncryptionPublicStoreError, FingerprintError, GeneralError, GeneralKmsError, NameInvalidError, UnsupportedKeyScheme, EncryptionKeyScheme, EciesP256HkdfHmacSha256Aes128Gcm, EciesP256HmacSha256Aes128Cbc, Rsa2048OaepSha256, EncryptionPublicKey, Fingerprint, Hash, HashAlgorithm, Sha256, HkdfError, HkdfHmacError, HkdfInternalError, HkdfOutputNegative, HkdfOutputTooLong, Hmac, HmacAlgorithm, HmacSha256, HmacError, EmptyHmacSecret, FailedToComputeHmac, HmacPrivateStoreError, InvalidHmacLength, InvalidHmacSecret, MissingHmacSecret, UnknownHmacAlgorithm, HmacSecret, JavaKeyConversionError, GeneralError, InvalidKey, KeyStoreError, UnsupportedAlgorithm, UnsupportedEncryptionKeyScheme, UnsupportedKeyFormat, UnsupportedSigningKeyScheme, KeyName, KeyPurpose, Encryption, Signing, Salt, SaltAlgorithm, Hmac, SaltError, HmacGenerationError, InvalidSaltCreation, Signature, SignatureCheckError, GeneralError, InvalidCryptoScheme, InvalidKeyError, InvalidSignature, MultipleErrors, SignatureWithWrongKey, SignerHasNoValidKeys, SigningError, FailedToSign, GeneralError, InvalidSigningKey, InvariantViolation, KeyStoreError, UnknownSigningKey, SigningKeyGenerationError, FingerprintError, GeneralError, GeneralKmsError, NameInvalidError, SigningPrivateStoreError, SigningPublicStoreError, UnsupportedKeyScheme, SigningKeyScheme, EcDsaP256, EcDsaP384, Ed25519, SigningPublicKey, SymmetricKeyScheme, Aes128Gcm, SyncCryptoError, KeyNotAvailable, StoreError, SyncCryptoDecryptionError, SyncCryptoEncryptionError, SyncCryptoSigningError, KmsError, KmsCannotFindKeyError, KmsCreateClientError, KmsCreateKeyError, KmsCreateKeyRequestError, KmsDecryptError, KmsDecryptRequestError, KmsDeleteKeyError, KmsDeleteKeyRequestError, KmsEncryptError, KmsEncryptRequestError, KmsGetPublicKeyError, KmsGetPublicKeyRequestError, KmsInvalidConfigError, KmsKeyDisabledError, KmsKeyWrongTypeError, KmsNoConfigError, KmsRetrieveKeyMetadataError, KmsRetrieveKeyMetadataRequestError, KmsSignError, KmsSignRequestError, KmsStoreError, KmsKeyId, CryptoPrivateStoreError, EncryptedPrivateStoreError, FailedToDeleteKey, FailedToGetWrapperKeyId, FailedToInsertKey, FailedToListKeys, FailedToReadKey, FailedToReplaceKeys, InvariantViolation, KeyAlreadyExists, WrapperKeyAlreadyInUse, CryptoPublicStoreError, FailedToInsertKey, FailedToListKeys, FailedToReadKey, KeyAlreadyExists, ActionDescription, CreateActionDescription, ExerciseActionDescription, FetchActionDescription, InvalidActionDescription, LookupByKeyActionDescription, AssignedKey, AssignedKeyWithMaintainers, BlindedNode, CantonTimestamp, CantonTimestampSecond, CommonMetadata, ConfirmingParty, Counter, FreeKey, FullInformeeTree, FullTransactionViewTree, FullTransferInTree, FullTransferOutTree, GenTransactionTree, GenTransferViewTree, Informee, KeyResolution, KeyResolutionWithMaintainers, LightTransactionViewTree, MerkleSeq, MerkleSeqElement, MerkleTree, MerkleTreeInnerNode, MerkleTreeLeaf, ParticipantMetadata, PlainInformee, SerializableKeyResolution, SubmitterMetadata, TimedTask, Timestamp, TransactionSubviews, TransactionSubviewsV0, TransactionSubviewsV1, TransactionView, TransactionViewDecomposition, NewView, SameView, TransactionViewTree, TransferInCommonData, TransferInView, TransferInViewTree, TransferOutCommonData, TransferOutView, TransferOutViewCNTestNet, TransferOutViewTree, TransferOutViewV0, TransferOutViewV4, TransferSubmitterMetadata, TransferViewTree, ViewCommonData, ViewParticipantData, ViewPosition, ListIndex, MerklePathElement, MerkleSeqIndex, Direction, Left, Right, MerkleSeqIndexFromRoot, ViewTree, ViewType, TransactionViewType, TransferInViewType, TransferOutViewType, TransferViewType, ViewTypeTest, InvalidWitnesses, DomainParametersConfig, MediatorVerdict, MediatorApprove, MediatorReject, ParticipantReject, ResponseAggregation, ConsortiumVotingState, ViewState, EphemeralState, InFlightAggregation, AggregationBySender, SequencerMemberStatus, SequencerPruningStatus, CounterCheckpoint, PayloadId, SequencerMemberId, MediatorError, Reject, Reject, Reject, ComponentHealthState, Degraded, Failed, Ok, ComponentStatus, DomainStatus, MediatorNodeStatus, NodeStatus, Failure, NotInitialized, Status, Success, ParticipantStatus, SequencerHealthStatus, SequencerHealthStatus, SequencerNodeStatus, SimpleStatus, TopologyQueueStatus, Commands, CompletionInfo, TransactionMeta, Update, CommandRejected, ConfigurationChangeRejected, ConfigurationChanged, PartyAddedToParticipant, PartyAllocationRejected, PublicPackageUpload, PublicPackageUploadRejected, ReassignmentAccepted, TransactionAccepted, Pretty, PrettyPrinting, PrettyUtil, GlobalOffset, LocalOffset, VacuumCommand, RepairContext, DomainConnectionConfig, ContractMetadataAndTransferCounter, ContractStakeholdersAndTransferCounter, RecordTime, FailedToConfigureLedgerApiStorage, FailedToStartLedgerApiServer, FailedToStopLedgerApiServer, LedgerApiServerError, LedgerApiServerErrorWithoutCause, CommandResult, AbortedDueToShutdown, Failed, MaxRetriesReached, Success, MessageCleanReplayStartingPoint, MessageProcessingStartingPoint, ProcessingStartingPoints, Transaction, Transfer, TransferIn, TransferOut, Values, ContractStoreError, DecisionTimeElapsed, DomainParametersError, DuplicateLightViewTree, IncompleteLightViewTree, InvalidPendingRequest, MalformedPayload, NoMediatorError, ProcessorError, RequestProcessingError, RequestTrackerError, ResultProcessingError, SequencerDeliverError, SequencerRequestError, SequencerTimeoutError, SubmissionProcessingError, TimeoutResultTooEarly, UnableToGetDynamicDomainParameters, UnknownPendingRequest, ViewMessageError, WrongRecipients, WrongRootHash, RequestData, RequestState, Clean, Pending, RequestStateWithCursor, DomainParametersError, FieldConversionError, GenericStepsError, Error, Error, SubmissionAlreadyInFlight, Rejection, Error, TransactionProcessorError, TransactionSubmissionError, ViewParticipantDataError, ActivenessResult, ActivenessSet, CommitSet, ArchivalCommit, CreationCommit, TransferInCommit, TransferOutCommit, CommitSetAlreadyExists, CommitSetError, RequestAlreadyExists, RequestNotFound, RequestTrackerError, ResultAlreadyExists, ResultError, ResultNotFound, ChangeIdHash, ConfirmationRequestCreationError, ContractConsistencyError, ContractIdDuplicateError, ContractKeyConsistencyError, ContractKeyDuplicateError, EncryptedViewMessageCreationError, KeySeedError, MalformedLfTransaction, MalformedSubmitter, ParticipantAuthorizationError, RecipientsCreationError, TransactionTreeFactoryError, EncryptedViewMessageCreationError, FailedToCreateEncryptionKey, FailedToDeserializeEncryptedRandomness, FailedToEncryptRandomness, FailedToEncryptViewMessage, FailedToExpandKey, FailedToGenerateEncryptionKey, FailedToSignViewMessage, UnableToDetermineKey, UnableToDetermineParticipant, UnableToDetermineRecipients, UnableToDetermineSessionKeyRandomness, InFlightSubmission, SequencedSubmission, SubmissionSequencingInfo, SubmissionTrackingData, TransactionSubmissionTrackingData, CauseWithTemplate, RejectionCause, TimeoutCause, CommonMetadataError, ContractKeyResolutionError, ContractLookupError, MissingContractKeyLookupError, PackageUnknownTo, SubmitterMetadataError, TooFewSalts, TransactionTreeConversionError, UnknownPackageError, ViewParticipantDataError, UnsequencedSubmission, MarkTooLow, TransferOutProcessorError, AbortedDueToShutdownOut, AdminPartiesMismatch, AdminPartyPermissionErrors, AutomaticTransferInError, DeactivatedContract, InvalidResult, PackageIdUnknownOrUnvetted, PermissionErrors, RecipientsMismatch, StakeholderHostingErrors, SubmittingPartyMustBeStakeholderOut, TargetDomainIsSourceDomain, TransferCounterOverflow, UnexpectedDomain, UnknownContract, ApplicationShutdown, CreatingTransactionIdNotFound, DecryptionError, DomainNotReady, DuplicateTransferTreeHash, EncryptionError, FailedToCreateResponse, FieldConversionError, GenericStepsError, IncompatibleProtocolVersions, InvalidTransferCommonData, InvalidTransferView, MetadataNotFound, NoStakeholders, NoTimeProofFromDomain, NoTransferSubmissionPermission, ReceivedMultipleRequests, StakeholdersMismatch, SubmittingPartyMustBeStakeholderIn, TemplateIdMismatch, TransferParametersError, TransferProcessorError, TransferStoreFailed, UnknownDomain, ReferenceToFutureContractError, InputAndUpdatedKeys, InputAndUpdatedKeysV2, InputAndUpdatedKeysV3, Error, ErrorWithInternalConsistencyCheck, InconsistentKeyUse, IncorrectRollbackScopeOrder, UsedAfterArchive, UsedBeforeCreation, CreatedContractsDeclaredIncorrectly, DAMLeError, Error, ErrorWithSubTransaction, InvalidInputContract, JoinedTransactionNotWellFormed, TransactionNotWellformed, TransactionTreeError, UnvettedPackages, ViewReconstructionError, CommitmentSnapshot, Active, Archived, Status, TransferredAway, CommandDeduplicationData, OffsetAndPublicationTime, ContractChange, Archived, Assigned, Created, Unassigned, Assigned, InconsistentKeyAllocationStatus, Status, Unassigned, ContractLookupError, ContractStoreError, DefiniteAnswerEvent, EventLogId, DomainEventLogId, ParticipantEventLogId, InFlightByMessageId, InFlightBySequencingInfo, InFlightReference, DeduplicationInfo, Publication, ParticipantPruningStatus, StateChangeType, StoredContract, UnknownContract, UnknownContracts, SequencedRootHash, ReplaceRequest, LedgerSyncEvent, CommandRejected, FinalReason, ConfigurationChangeRejected, ConfigurationChanged, ContractsAdded, ContractsPurged, PartyAddedToParticipant, PartyAllocationRejected, PublicPackageUpload, PublicPackageUploadRejected, TransactionAccepted, TransferEvent, TransferredIn, TransferredOut, WithDomainId, TimestampedEvent, EventId, TimelyRejectionEventId, TransactionEventId, Error, StateChange, TimeOfChange, ConfirmationPolicy, Signatory, Vip, ContractMetadata, CreatedContract, DriverContractMetadata, DynamicDomainParameters, InputContract, RequestId, RollbackContext, RootHash, SerializableContract, LedgerCreateTime, SourceDomainId, TargetDomainId, TransferDomainId, TransferId, ViewHash, AcsCommitment, CausalityMessage, CommitmentPeriod, ConfirmationRequest, DeliveredTransferOutResult, DomainTopologyTransactionMessage, EmptyRootHashMessagePayload, EncryptedViewMessage, EncryptedViewMessageError, HkdfExpansionError, MissingParticipantKey, PrivateKeyStoreVerificationError, SessionKeyCreationError, SymmetricDecryptError, SyncCryptoDecryptError, WrongDomainIdInEncryptedViewMessage, WrongRandomnessLength, EncryptedViewMessageV0, EncryptedViewMessageV1, EncryptedViewMessageV2, InformeeMessage, LocalApprove, LocalReject, Reject, Reject, Reject, Reject, Reject, GenericReject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, LocalRejectImpl, LocalVerdict, Malformed, MalformedMediatorRequestResult, MediatorRequest, MediatorResponse, MediatorResult, ProtocolMessage, ProtocolMessageV0, ProtocolMessageV1, ProtocolMessageV2, ProtocolMessageV3, RegisterTopologyTransactionRequest, RegisterTopologyTransactionResponse, State, Accepted, Duplicate, Failed, Obsolete, Rejected, Requested, RegularMediatorResult, RootHashMessage, RootHashMessagePayload, SerializedRootHashMessagePayload, SignedProtocolMessage, SignedProtocolMessageContent, TopologyTransactionsBroadcastX, TransactionResultMessage, TransferInMediatorMessage, TransferOutMediatorMessage, TransferResult, UnsignedProtocolMessage, UnsignedProtocolMessageV4, VectorClock, Verdict, Approve, MediatorReject, MediatorRejectV0, MediatorRejectV1, MediatorRejectV2, ParticipantReject, PruningPhase, Completed, Started, PruningStatus, DbLockConfigError, DbLockCounter, DbLockError, FailedToAcquireLock, FailedToCheckLock, FailedToReleaseLock, InvalidDatabaseConfig, LockAcquireRejected, LockAlreadyAcquired, LockAlreadyInAcquisition, LockAlreadyInReleasing, LockAlreadyReleased, LockCheckRejected, LockInvalidState, LockNotAcquired, LockNotFree, LostLock, UnsupportedDatabaseConfig, UnsupportedDatabaseProfile, DbLockId, DbLockMode, Exclusive, Shared, State, Connected, Disconnected, Disconnecting, Init, Lost, Recovering, DbLockedConnectionError, DbConnectionNotAvailable, DbLockNotAcquired, DatabaseConfigError, DatabaseError, DatabaseVersionError, Error, FlywayError, PendingMigrationError, Profile, H2, Oracle, Postgres, WithDbLockError, ConnectionError, DatabaseConfigurationError, LockAcquisitionError, OperationError, Done, Error, MoreWorkToPerform, ScheduledRunResult, GrpcSequencerConnection, ResubscriptionStart, SequencerAggregatorError, NotTheSameContentHash, NotTheSameTimestampOfSigningKey, SequencerConnection, SequencerConnections, SubscriptionStart, CleanHeadResubscriptionStart, FreshSubscription, ReplayResubscriptionStart, TrafficControlParameters, SendAsyncClientError, DuplicateMessageId, RequestFailed, RequestInvalid, RequestRefused, SequencedEventValidationError, BadDomainId, DecreasingSequencerCounter, ForkHappened, GapInSequencerCounter, InvalidTimestampOfSigningKey, NonIncreasingTimestamp, SignatureInvalid, TimestampOfSigningKeyNotAllowed, UpstreamSubscriptionError, NoDynamicDomainParameters, SigningTimestampAfterSequencingTime, SigningTimestampTooOld, SigningTimestampVerificationError, ApplicationHandlerException, ApplicationHandlerFailure, ApplicationHandlerPassive, ApplicationHandlerShutdown, AggregationId, AggregationRule, AllMembersOfDomain, Batch, ClosedEnvelope, Deliver, DeliverError, DeliverErrorReason, BatchInvalid, BatchRefused, Envelope, GroupRecipient, MediatorsOfDomain, MemberRecipient, MessageId, OpenEnvelope, ParticipantsOfParty, Recipient, Recipients, RecipientsTree, SendAsyncError, Generic, Internal, Overloaded, RequestInvalid, RequestRefused, SenderUnknown, ShuttingDown, Unavailable, UnknownRecipients, SequencedEvent, SequencersOfDomain, DefaultDeserializationError, DeserializationError, MaxByteToDecompressExceeded, CursorPrehead, SequencedEventRangeOverlapsWithPruning, ByTimestampRange, IgnoredSequencedEvent, OrdinarySequencedEvent, PossiblyIgnoredSequencedEvent, RangeCriterion, NonNegativeFiniteDuration, NonNegativeSeconds, PositiveFiniteDuration, PositiveSeconds, TimeProof, AuthenticatedMember, DomainId, DomainMember, DomainTopologyManagerId, Identifier, Identity, KeyOwner, MediatorId, MediatorRef, Group, Single, Member, Namespace, NodeIdentity, ParticipantId, PartyId, SequencerId, UnauthenticatedMemberId, UniqueIdentifier, SignedTopologyTransactionsX, StoredTopologyTransaction, StoredTopologyTransactionX, StoredTopologyTransactions, StoredTopologyTransactionsX, TopologyStoreId, AuthorizedStore, DomainStore, TopologyTransactionRejection, Duplicate, ExtraTrafficLimitTooLow, InsufficientKeys, NotAuthorized, Other, ParticipantStillHostsParties, SerialMismatch, SignatureCheckFailed, ThresholdTooHigh, UnknownMembers, WrongDomain, AddRemoveChangeOp, AuthorityOfX, DomainGovernanceElement, DomainGovernanceMapping, DomainGovernanceTransaction, DomainParametersChange, DomainParametersStateX, DomainTrustCertificateX, IdentifierDelegation, IdentifierDelegationX, MediatorDomainState, MediatorDomainStateX, NamespaceDelegation, NamespaceDelegationX, OwnerToKeyMapping, OwnerToKeyMappingX, ParticipantDomainPermissionX, ParticipantState, PartyHostingLimitsX, PartyToParticipant, PartyToParticipantX, PurgeTopologyTransactionX, SequencerDomainStateX, SignedLegalIdentityClaim, SignedTopologyTransaction, SignedTopologyTransactionX, TopologyChangeOp, Add, Positive, Remove, Replace, TopologyChangeOpCommon, TopologyChangeOpX, Remove, Replace, TopologyElementId, TopologyMapping, TopologyMappingX, TopologyStateElement, TopologyStateUpdate, TopologyStateUpdateElement, TopologyStateUpdateMapping, TopologyTransaction, TopologyTransactionX, TrafficControlStateX, TrustLevel, Ordinary, Vip, UnionspaceDefinitionX, VettedPackages, VettedPackagesX, SimpleExecutionQueue, CantonVersion, LegacyProtoConverter, UnsupportedProtoCodec, VersionedProtoConverter, ProtocolVersion, ReleaseVersion, RepresentativeProtocolVersion
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrettyUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adHocPrettyInstance[T <: Product](implicit c: ClassTag[T]): Pretty[T]

    Use this as a temporary solution, to make the code compile during an ongoing migration.

    Use this as a temporary solution, to make the code compile during an ongoing migration. Drawbacks:

    • Instances of Pretty[T] are ignored.
    • No parameter names
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def customParam[T](getValue: (T) => String, cond: (T) => Boolean = (_: T) => true): (T) => Option[Tree]

    Use this if you need a custom representation of a parameter.

    Use this if you need a custom representation of a parameter. Do not use this to create lengthy strings, as line wrapping is not supported.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def indicateOmittedFields[T]: (T) => Option[Tree]

    Use this to indicate that you've omitted fields from pretty printing

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def param[T, V](name: String, getValue: (T) => V, cond: (T) => Boolean = (_: T) => true)(implicit arg0: Pretty[V]): (T) => Option[Tree]

    A tree representing both parameter name and value.

  18. def paramIfDefined[T, V](name: String, getValue: (T) => Option[V])(implicit arg0: Pretty[V]): (T) => Option[Tree]
  19. def paramIfNonEmpty[T, V <: IterableOnce[_]](name: String, getValue: (T) => V)(implicit arg0: Pretty[V]): (T) => Option[Tree]
  20. def paramIfNotDefault[T, V](name: String, getValue: (T) => V, default: V)(implicit arg0: Pretty[V]): (T) => Option[Tree]

    A tree only written if not matching the default value

  21. def paramIfTrue[T](label: String, getValue: (T) => Boolean): (T) => Option[Tree]
  22. def paramWithoutValue[T](name: String, cond: (T) => Boolean = (_: T) => true): (T) => Option[Tree]

    A tree representing a parameter name without a parameter value.

    A tree representing a parameter name without a parameter value. Use this for parameters storing confidential or binary data.

  23. def prettyInfix[T]: PrettyInfixPartiallyApplied[T]
  24. def prettyNode[T](label: String, children: (T) => Option[Tree]*): Pretty[T]

    A tree consisting of a labelled node with the given children.

  25. def prettyOfClass[T](getParamTrees: (T) => Option[Tree]*): Pretty[T]

    A tree representing the type name and parameter trees.

  26. def prettyOfObject[T <: Product]: Pretty[T]

    A tree presenting the type name only.

    A tree presenting the type name only. (E.g., for case objects.)

  27. def prettyOfParam[T, V](getValue: (T) => V)(implicit arg0: Pretty[V]): Pretty[T]

    Use this to give a class with a singleton parameter the same pretty representation as the parameter.

  28. def prettyOfString[T](toString: (T) => String): Pretty[T]

    Creates a pretty instance from a string function.

    Creates a pretty instance from a string function. Do not use this with lengthy strings, as line wrapping is not supported.

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def unnamedParam[T, V](getValue: (T) => V, cond: (T) => Boolean = (_: T) => true)(implicit arg0: Pretty[V]): (T) => Option[Tree]

    A tree representing a parameter value without a parameter name.

  32. def unnamedParamIfDefined[T, V](getValue: (T) => Option[V])(implicit arg0: Pretty[V]): (T) => Option[Tree]
  33. def unnamedParamIfNonEmpty[T, V <: IterableOnce[_]](getValue: (T) => V)(implicit arg0: Pretty[V]): (T) => Option[Tree]
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped