docs: @SuppressWarnings("unchecked")
      public Declaration getDeclaration(final String identifier) {
          if ( this.dirty || (this.declarations == null) ) {
              this.declarations = this.getExtendedLhs( this, null ).getOuterDeclarations();
              this.dirty = false;
          }
          return this.declarations.get( identifier );
      }