Class FAWEConfigTransformer

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

@Internal public final class FAWEConfigTransformer extends Object implements ClassTransformer
FAWEConfigTransformer relies on preview features of the Java platform:
  • FAWEConfigTransformer refers to one or more preview APIs: ClassTransform.
Programs can only use FAWEConfigTransformer 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 disables the setAccessible method in the FAWE Config 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.