/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; import java.net.URL; public class Package extends Object implements AnnotatedElement { native public String getName(); native public String getSpecificationTitle(); native public String getSpecificationVersion(); native public String getSpecificationVendor(); native public String getImplementationTitle(); native public String getImplementationVersion(); native public String getImplementationVendor(); native public boolean isSealed(); native public boolean isSealed(URL url); native public boolean isCompatibleWith(String desired) throws NumberFormatException; native public static Package getPackage(String name); native public static Package[] getPackages(); native public int hashCode(); native public String toString(); native public A getAnnotation( Class annotationClass); native public boolean isAnnotationPresent( Class annotationClass); native public Annotation[] getAnnotations(); native public Annotation[] getDeclaredAnnotations(); private Package() { } }