Module java.base
Package java.lang

# Class Class

=
public final class Class<T>
extends java.lang.Object
implements java.io.Serializable, java.lang.constant.Constable, java.lang.reflect.AnnotatedElement, java.lang.reflect.GenericDeclaration, java.lang.reflect.Type, java.lang.invoke.TypeDescriptor.OfField<java.lang.Class<?>>

## Methods

- =
  public java.util.Set<java.lang.reflect.AccessFlag> accessFlags()
- =
  public java.lang.Class<?> arrayType()
- =
  public <U> java.lang.Class<? extends U> asSubclass(java.lang.Class<U> arg0)
- =
  public T cast(java.lang.Object arg0)
- =
  public java.lang.Class<?> componentType()
- =
  public java.util.Optional<java.lang.constant.ClassDesc> describeConstable()
- =
  public java.lang.String descriptorString()
- =
  public boolean desiredAssertionStatus()
- =
  public static java.lang.Class<?> forName(java.lang.Module arg0, java.lang.String arg1)
- =
  public static java.lang.Class<?> forName(java.lang.String arg0) throws java.lang.ClassNotFoundException
- =
  public static java.lang.Class<?> forName(java.lang.String arg0, boolean arg1, java.lang.ClassLoader arg2) throws java.lang.ClassNotFoundException
- =
  public static java.lang.Class<?> forPrimitiveName(java.lang.String arg0)
- =
  public java.lang.reflect.AnnotatedType[] getAnnotatedInterfaces()
- =
  public java.lang.reflect.AnnotatedType getAnnotatedSuperclass()
- =
  public <A> A getAnnotation(java.lang.Class<A> arg0)
- =
  public java.lang.annotation.Annotation[] getAnnotations()
- =
  public <A> A[] getAnnotationsByType(java.lang.Class<A> arg0)
- =
  public java.lang.String getCanonicalName()
- =
  public java.lang.ClassLoader getClassLoader()
- =
  public java.lang.Class<?>[] getClasses()
- =
  public java.lang.Class<?> getComponentType()
- =
  public java.lang.reflect.Constructor<T> getConstructor(java.lang.Class<?>[] arg0) throws java.lang.NoSuchMethodException, java.lang.SecurityException
- =
  public java.lang.reflect.Constructor<?>[] getConstructors() throws java.lang.SecurityException
- =
  public <A> A getDeclaredAnnotation(java.lang.Class<A> arg0)
- =
  public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- =
  public <A> A[] getDeclaredAnnotationsByType(java.lang.Class<A> arg0)
- =
  public java.lang.Class<?>[] getDeclaredClasses() throws java.lang.SecurityException
- =
  public java.lang.reflect.Constructor<T> getDeclaredConstructor(java.lang.Class<?>[] arg0) throws java.lang.NoSuchMethodException, java.lang.SecurityException
- =
  public java.lang.reflect.Constructor<?>[] getDeclaredConstructors() throws java.lang.SecurityException
- =
  public java.lang.reflect.Field getDeclaredField(java.lang.String arg0) throws java.lang.NoSuchFieldException, java.lang.SecurityException
- =
  public java.lang.reflect.Field[] getDeclaredFields() throws java.lang.SecurityException
- =
  public java.lang.reflect.Method getDeclaredMethod(java.lang.String arg0, java.lang.Class<?>[] arg1) throws java.lang.NoSuchMethodException, java.lang.SecurityException
- =
  public java.lang.reflect.Method[] getDeclaredMethods() throws java.lang.SecurityException
- =
  public java.lang.Class<?> getDeclaringClass() throws java.lang.SecurityException
- =
  public java.lang.Class<?> getEnclosingClass() throws java.lang.SecurityException
- =
  public java.lang.reflect.Constructor<?> getEnclosingConstructor() throws java.lang.SecurityException
- =
  public java.lang.reflect.Method getEnclosingMethod() throws java.lang.SecurityException
- =
  public T[] getEnumConstants()
- =
  public java.lang.reflect.Field getField(java.lang.String arg0) throws java.lang.NoSuchFieldException, java.lang.SecurityException
- =
  public java.lang.reflect.Field[] getFields() throws java.lang.SecurityException
- =
  public java.lang.reflect.Type[] getGenericInterfaces()
- =
  public java.lang.reflect.Type getGenericSuperclass()
- =
  public java.lang.Class<?>[] getInterfaces()
- =
  public java.lang.reflect.Method getMethod(java.lang.String arg0, java.lang.Class<?>[] arg1) throws java.lang.NoSuchMethodException, java.lang.SecurityException
- =
  public java.lang.reflect.Method[] getMethods() throws java.lang.SecurityException
- =
  public int getModifiers()
- =
  public java.lang.Module getModule()
- =
  public java.lang.String getName()
- =
  public java.lang.Class<?> getNestHost()
- =
  public java.lang.Class<?>[] getNestMembers()
- =
  public java.lang.Package getPackage()
- =
  public java.lang.String getPackageName()
- =
  public java.lang.Class<?>[] getPermittedSubclasses()
- =
  public java.security.ProtectionDomain getProtectionDomain()
- =
  public java.lang.reflect.RecordComponent[] getRecordComponents()
- =
  public java.net.URL getResource(java.lang.String arg0)
- =
  public java.io.InputStream getResourceAsStream(java.lang.String arg0)
- =
  public java.lang.Object[] getSigners()
- =
  public java.lang.String getSimpleName()
- =
  public java.lang.Class<? super T> getSuperclass()
- =
  public java.lang.String getTypeName()
- =
  public java.lang.reflect.TypeVariable<java.lang.Class<T>>[] getTypeParameters()
- =
  public boolean isAnnotation()
- =
  public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> arg0)
- =
  public boolean isAnonymousClass()
- =
  public boolean isArray()
- =
  public boolean isAssignableFrom(java.lang.Class<?> arg0)
- =
  public boolean isEnum()
- =
  public boolean isHidden()
- =
  public boolean isInstance(java.lang.Object arg0)
- =
  public boolean isInterface()
- =
  public boolean isLocalClass()
- =
  public boolean isMemberClass()
- =
  public boolean isNestmateOf(java.lang.Class<?> arg0)
- =
  public boolean isPrimitive()
- =
  public boolean isRecord()
- =
  public boolean isSealed()
- =
  public boolean isSynthetic()
- =
  @Deprecated(since="9")
  public T newInstance() throws java.lang.IllegalAccessException, java.lang.InstantiationException
- =
  public java.lang.String toGenericString()
- =
  public java.lang.String toString()

## Serialized Form

=

### serialVersionUID

=3206093459760846163

## Summary

No differences.