public class ClassUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class<?> |
extractComponentClassOfIterable(java.beans.PropertyDescriptor descriptor) |
static java.lang.Class<?> |
extractComponentClassOfIterable(java.lang.reflect.Type type) |
static java.lang.reflect.Type |
extractComponentTypeOfIterable(java.beans.PropertyDescriptor descriptor) |
static java.lang.reflect.Type |
extractComponentTypeOfIterable(java.lang.reflect.Type type) |
static <T extends java.lang.annotation.Annotation> |
findAnnotation(java.lang.Class<T> annotationType,
java.beans.PropertyDescriptor of) |
static java.lang.reflect.Type |
getGenericTypeOf(java.beans.PropertyDescriptor descriptor) |
static java.lang.reflect.Method |
getPublicMethodOf(java.lang.Class<?> ofType,
java.lang.Class<?> returnType,
java.lang.String methodName,
java.lang.Class<?>... parameterTypes) |
static java.lang.Class<?> |
toClass(java.lang.reflect.Type type) |
static java.lang.Class<?> |
tryExtractComponentClassOfIterable(java.beans.PropertyDescriptor descriptor) |
static java.lang.Class<?> |
tryExtractComponentClassOfIterable(java.lang.reflect.Type type) |
static java.lang.reflect.Type |
tryExtractComponentTypeOfIterable(java.beans.PropertyDescriptor descriptor) |
static java.lang.reflect.Type |
tryExtractComponentTypeOfIterable(java.lang.reflect.Type type) |
@Nullable
public static java.lang.Class<?> toClass(@Nullable
java.lang.reflect.Type type)
@Nullable
public static java.lang.reflect.Type tryExtractComponentTypeOfIterable(@Nonnull
java.lang.reflect.Type type)
@Nullable
public static java.lang.Class<?> tryExtractComponentClassOfIterable(@Nonnull
java.lang.reflect.Type type)
@Nonnull
public static java.lang.reflect.Type extractComponentTypeOfIterable(@Nonnull
java.lang.reflect.Type type)
@Nonnull
public static java.lang.Class<?> extractComponentClassOfIterable(@Nonnull
java.lang.reflect.Type type)
@Nonnull
public static java.lang.reflect.Type tryExtractComponentTypeOfIterable(@Nonnull
java.beans.PropertyDescriptor descriptor)
@Nonnull
public static java.lang.Class<?> tryExtractComponentClassOfIterable(@Nonnull
java.beans.PropertyDescriptor descriptor)
@Nonnull
public static java.lang.reflect.Type extractComponentTypeOfIterable(@Nonnull
java.beans.PropertyDescriptor descriptor)
@Nonnull
public static java.lang.Class<?> extractComponentClassOfIterable(@Nonnull
java.beans.PropertyDescriptor descriptor)
@Nonnull
public static java.lang.reflect.Type getGenericTypeOf(@Nonnull
java.beans.PropertyDescriptor descriptor)
@Nonnull
public static java.lang.reflect.Method getPublicMethodOf(@Nonnull
java.lang.Class<?> ofType,
@Nonnull
java.lang.Class<?> returnType,
@Nonnull
java.lang.String methodName,
@Nullable
java.lang.Class<?>... parameterTypes)
@Nullable
public static <T extends java.lang.annotation.Annotation> T findAnnotation(@Nonnull
java.lang.Class<T> annotationType,
@Nonnull
java.beans.PropertyDescriptor of)
Copyright © 2013 echocat. All Rights Reserved.