JML

java.lang.reflect
Class AccessibleObject

java.lang.Object
  extended byjava.lang.reflect.AccessibleObject
All Implemented Interfaces:
AnnotatedElement
Direct Known Subclasses:
Field, Method

public class AccessibleObject
extends Object
implements AnnotatedElement


Field Summary
private static Permission ACCESS_PERMISSION
           
(package private)  boolean override
           
(package private) static sun.reflect.ReflectionFactory reflectionFactory
           
 
Constructor Summary
protected AccessibleObject()
           
 
Method Summary
 Annotation getAnnotation(Class)
           
 Annotation[] getAnnotations()
           
 Annotation[] getDeclaredAnnotations()
           
 boolean isAccessible()
           
 boolean isAnnotationPresent(Class)
           
 void setAccessible(boolean)
           
static void setAccessible(AccessibleObject[], boolean)
           
private static void setAccessible0(AccessibleObject, boolean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

override

boolean override

reflectionFactory

static final sun.reflect.ReflectionFactory reflectionFactory

ACCESS_PERMISSION

private static final Permission ACCESS_PERMISSION
Constructor Detail

AccessibleObject

protected AccessibleObject()
Method Detail

setAccessible

public static void setAccessible(AccessibleObject[],
                                 boolean)
                          throws SecurityException
Throws:
SecurityException

setAccessible

public void setAccessible(boolean)
                   throws SecurityException
Throws:
SecurityException

setAccessible0

private static void setAccessible0(AccessibleObject,
                                   boolean)
                            throws SecurityException
Throws:
SecurityException

isAccessible

public boolean isAccessible()

getAnnotation

public Annotation getAnnotation(Class)
Specified by:
getAnnotation in interface AnnotatedElement

isAnnotationPresent

public boolean isAnnotationPresent(Class)
Specified by:
isAnnotationPresent in interface AnnotatedElement

getAnnotations

public Annotation[] getAnnotations()
Specified by:
getAnnotations in interface AnnotatedElement

getDeclaredAnnotations

public Annotation[] getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface AnnotatedElement

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.