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