Class StaticClassHandle
java.lang.Object
com.cryptomorin.xseries.reflection.jvm.classes.ClassHandle
com.cryptomorin.xseries.reflection.jvm.classes.StaticClassHandle
- All Implemented Interfaces:
NamedReflectiveHandle,ReflectiveHandle<Class<?>>
A class that is known at compile time and can be referenced directly.
The purpose of this handle is to use reflection on the members (fields, methods and constructors) of the corresponding class.
- See Also:
-
Field Summary
FieldsFields inherited from class com.cryptomorin.xseries.reflection.jvm.classes.ClassHandle
namespace -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.cryptomorin.xseries.reflection.jvm.classes.ClassHandle
asArray, checkConstraints, constraint, constructor, constructor, constructor, constructor, enums, field, field, getDimensionCount, getNamespace, inner, inner, jvm, method, methodMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.cryptomorin.xseries.reflection.ReflectiveHandle
cached, catchError, exists, reflectOrNull, unreflect, unwrap
-
Field Details
-
clazz
-
-
Constructor Details
-
StaticClassHandle
-
-
Method Details
-
asArray
- Specified by:
asArrayin classClassHandle
-
reflect
Description copied from interface:ReflectiveHandleThe heart of the class.- Returns:
- the final JVM object that exists in this runtime.
- Throws:
ClassNotFoundException- See Also:
-
isArray
public boolean isArray()- Specified by:
isArrayin classClassHandle
-
getPossibleNames
-
copy
Description copied from interface:ReflectiveHandleCreates a new handle with the same properties.- Specified by:
copyin interfaceReflectiveHandle<Class<?>>- Specified by:
copyin classClassHandle
-
toString
-