Package java.lang
Class Class
java.lang.Object
java.lang.Class
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static Class
static Class
forName
(String var0, boolean var1, ClassLoader var2) Class[]
getConstructor
(Class[] var0) Class[]
getDeclaredConstructor
(Class[] var0) getDeclaredField
(String var0) Field[]
getDeclaredMethod
(String var0, Class[] var1) Method[]
Field[]
Class[]
Method[]
int
getName()
getResource
(String var0) getResourceAsStream
(String var0) Object[]
boolean
isArray()
boolean
isAssignableFrom
(Class var0) boolean
isInstance
(Object var0) boolean
boolean
-
Method Details
-
desiredAssertionStatus
public boolean desiredAssertionStatus() -
forName
- Throws:
ClassNotFoundException
-
forName
public static Class forName(String var0, boolean var1, ClassLoader var2) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
getClassLoader
-
getClasses
-
getComponentType
-
getConstructor
- Throws:
NoSuchMethodException
-
getConstructors
-
getDeclaredClasses
-
getDeclaredConstructor
- Throws:
NoSuchMethodException
-
getDeclaredConstructors
-
getDeclaredField
- Throws:
NoSuchFieldException
-
getDeclaredFields
-
getDeclaredMethod
- Throws:
NoSuchMethodException
-
getDeclaredMethods
-
getDeclaringClass
-
getField
- Throws:
NoSuchFieldException
-
getFields
-
getInterfaces
-
getMethod
- Throws:
NoSuchMethodException
-
getMethods
-
getModifiers
public int getModifiers() -
getName
-
getPackage
-
getProtectionDomain
-
getResource
-
getResourceAsStream
-
getSigners
-
getSuperclass
-
isArray
public boolean isArray() -
isAssignableFrom
-
isInstance
-
isInterface
public boolean isInterface() -
isPrimitive
public boolean isPrimitive() -
newInstance
-