Class MethodInfo

  • All Implemented Interfaces:
    ClassConstants

    public class MethodInfo
    extends ClassItemInfo
    Representation of a method from a class-file.
    • Constructor Detail

      • MethodInfo

        protected MethodInfo​(ClassFile cf)
        Instantiates a new Method info.
        Parameters:
        cf - the cf
    • Method Detail

      • create

        public static MethodInfo create​(java.io.DataInput din,
                                        ClassFile cf)
                                 throws java.io.IOException
        Create a new MethodInfo from the file format data in the DataInput stream.
        Parameters:
        din - the din
        cf - the cf
        Returns:
        the method info
        Throws:
        java.io.IOException - if class file is corrupt or incomplete