| java.lang.Object java.lang.reflect.AccessibleObject
All known Subclasses: java.lang.reflect.Field, java.lang.reflect.Constructor, java.lang.reflect.Method,
isAccessible | boolean isAccessible(Code) | | indicates whether this object is accessible or not
|
reflectExporter | final static ReflectExporter reflectExporter(Code) | | used to exchange information with the java.lang package
|
AccessibleObject | protected AccessibleObject()(Code) | | |
appendArrayGenericType | void appendArrayGenericType(StringBuilder sb, Type[] objs)(Code) | | Appends names of the specified array classes to the buffer. The array
elements may represent a simple type, a reference type or an array type.
Output format: java.lang.Object[], java.io.File, void
Parameters: sb - buffer Parameters: objs - array of classes to print the names throws: NullPointerException - if any of the arguments is null |
appendArrayType | void appendArrayType(StringBuilder sb, Class> obj)(Code) | | Appends the specified class name to the buffer. The class may represent
a simple type, a reference type or an array type.
Parameters: sb - buffer Parameters: obj - the class which name should be appended to the buffer throws: NullPointerException - if any of the arguments is null |
appendArrayType | void appendArrayType(StringBuilder sb, Class[] objs)(Code) | | Appends names of the specified array classes to the buffer. The array
elements may represent a simple type, a reference type or an array type.
Output format: java.lang.Object[], java.io.File, void
Parameters: sb - buffer Parameters: objs - array of classes to print the names throws: NullPointerException - if any of the arguments is null |
appendGenericType | void appendGenericType(StringBuilder sb, Type obj)(Code) | | Appends the generic type representation to the buffer.
Parameters: sb - buffer Parameters: obj - the generic type which representation should be appended to the buffer throws: NullPointerException - if any of the arguments is null |
appendSimpleType | void appendSimpleType(StringBuilder sb, Class>[] objs)(Code) | | Appends names of the specified array classes to the buffer. The array
elements may represent a simple type, a reference type or an array type.
In case if the specified array element represents an array type its
internal will be appended to the buffer.
Output format: [Ljava.lang.Object;, java.io.File, void
Parameters: sb - buffer Parameters: objs - array of classes to print the names throws: NullPointerException - if any of the arguments is null |
checkInvokationArguments | static void checkInvokationArguments(Class>[] types, Object[] args)(Code) | | Ensures that actual parameters are compartible with types of
formal parameters. For reference types, argument can be either
null or assignment-compatible with formal type.
For primitive types, argument must be non-null wrapper instance.
Parameters: types - formal parameter' types Parameters: args - runtime arguments throws: IllegalArgumentException - if arguments are incompartible |
checkObject | Object checkObject(Class declaringClass, int memberModifier, Object obj) throws IllegalArgumentException(Code) | | Checks obj argument for correctness.
Parameters: declaringClass - declaring class of the field/method member Parameters: memberModifier - field/method member modifier Parameters: obj - object to check for correctness null if accessing static member, otherwise obj throws: IllegalArgumentException - if obj is not valid object throws: NullPointerException - if obj or declaringClass argument is null |
getAnnotation | public T getAnnotation(Class<T> annotationClass)(Code) | | |
isAccessible | public boolean isAccessible()(Code) | | |
|
|