enclosingElement2 property
The element that either physically or logically encloses this element.
Returns null
if this element is a library because libraries are the
top-level elements in the model.
Implementation
@override
// TODO(brianwilkerson): We shouldn't be inheriting this member.
ExecutableElement2? get enclosingElement2;