Returns an array of all constructors defined by this class. This does not include any constructors inherited from a base class, nor the default constructor.
Looks up a field by name, searching this class, and each of its super classes in turn.
Returns an array of all fields defined by this class and classes that it inherits from. This only extends to super classes that also use Witchcraft.
Returns an array of all interfaces that are declared directly on this class. Interfaces that appear multiple times on the class are only present once in the array.
Returns all methods declared on this class, and non-private methods in classes that it inherits from. This is restricted to classes for which reflective information is present.
Ditto, but returns only methods that match the given name.
Returns the parent of this class. If the class doesn't declare a super class, the super class is Object, unless the class itself is Object. For Object, this method always returns null.
Ditto, but a TypeInfo object is returned instead.
Creates a new instance of the class, provided it has a default or zero-argument constructor.
Ditto, but also casts the result to a type given by template parameter.
Checks if this class is abstract.
Checks if this type is a class. For children of Class, this always returns true.
Checks if this class is final.
Represents and grants access to a class's attributes, fields, methods, and constructors.