Current section
Files
Jump to
Current section
Files
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