ElementExtension extension

Simple downcast from Element to ClassElement as an extension on Element

on
  • Element

Methods

asClassElement() → ClassElement
asInterfaceElement() → InterfaceElement
Returns this element as a ClassElement