Interface Encloseable

All Known Implementing Classes:
Element, ExecutableElement, ModuleElement, PackageElement, Parameterizable, RecordComponentElement, TypeElement, TypeParameterElement, VariableElement

public interface Encloseable
Something that can be enclosed by an Element.
Author:
Laird Nelson
See Also:
  • Method Details

    • setEnclosingElement

      void setEnclosingElement(Element enclosingElement)
      Sets the Element that encloses this Encloseable to the supplied Element, which may be null.
      Parameters:
      enclosingElement - the Element that will enclose this Encloseable; may be null