code: public static SourceLineAnnotation forEntireMethod(@DottedClassName String className, String sourceFile, LineNumberTable lineNumberTable,
              int codeSize) {
          LineNumber[] table = lineNumberTable.getLineNumberTable();
          if (table != null && table.length > 0) {
              LineNumber first = table[0];
              LineNumber last = table[table.length - 1];
              return new SourceLineAnnotation(className, sourceFile, first.getLineNumber(), last.getLineNumber(), 0, codeSize - 1);
          } else {
              return createUnknown(className, sourceFile, 0, codeSize - 1);
          }
      }
docs: Create a SourceLineAnnotation covering an entire method.
  
  @param className
  name of the class the method is in
  @param sourceFile
  source file containing the method
  @param lineNumberTable
  the method's LineNumberTable
  @param codeSize
  size in bytes of the method's code
  @return a SourceLineAnnotation covering the entire method