Class MutableClass
java.lang.Object
org.robolectric.internal.bytecode.MutableClass
public class MutableClass extends Object
-
Field Summary
Fields Modifier and Type Field Description org.objectweb.asm.tree.ClassNode
classNode
-
Constructor Summary
Constructors Constructor Description MutableClass(org.objectweb.asm.tree.ClassNode classNode, InstrumentationConfiguration config, ClassNodeProvider classNodeProvider)
-
Method Summary
Modifier and Type Method Description void
addField(int index, org.objectweb.asm.tree.FieldNode fieldNode)
void
addInterface(String internalName)
void
addMethod(org.objectweb.asm.tree.MethodNode methodNode)
List<org.objectweb.asm.tree.FieldNode>
getFields()
Iterable<? extends org.objectweb.asm.tree.MethodNode>
getMethods()
String
getName()
boolean
isAnnotation()
boolean
isInterface()
void
removeMethod(String name, String desc)
-
Field Details
-
classNode
public final org.objectweb.asm.tree.ClassNode classNode
-
-
Constructor Details
-
MutableClass
public MutableClass(org.objectweb.asm.tree.ClassNode classNode, InstrumentationConfiguration config, ClassNodeProvider classNodeProvider)
-
-
Method Details
-
isInterface
public boolean isInterface() -
isAnnotation
public boolean isAnnotation() -
getName
-
getMethods
-
addMethod
public void addMethod(org.objectweb.asm.tree.MethodNode methodNode) -
removeMethod
-
getFields
-
addField
public void addField(int index, org.objectweb.asm.tree.FieldNode fieldNode) -
addInterface
-