code: public static boolean samePackageName(ClassNode first, ClassNode second) {
          return Objects.equals(first.getPackageName(), second.getPackageName());
      }
docs: Determine if the given ClassNode values have the same package name.
  
  @param first a ClassNode
  @param second a ClassNode
  @return true if both given nodes have the same package name
  @throws NullPointerException if either of the given nodes are null