Class ClassHandle
java.lang.Object
com.cryptomorin.xseries.reflection.jvm.classes.ClassHandle
- All Implemented Interfaces:
ReflectiveHandle<Class<?>>
- Direct Known Subclasses:
DynamicClassHandle,StaticClassHandle
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ClassHandleasArray()abstract ClassHandleasArray(int dimensions) constructor(ClassHandle... parameters) constructor(Class<?>... parameters) constructor(String declaration) enums()field()intThe array dimension of this class.<T extends DynamicClassHandle>
Tinner(T handle) abstract booleanisArray()method()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cryptomorin.xseries.reflection.ReflectiveHandle
catchError, exists, reflect, reflectOrNull, unreflect
-
Field Details
-
namespace
-
-
Constructor Details
-
ClassHandle
-
-
Method Details
-
asArray
-
asArray
-
isArray
public abstract boolean isArray() -
getPossibleNames
-
inner
-
inner
- Type Parameters:
T- the type of the class handle.- Parameters:
handle- the handle to put the inner class information in.- Returns:
- the same object as the one provided in the parameter.
-
getDimensionCount
public int getDimensionCount()The array dimension of this class.- Returns:
- -1 if this class cannot be found, 0 if not an array, otherwise a positive number.
-
getNamespace
-
method
-
method
-
enums
-
field
-
field
-
constructor
-
constructor
-
constructor
-
constructor
-