Class BytecodeUtils

Object
org.apache.spark.graphx.util.BytecodeUtils

public class BytecodeUtils extends Object
Includes an utility function to test whether a function accesses a specific attribute of an object.
  • Constructor Details

    • BytecodeUtils

      public BytecodeUtils()
  • Method Details

    • invokedMethod

      public static boolean invokedMethod(Object closure, Class<?> targetClass, String targetMethod)
      Test whether the given closure invokes the specified method in the specified class.
      Parameters:
      closure - (undocumented)
      targetClass - (undocumented)
      targetMethod - (undocumented)
      Returns:
      (undocumented)