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
All Methods Instance Methods Concrete Methods 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)
-
-
-
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)
-
-