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.ClassNodeclassNode
-
Constructor Summary
Constructors Constructor Description MutableClass(org.objectweb.asm.tree.ClassNode classNode, InstrumentationConfiguration config, ClassNodeProvider classNodeProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(int index, org.objectweb.asm.tree.FieldNode fieldNode)voidaddInterface(String internalName)voidaddMethod(org.objectweb.asm.tree.MethodNode methodNode)List<org.objectweb.asm.tree.FieldNode>getFields()Iterable<? extends org.objectweb.asm.tree.MethodNode>getMethods()StringgetName()booleanisAnnotation()booleanisInterface()voidremoveMethod(String name, String desc)
-
-
-
Constructor Detail
-
MutableClass
public MutableClass(org.objectweb.asm.tree.ClassNode classNode, InstrumentationConfiguration config, ClassNodeProvider classNodeProvider)
-
-
Method Detail
-
isInterface
public boolean isInterface()
-
isAnnotation
public boolean isAnnotation()
-
getName
public String getName()
-
getMethods
public Iterable<? extends org.objectweb.asm.tree.MethodNode> getMethods()
-
addMethod
public void addMethod(org.objectweb.asm.tree.MethodNode methodNode)
-
getFields
public List<org.objectweb.asm.tree.FieldNode> getFields()
-
addField
public void addField(int index, org.objectweb.asm.tree.FieldNode fieldNode)
-
addInterface
public void addInterface(String internalName)
-
-