Interface Domain

All Known Implementing Classes:
DefaultDomain

public interface Domain
A representation of a domain of valid Java constructs.

A domain is a set of valid Java constructs. A Domain provides access to a domain and its members.

A Java construct is either a type or an element.

A type is a usage of a Java type, most commonly represented as a TypeMirror.

An element ia a declaration of a Java program element, most commonly represented as an Element.

Domains impose constraints on the types and elements they contain, and on the kinds and semantics of operations that can be performed on them.

This interface is modeled on a deliberately restricted combination of the Elements and Types interfaces.

Domain implementations must be thread-safe.

Author:
Laird Nelson