Assertion: package's type | /r/HasProperty | class
Facets:
Source sentences:
text: A Package can be defined as a grouping of related types (classes, interfaces, enumerations and annotations ) providing access protection and namespace management.
text: In general, a package can contain the following kinds of types: classes, interfaces, enumerations, and annotation types.
text: To create a package, you choose a name for the package (naming conventions are discussed in the next section) and put a package statement with that name at the top of every source file that contains the types (classes, interfaces, enumerations, and annotation types) that you want to include in the package.
text: You could annotate each individual type (the classes, interfaces, enums, etc. defined in their .java files) with @Deprecated (as shown below).