java.lang.Object
ushiosan.jvm.internal.validators.UClassValidator
ushiosan.jvm.internal.validators.UReflectionValidator
- Direct Known Subclasses:
UReflectionImpl
-
Field Summary
Fields inherited from class ushiosan.jvm.internal.validators.UClassValidator
INVALID_GET_TYPES, PRIMITIVE_ARRAY_CLASSES, PRIMITIVE_ARRAY_INDIVIDUAL, PRIMITIVE_WRAPPED_CLASSES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckRecursiveCall(@NotNull Class<?> cls, @NotNull String methodName) Checks if a recursive call is being made at a certain point in the program.
-
Constructor Details
-
UReflectionValidator
public UReflectionValidator()
-
-
Method Details
-
checkRecursiveCall
public static void checkRecursiveCall(@NotNull @NotNull Class<?> cls, @NotNull @NotNull String methodName) throws URecursiveCallException Checks if a recursive call is being made at a certain point in the program.- Parameters:
cls- the class that you want to parse to check for recursionmethodName- the method that you want to search within the call stack- Throws:
URecursiveCallException- error if it is detected that the stack has several calls of the same method recursively.
-