/**@class java.lang.Package implements java.lang.reflect.AnnotatedElement @extends java.lang.Object Contains information about a Java package. This includes implementation and specification versions. Typically this information is retrieved from the manifest. <p> Packages are managed by class loaders. All classes loaded by the same loader from the same package share a {@code Package} instance. </p> @see java.lang.ClassLoader */ var Package = { /**Returns the annotation associated with the specified annotation type and this package, if present. @param {Object {java.lang.Class}} annotationType the annotation type to look for. @return {Object {java.lang.annotation.Annotation}} an instance of {@link Annotation} or {@code null}. @see java.lang.reflect.AnnotatedElement#getAnnotation(java.lang.Class) */ getAnnotation : function( ) {}, /**Returns an array of this package's annotations. */ getAnnotations : function( ) {}, /**Returns an array of this package's declared annotations. Package annotations aren't inherited, so this is equivalent to {@link #getAnnotations}. */ getDeclaredAnnotations : function( ) {}, /**Indicates whether the specified annotation is present. @param {Object {java.lang.Class}} annotationType the annotation type to look for. @return {Boolean} {@code true} if the annotation is present; {@code false} otherwise. @see java.lang.reflect.AnnotatedElement#isAnnotationPresent(java.lang.Class) */ isAnnotationPresent : function( ) {}, /**Returns the title of the implementation of this package, or {@code null} if this is unknown. The format of this string is unspecified. @return {String} the implementation title, may be {@code null}. */ getImplementationTitle : function( ) {}, /**Returns the name of the vendor or organization that provides this implementation of the package, or {@code null} if this is unknown. The format of this string is unspecified. @return {String} the implementation vendor name, may be {@code null}. */ getImplementationVendor : function( ) {}, /**Returns the version of the implementation of this package, or {@code null} if this is unknown. The format of this string is unspecified. @return {String} the implementation version, may be {@code null}. */ getImplementationVersion : function( ) {}, /**Returns the name of this package in the standard dot notation; for example: "java.lang". @return {String} the name of this package. */ getName : function( ) {}, /**Attempts to locate the requested package in the caller's class loader. If no package information can be located, {@code null} is returned. @param {String} packageName the name of the package to find. @return {Object {java.lang.Package}} the requested package, or {@code null}. @see ClassLoader#getPackage(java.lang.String) */ getPackage : function( ) {}, /**Returns all the packages known to the caller's class loader. @return {Object {java.lang.Package}} all the packages known to the caller's class loader. @see ClassLoader#getPackages */ getPackages : function( ) {}, /**Returns the title of the specification this package implements, or {@code null} if this is unknown. @return {String} the specification title, may be {@code null}. */ getSpecificationTitle : function( ) {}, /**Returns the name of the vendor or organization that owns and maintains the specification this package implements, or {@code null} if this is unknown. @return {String} the specification vendor name, may be {@code null}. */ getSpecificationVendor : function( ) {}, /**Returns the version of the specification this package implements, or {@code null} if this is unknown. The version string is a sequence of non-negative integers separated by dots; for example: "1.2.3". @return {String} the specification version string, may be {@code null}. */ getSpecificationVersion : function( ) {}, /** */ hashCode : function( ) {}, /**Indicates whether this package's specification version is compatible with the specified version string. Version strings are compared by comparing each dot separated part of the version as an integer. @param {String} version the version string to compare against. @return {Boolean} {@code true} if the package versions are compatible; {@code false} otherwise. @throws NumberFormatException if this package's version string or the one provided are not in the correct format. */ isCompatibleWith : function( ) {}, /**Indicates whether this package is sealed. @return {Boolean} {@code true} if this package is sealed; {@code false} otherwise. */ isSealed : function( ) {}, /**Indicates whether this package is sealed with respect to the specified URL. @param {Object {URL}} url the URL to check. @return {Boolean} {@code true} if this package is sealed with {@code url}; {@code false} otherwise */ isSealed : function( ) {}, /** */ toString : function( ) {}, };