Current section

Files

Jump to
reach lib reach otp analysis behaviour.ex
Raw

lib/reach/otp/analysis/behaviour.ex

defmodule Reach.OTP.Analysis.Behaviour do
@moduledoc "Struct representing a detected OTP behaviour with its callbacks and state transforms."
@derive JSON.Encoder
defstruct [:module, :behaviour, :callbacks, :state_transforms]
def new(attrs), do: struct!(__MODULE__, attrs)
end