intellij-randomness / com.fwdekker.randomness

Package com.fwdekker.randomness

Contains classes shared by all sub-packages.

Types

Cache

class Cache<K, V>

A simple thread-safe cache of objects.

CapitalizationMode

enum class CapitalizationMode

A mode in which a word should be capitalized.

DataGroupAction

abstract class DataGroupAction : ActionGroup

A group of actions for a particular type of random data that can be generated.

DataInsertAction

abstract class DataInsertAction : AnAction

Inserts a randomly generated string at the positions of the event's editor's carets.

DataInsertArrayAction

abstract class DataInsertArrayAction : DataInsertAction

Inserts a randomly generated array of strings at the positions of the event's editor's carets.

DummyInsertAction

class DummyInsertAction : DataInsertAction

Inserts a dummy value.

DummyInsertArrayAction

class DummyInsertArrayAction : DataInsertArrayAction

Inserts an array of dummy values.

PopupAction

class PopupAction : AnAction

Shows a popup for all available Randomness actions.

RandomnessConfigurable

class RandomnessConfigurable : Configurable

Randomness' root configurable; all other configurables are its children.

Settings

interface Settings<S> : PersistentStateComponent<S>

Superclass for classes that will contain settings that should persist over IDE restarts.

SettingsAction

abstract class SettingsAction<S : Settings<S>> : AnAction

Opens the settings window for changing settings.

SettingsComponent

abstract class SettingsComponent<S : Settings<S>> : SettingsManager<S>

Superclass for settings components.

SettingsConfigurable

abstract class SettingsConfigurable<S : Settings<S>> : Configurable

A configurable to change settings of type S.

SettingsManager

interface SettingsManager<S : Settings<*>>

A SettingsManager is an object that can save and load settings.

Exceptions

DataGenerationException

class DataGenerationException : Exception

Thrown if a random datum could not be generated.