protected static class MemberRemoval.MemberRemovingClassVisitor
extends org.objectweb.asm.ClassVisitor
| Modifier | Constructor and Description |
|---|---|
protected |
MemberRemovingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor,
ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher,
ElementMatcher.Junction<MethodDescription> methodMatcher,
Map<String,FieldDescription.InDefinedShape> fields,
Map<String,MethodDescription> methods)
Creates a new member removing class visitor.
|
| Modifier and Type | Method and Description |
|---|---|
org.objectweb.asm.FieldVisitor |
visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
org.objectweb.asm.MethodVisitor |
visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
protected MemberRemovingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor,
ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher,
ElementMatcher.Junction<MethodDescription> methodMatcher,
Map<String,FieldDescription.InDefinedShape> fields,
Map<String,MethodDescription> methods)
classVisitor - The class visitor to delegate to.fieldMatcher - The matcher that determines field removal.methodMatcher - The matcher that determines method removal.fields - A mapping of field names and descriptors to their description.methods - A mapping of method names and descriptors to their description.Copyright © 2014–2019. All rights reserved.