Class Classes


  • public final class Classes
    extends java.lang.Object
    Provides utility methods for reflection based tasks, for example to detect types of generic parameters.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.common.collect.Multiset<java.lang.Class<?>> classesOf​(java.lang.Iterable<?> coordinates)  
      static java.lang.reflect.ParameterizedType findGenericSuperclassOfType​(java.lang.Class<?> clazz, java.lang.Class<?> classToSearch)  
      • Methods inherited from class java.lang.Object

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

      • findGenericSuperclassOfType

        public static java.lang.reflect.ParameterizedType findGenericSuperclassOfType​(java.lang.Class<?> clazz,
                                                                                      java.lang.Class<?> classToSearch)
      • classesOf

        public static com.google.common.collect.Multiset<java.lang.Class<?>> classesOf​(java.lang.Iterable<?> coordinates)