Class ClassReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Direct Known Subclasses:
    ParamReader

    public class ClassReader
    extends ByteArrayInputStream
    This is the class file reader for obtaining the parameter names for declared methods in a class. The class must have debugging attributes for us to obtain this information.

    This does not work for inherited methods. To obtain parameter names for inherited methods, you must use a paramReader for the class that originally declared the method.

    don't get tricky, it's the bare minimum. Instances of this class are not threadsafe -- don't share them.