Class FAWEReflectionUtilsTransformer

java.lang.Object
eu.cloudnetservice.wrapper.transform.bukkit.FAWEReflectionUtilsTransformer
All Implemented Interfaces:
ClassTransformer

@Internal public final class FAWEReflectionUtilsTransformer extends Object implements ClassTransformer
FAWEReflectionUtilsTransformer relies on preview features of the Java platform:
  • FAWEReflectionUtilsTransformer refers to one or more preview APIs: ClassTransform.
Programs can only use FAWEReflectionUtilsTransformer when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A transformer implementation that rewrites the setFailsafeFieldValue method in the ReflectionUtils class on old FAWE versions. This is due to the fact that the method uses illegal reflection in the attempt to set a final field which is not possible anymore on newer java versions.