Class MutableClass
java.lang.Object
org.robolectric.internal.bytecode.MutableClass
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMutableClass
(org.objectweb.asm.tree.ClassNode classNode, InstrumentationConfiguration config, ClassNodeProvider classNodeProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(int index, org.objectweb.asm.tree.FieldNode fieldNode) void
addInterface
(String internalName) void
addMethod
(org.objectweb.asm.tree.MethodNode methodNode) org.objectweb.asm.Type
List<org.objectweb.asm.tree.FieldNode>
Iterable<? extends org.objectweb.asm.tree.MethodNode>
getName()
boolean
boolean
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
-
getClassType
public org.objectweb.asm.Type getClassType() -
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
-