Class AccessTransformerApplier
java.lang.Object
com.hloader.at.AccessTransformerApplier
- All Implemented Interfaces:
ClassFileTransformer
Applies Forge-style access-widening rules directly to loaded bytecode. Rules are declared in
named (deobfuscated) form by mods; this translates each rule's owner to the runtime obfuscated
class name (via
RuntimeClassMap, the same obf<->named data mixins use) once
up front, then matches purely on obfuscated names against the class actually being loaded.-
Constructor Summary
ConstructorsConstructorDescriptionAccessTransformerApplier(List<AccessTransformerRule> rules, RuntimeClassMap classMap) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClassFileTransformer
transform
-
Constructor Details
-
AccessTransformerApplier
-
-
Method Details
-
transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) - Specified by:
transformin interfaceClassFileTransformer
-