public class GeneratedClassDetector extends java.lang.Object implements ClassMatchVisitorFactory
NO_OP_FACTORY| Constructor and Description |
|---|
GeneratedClassDetector() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isGenerated(java.lang.String className)
Return true if the class name is likely the name of generated class.
|
org.objectweb.asm.ClassVisitor |
newClassMatchVisitor(java.lang.ClassLoader loader,
java.lang.Class<?> classBeingRedefined,
org.objectweb.asm.ClassReader reader,
org.objectweb.asm.ClassVisitor cv,
InstrumentationContext context)
Returns a chaining class visitor that applies matching logic to the class referenced by the class reader and
classBeingRedefined.
|
public static final boolean isGenerated(java.lang.String className)
public org.objectweb.asm.ClassVisitor newClassMatchVisitor(java.lang.ClassLoader loader,
java.lang.Class<?> classBeingRedefined,
org.objectweb.asm.ClassReader reader,
org.objectweb.asm.ClassVisitor cv,
InstrumentationContext context)
ClassMatchVisitorFactoryInstrumentationContext.newClassMatchVisitor in interface ClassMatchVisitorFactory