Class CalledFromNative.Enforcement

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit checkConstructor(Constructor<?> constructor) Checks that the constructor for the given class that takes the given arguments is annotated to avoid being stripped.
      final static Unit checkCalledMethod(Method method) Checks that the called method on the given target is annotated to avoid being stripped.
      final static Unit checkCalledStaticMethod(Method method) Checks that the called static method on the given target is annotated to avoid being stripped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CalledFromNative.Enforcement

        CalledFromNative.Enforcement()
    • Method Detail

      • checkConstructor

         final static Unit checkConstructor(Constructor<?> constructor)

        Checks that the constructor for the given class that takes the given arguments is annotated to avoid being stripped.

      • checkCalledMethod

         final static Unit checkCalledMethod(Method method)

        Checks that the called method on the given target is annotated to avoid being stripped.

      • checkCalledStaticMethod

         final static Unit checkCalledStaticMethod(Method method)

        Checks that the called static method on the given target is annotated to avoid being stripped.