Package java.lang
Class Class
- java.lang.Object
-
- java.lang.Class
-
- All Implemented Interfaces:
Serializable
public final class Class extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
forName
public static Class forName(String var0) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
forName
public static Class forName(String var0, boolean var1, ClassLoader var2) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
getClasses
public Class[] getClasses()
-
getClassLoader
public ClassLoader getClassLoader()
-
getComponentType
public Class getComponentType()
-
getConstructor
public Constructor getConstructor(Class[] var0) throws NoSuchMethodException, SecurityException
-
getConstructors
public Constructor[] getConstructors() throws SecurityException
- Throws:
SecurityException
-
getDeclaredClasses
public Class[] getDeclaredClasses() throws SecurityException
- Throws:
SecurityException
-
getDeclaredConstructor
public Constructor getDeclaredConstructor(Class[] var0) throws NoSuchMethodException, SecurityException
-
getDeclaredConstructors
public Constructor[] getDeclaredConstructors() throws SecurityException
- Throws:
SecurityException
-
getDeclaredField
public Field getDeclaredField(String var0) throws NoSuchFieldException, SecurityException
-
getDeclaredFields
public Field[] getDeclaredFields() throws SecurityException
- Throws:
SecurityException
-
getDeclaredMethod
public Method getDeclaredMethod(String var0, Class[] var1) throws NoSuchMethodException, SecurityException
-
getDeclaredMethods
public Method[] getDeclaredMethods() throws SecurityException
- Throws:
SecurityException
-
getDeclaringClass
public Class getDeclaringClass()
-
getField
public Field getField(String var0) throws NoSuchFieldException, SecurityException
-
getFields
public Field[] getFields() throws SecurityException
- Throws:
SecurityException
-
getInterfaces
public Class[] getInterfaces()
-
getMethod
public Method getMethod(String var0, Class[] var1) throws NoSuchMethodException, SecurityException
-
getMethods
public Method[] getMethods() throws SecurityException
- Throws:
SecurityException
-
getModifiers
public int getModifiers()
-
getName
public String getName()
-
getProtectionDomain
public ProtectionDomain getProtectionDomain()
-
getResourceAsStream
public InputStream getResourceAsStream(String var0)
-
getSigners
public Object[] getSigners()
-
getSuperclass
public Class getSuperclass()
-
isArray
public boolean isArray()
-
isAssignableFrom
public boolean isAssignableFrom(Class var0)
-
isInstance
public boolean isInstance(Object var0)
-
isInterface
public boolean isInterface()
-
isPrimitive
public boolean isPrimitive()
-
newInstance
public Object newInstance() throws IllegalAccessException, InstantiationException
-
getPackage
public Package getPackage()
-
-