Package 

Class LoadClass


  • @Deprecated() 
    public final class LoadClass
    extends LoadClass
                        

    An Adapter for making Class.forName testable

    • Constructor Summary

      Constructors 
      Constructor Description
      LoadClass()
    • Method Summary

      Modifier and Type Method Description
      Class<out Object> loadClass(@NotNull() String clazz, @Nullable() ILogger logger) Try to load a class via reflection
      boolean isClassAvailable(@NotNull() String clazz, @Nullable() ILogger logger)
      boolean isClassAvailable(@NotNull() String clazz, @Nullable() SentryOptions options)
      • Methods inherited from class io.sentry.util.LoadClass

        isClassAvailable, loadClass
      • Methods inherited from class java.lang.Object

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

      • LoadClass

        LoadClass()
    • Method Detail

      • loadClass

        @Nullable() Class<out Object> loadClass(@NotNull() String clazz, @Nullable() ILogger logger)

        Try to load a class via reflection

        Parameters:
        clazz - the full class name
        logger - an instance of ILogger