code: public static SourceLineAnnotation forEntireMethod(JavaClass javaClass, XMethod xmethod) {
          JavaClassAndMethod m = Hierarchy.findMethod(javaClass, xmethod.getName(), xmethod.getSignature());
          if (m == null) {
              return createUnknown(javaClass.getClassName(), javaClass.getSourceFileName());
          } else {
              return forEntireMethod(javaClass, m.getMethod());
          }
      }
docs: Create a SourceLineAnnotation covering an entire method.
  
  @param javaClass
  JavaClass containing the method
  @param xmethod
  the method
  @return a SourceLineAnnotation for the entire method