- location
Gets the base location of the given class. If the class is directly on the file
system (e.g., "/path
- field
Gets the field with the specified name, of the given class, or superclass
thereof. Unlike Class#getF
- load
Loads the class with the given name, using the current thread's context class
loader.
- array
Gets the array type—which might be a Class or a GenericArrayType depending on
the argument—correspon
- box
Returns the non-primitive Class closest to the given type. Specifically, the
following type conversi
- cast
Casts the given object to the specified type, or null if the types are
incompatible.
- component
Gets the component type of the given array type, or null if not an array. If you
have a Class, you c
- enumValue
Converts the given string value to an enumeration constant of the specified
type.
- fieldType
Returns the "safe" generic type of the given field, as viewed from the given
type. This may be narro
- isAssignable
Discerns whether it would be legal to assign a reference of type source to a
reference of type targe
- isBoolean
- isInstance
Checks whether the given object can be cast to the specified type.