Class NarcissusReflectionDriver

java.lang.Object
nonapi.io.github.classgraph.reflection.ReflectionDriver
nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver

class NarcissusReflectionDriver extends ReflectionDriver
Narcissus reflection driver (uses the Narcissus library, if it is available, which allows access to non-public fields and methods, circumventing encapsulation and visibility controls via JNI).
  • Field Details

    • narcissusClass

      private final Class<?> narcissusClass
    • getDeclaredMethods

      private final Method getDeclaredMethods
    • findClass

      private final Method findClass
    • getDeclaredConstructors

      private final Method getDeclaredConstructors
    • getDeclaredFields

      private final Method getDeclaredFields
    • getField

      private final Method getField
    • setField

      private final Method setField
    • getStaticField

      private final Method getStaticField
    • setStaticField

      private final Method setStaticField
    • invokeMethod

      private final Method invokeMethod
    • invokeStaticMethod

      private final Method invokeStaticMethod
  • Constructor Details

    • NarcissusReflectionDriver

      NarcissusReflectionDriver() throws Exception
      Throws:
      Exception
  • Method Details