Class GrapheneProxyUtil

java.lang.Object
org.jboss.arquillian.graphene.proxy.GrapheneProxyUtil

public final class GrapheneProxyUtil extends Object
Utilities for handling with GrapheneProxy related tasks.
Author:
Lukas Fryc
  • Constructor Details

    • GrapheneProxyUtil

      public GrapheneProxyUtil()
  • Method Details

    • getInterfaces

      public static Class<?>[] getInterfaces(Class<?>... targetClasses)
      Transitively obtains the interfaces which are implemented by given classes.
      Parameters:
      targetClasses - the list of classes from which should be determined the list of interfaces that these classes implement
      Returns:
      the list of interfaces which are implemented by given classes
    • concatClasses

      public static Class<?>[] concatClasses(Class<?>[] classes, Class<?> clazz)
      Adds clazz to the array of classes
      Parameters:
      classes - to be appended
      clazz - to be added
      Returns:
      the array of classes with added clazz
    • isProxy

      public static boolean isProxy(Class<?> clazz)
    • isProxy

      public static boolean isProxy(Object target)