Interface TransformationsApi<N,​E,​T,​B,​TB extends B,​S,​I,​QI>

Type Parameters:
N - The node type in the AST
E - The expression type
T - The type type
B - The binding type
TB - The type binding type
S - The scope type (optional)
I - The type used to represent identifiers
QI - The type used to represent qualified identifiers

public interface TransformationsApi<N,​E,​T,​B,​TB extends B,​S,​I,​QI>
An interface to create AST transformations.
  • Method Summary

    Modifier and Type Method Description
    boolean partOfSameInvocable​(N node, E expression)  
  • Method Details

    • partOfSameInvocable

      boolean partOfSameInvocable​(N node, E expression)
      Returns:
      true if both nodes are contained in or are the same invocable (i.e. initializer, constructor, method or lambda expression).