/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 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.reflect; import java.lang.annotation.Annotation; public class AccessibleObject extends Object implements AnnotatedElement { protected AccessibleObject() { } native public static void setAccessible(AccessibleObject[] array, boolean flag) throws SecurityException; native public void setAccessible(boolean flag) throws SecurityException; native public boolean isAccessible(); native public T getAnnotation( Class annotationClass); native public boolean isAnnotationPresent( Class annotationClass); native public Annotation[] getAnnotations(); native public Annotation[] getDeclaredAnnotations(); }