java > java.lang > java.lang.class >

Class: java.lang.Class
    java.lang.Object
       java.lang.Class


public final class Class extends Object implements Serializable, GenericDeclaration, Type, AnnotatedElement


FIELDS:

CONSTRUCTORS:

METHODS:
public Class asSubclass(Class clazz)
Throws: ClassCastException

public Object cast(Object obj)
Throws: ClassCastException

public boolean desiredAssertionStatus()

public static Class forName(String className)
Throws: LinkageError
Throws: ExceptionInInitializerError
Throws: ClassNotFoundException

public static Class forName(String name, boolean initialize, ClassLoader loader)
Throws: LinkageError
Throws: ExceptionInInitializerError
Throws: ClassNotFoundException

public Object getAnnotation(Class annotationClass)
Throws: NullPointerException

public Annotation[] getAnnotations()

public String getCanonicalName()

public ClassLoader getClassLoader()
Throws: SecurityException

public Class[] getClasses()
Throws: SecurityException

public Class getComponentType()

public Constructor getConstructor(Class... parameterTypes)
Throws: NoSuchMethodException
Throws: SecurityException

public Constructor[] getConstructors()
Throws: SecurityException

public Annotation[] getDeclaredAnnotations()

public Class[] getDeclaredClasses()
Throws: SecurityException

public Constructor getDeclaredConstructor(Class... parameterTypes)
Throws: NoSuchMethodException
Throws: SecurityException

public Constructor[] getDeclaredConstructors()
Throws: SecurityException

public Field getDeclaredField(String name)
Throws: NoSuchFieldException
Throws: NullPointerException
Throws: SecurityException

public Field[] getDeclaredFields()
Throws: SecurityException

public Method getDeclaredMethod(String name, Class... parameterTypes)
Throws: NoSuchMethodException
Throws: NullPointerException
Throws: SecurityException

public Method[] getDeclaredMethods()
Throws: SecurityException

public Class getDeclaringClass()

public Class getEnclosingClass()

public Constructor getEnclosingConstructor()

public Method getEnclosingMethod()

public Object[] getEnumConstants()

public Field getField(String name)
Throws: NoSuchFieldException
Throws: NullPointerException
Throws: SecurityException

public Field[] getFields()
Throws: SecurityException

public Type[] getGenericInterfaces()
Throws: TypeNotPresentException

public Type getGenericSuperclass()
Throws: TypeNotPresentException

public Class[] getInterfaces()

public Method getMethod(String name, Class... parameterTypes)
Throws: NoSuchMethodException
Throws: NullPointerException
Throws: SecurityException

public Method[] getMethods()
Throws: SecurityException

public int getModifiers()

public String getName()

public Package getPackage()

public ProtectionDomain getProtectionDomain()
Throws: SecurityException

public URL getResource(String name)

public InputStream getResourceAsStream(String name)
Throws: NullPointerException

public Object[] getSigners()

public String getSimpleName()

public Class getSuperclass()

public TypeVariable[] getTypeParameters()

public boolean isAnnotation()

public boolean isAnnotationPresent(Class annotationClass)
Throws: NullPointerException

public boolean isAnonymousClass()

public boolean isArray()

public boolean isAssignableFrom(Class cls)
Throws: NullPointerException

public boolean isEnum()

public boolean isInstance(Object obj)

public boolean isInterface()

public boolean isLocalClass()

public boolean isMemberClass()

public boolean isPrimitive()

public boolean isSynthetic()

public Object newInstance()
Throws: IllegalAccessException
Throws: InstantiationException
Throws: ExceptionInInitializerError
Throws: SecurityException

public String toString()
Overrides: Object


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net