Skip to main content

ferro_jtype/types/
dynamic.rs

1/// Statically recognized kind of an `invokedynamic` call site.
2///
3/// Classification reads bootstrap metadata only. It does not execute a
4/// bootstrap method or initialize a Java class.
5#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
6pub enum DynamicCallKind {
7    /// A lambda or method-reference call site built by `LambdaMetafactory`.
8    LambdaMetafactory,
9    /// A string concatenation call site built by `StringConcatFactory`.
10    StringConcatFactory,
11    /// A call site with another bootstrap method.
12    OtherBootstrap,
13}