| Package | Description |
|---|---|
| java.lang | |
| java.lang.annotation | |
| java.lang.invoke | |
| java.lang.reflect | |
| java.util |
| Modifier and Type | Field and Description |
|---|---|
static Class |
Void.TYPE |
static Class<Long> |
Long.TYPE |
static Class<Integer> |
Integer.TYPE |
static Class<Double> |
Double.TYPE |
static Class<Byte> |
Byte.TYPE |
| Modifier and Type | Method and Description |
|---|---|
Class |
Class.asSubclass(Class superclass) |
static Class |
Class.forName(String className) |
Class |
Object.getClass() |
Class |
Class.getComponentType() |
Class<E> |
Enum.getDeclaringClass() |
| Modifier and Type | Method and Description |
|---|---|
Class |
Class.asSubclass(Class superclass) |
<T extends Annotation> |
Class.getAnnotation(Class annotationType) |
protected static <T> T[] |
Enum.getEnumValues(Class<T> class_) |
boolean |
Class.isAnnotationPresent(Class annotationType) |
boolean |
Class.isAssignableFrom(Class cls) |
protected static void |
Enum.setEnumValues(Object[] values,
Class c) |
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
IncompleteAnnotationException.annotationType() |
Class<? extends Annotation> |
Annotation.annotationType() |
| Constructor and Description |
|---|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
MethodHandles.Lookup.lookupClass() |
Class<?>[] |
MethodType.parameterArray() |
Class<?> |
MethodType.parameterType(int a) |
Class<?> |
MethodType.returnType() |
| Modifier and Type | Method and Description |
|---|---|
List<Class<?>> |
MethodType.parameterList() |
| Modifier and Type | Method and Description |
|---|---|
MethodType |
MethodType.appendParameterTypes(Class<?>... a) |
static MethodHandle |
MethodHandles.arrayElementGetter(Class<?> a) |
static MethodHandle |
MethodHandles.arrayElementSetter(Class<?> a) |
MethodHandle |
MethodHandle.asCollector(Class<?> a,
int b) |
MethodHandle |
MethodHandle.asSpreader(Class<?> a,
int b) |
MethodHandle |
MethodHandle.asVarargsCollector(Class<?> a) |
static MethodHandle |
MethodHandles.catchException(MethodHandle a,
Class<? extends Throwable> b,
MethodHandle c) |
MethodType |
MethodType.changeParameterType(int a,
Class<?> b) |
MethodType |
MethodType.changeReturnType(Class<?> a) |
static MethodHandle |
MethodHandles.constant(Class<?> a,
Object b) |
static MethodHandle |
MethodHandles.dropArguments(MethodHandle a,
int b,
Class<?>... c) |
MethodHandle |
MethodHandles.Lookup.findConstructor(Class<?> a,
MethodType b) |
MethodHandle |
MethodHandles.Lookup.findGetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findGetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findSetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findSetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findSpecial(Class<?> a,
String b,
MethodType c,
Class<?> d) |
MethodHandle |
MethodHandles.Lookup.findSpecial(Class<?> a,
String b,
MethodType c,
Class<?> d) |
MethodHandle |
MethodHandles.Lookup.findStatic(Class<?> a,
String b,
MethodType c) |
MethodHandle |
MethodHandles.Lookup.findStaticGetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findStaticGetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findStaticSetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findStaticSetter(Class<?> a,
String b,
Class<?> c) |
MethodHandle |
MethodHandles.Lookup.findVirtual(Class<?> a,
String b,
MethodType c) |
static MethodHandle |
MethodHandles.identity(Class<?> a) |
MethodHandles.Lookup |
MethodHandles.Lookup.in(Class<?> a) |
MethodType |
MethodType.insertParameterTypes(int a,
Class<?>... b) |
static MethodType |
MethodType.methodType(Class<?> a) |
static MethodType |
MethodType.methodType(Class<?> a,
Class<?> b) |
static MethodType |
MethodType.methodType(Class<?> a,
Class<?> b) |
static MethodType |
MethodType.methodType(Class<?> a,
Class<?>[] b) |
static MethodType |
MethodType.methodType(Class<?> a,
Class<?>[] b) |
static MethodType |
MethodType.methodType(Class<?> a,
Class<?> b,
Class<?>... c) |
static MethodType |
MethodType.methodType(Class<?> a,
Class<?> b,
Class<?>... c) |
static MethodType |
MethodType.methodType(Class<?> a,
Class<?> b,
Class<?>... c) |
static MethodType |
MethodType.methodType(Class<?> a,
List<Class<?>> b) |
static MethodType |
MethodType.methodType(Class<?> a,
MethodType b) |
static <T> T |
MethodHandles.reflectAs(Class<T> a,
MethodHandle b) |
static MethodHandle |
MethodHandles.throwException(Class<?> a,
Class<? extends Throwable> b) |
static MethodHandle |
MethodHandles.throwException(Class<?> a,
Class<? extends Throwable> b) |
MethodHandle |
MethodHandles.Lookup.unreflectSpecial(Object a,
Class<?> b) |
| Modifier and Type | Method and Description |
|---|---|
MethodType |
MethodType.appendParameterTypes(List<Class<?>> a) |
static MethodHandle |
MethodHandles.dropArguments(MethodHandle a,
int b,
List<Class<?>> c) |
MethodType |
MethodType.insertParameterTypes(int a,
List<Class<?>> b) |
static MethodType |
MethodType.methodType(Class<?> a,
List<Class<?>> b) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
Array.newInstance(Class<?> componentType,
int length) |
static Object |
Array.newInstance(Class<?> componentType,
int[] dimensions) |
| Modifier and Type | Method and Description |
|---|---|
static <E> Collection<E> |
Collections.checkedCollection(Collection<E> c,
Class<E> type) |
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength,
Class<? extends T[]> newType) |
static <T,U> T[] |
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType) |
Copyright © 2026. All rights reserved.