Home
last modified time | relevance | path

Searched refs:MethodNode (Results 1 – 25 of 90) sorted by relevance

1234

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/
DAnnotationGeneratedFilterTest.java17 import org.objectweb.asm.tree.MethodNode;
28 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_filter_methods_annotated_with_runtime_visible_org_groovy_transform_Generated()
42 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_filter_methods_annotated_with_runtime_invisible_lombok_Generated()
56 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_filter_classes_annotated_with_runtime_visible_org_immutables_value_Generated()
71 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_filter_classes_annotated_with_runtime_visible_org_apache_avro_specific_AvroGenerated()
86 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_filter_when_annotation_is_inner()
101 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_not_filter_when_no_annotations()
114 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_not_filter_when_other_annotations()
DSyntheticFilterTest.java17 import org.objectweb.asm.tree.MethodNode;
28 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testNonSynthetic()
39 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in testSynthetic()
50 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in testLambda()
61 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_not_filter_method_with_suffix_default_in_kotlin_classes()
75 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_filter_synthetic_method_with_suffix_default_in_non_kotlin_classes()
87 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_not_filter_synthetic_methods_whose_last_argument_is_kotlin_coroutine_continuation()
DEnumFilterTest.java17 import org.objectweb.asm.tree.MethodNode;
28 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testValues()
40 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testNonValues()
51 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testValueOf()
63 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testNonValueOf()
75 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testNonEnum()
DKotlinGeneratedFilterTest.java18 import org.objectweb.asm.tree.MethodNode;
29 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testNoLinesForKotlinWithDebug()
43 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testWithLinesForKotlinWithDebug()
59 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testNoLinesNonKotlinWithDebug()
71 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testNoLinesForKotlinNoDebug()
86 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in testWithLinesForKotlinNoDebug()
DEnumEmptyConstructorFilterTest.java17 import org.objectweb.asm.tree.MethodNode;
28 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_filter()
56 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_not_filter_non_empty_constructor()
84 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_not_filter_constructor_with_additional_parameters()
111 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_not_filter_non_constructor()
124 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in should_not_filter_non_Enum()
DKotlinDefaultArgumentsFilterTest.java18 import org.objectweb.asm.tree.MethodNode;
27 private static MethodNode createMethod(final int access, final String name, in createMethod()
29 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in createMethod()
53 final MethodNode m = createMethod(Opcodes.ACC_SYNTHETIC, in should_filter()
65 final MethodNode m = createMethod(Opcodes.ACC_SYNTHETIC, in should_not_filter_when_not_kotlin()
76 final MethodNode m = createMethod(Opcodes.ACC_SYNTHETIC, in should_not_filter_when_suffix_absent()
88 final MethodNode m = createMethod(0, "not_synthetic$default", in should_not_filter_when_not_synthetic()
DPrivateEmptyNoArgConstructorFilterTest.java17 import org.objectweb.asm.tree.MethodNode;
28 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, in test()
DKotlinNotNullOperatorFilterTest.java18 import org.objectweb.asm.tree.MethodNode;
27 private final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0,
DKotlinUnsafeCastOperatorFilterTest.java19 import org.objectweb.asm.tree.MethodNode;
28 private final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0,
DKotlinLateinitFilterTest.java19 import org.objectweb.asm.tree.MethodNode;
28 private final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0,
DStringSwitchEcjFilterTest.java22 import org.objectweb.asm.tree.MethodNode;
35 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_filter()
113 final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0, in should_filter_when_default_is_first()
DKotlinInlineFilterTest.java24 import org.objectweb.asm.tree.MethodNode;
33 private final MethodNode m = new MethodNode(InstrSupport.ASM_API_VERSION, 0,
276 private void shouldIgnorePrevious(final MethodNode m) { in shouldIgnorePrevious()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DClassInstrumentor.java26 import org.objectweb.asm.tree.MethodNode;
127 for (MethodNode method : mutableClass.getMethods()) { in instrumentMethods()
143MethodNode defaultConstructor = new MethodNode(Opcodes.ACC_PUBLIC, "<init>", "()V", "()V", null); in addNoArgsConstructor()
167MethodNode initMethodNode = new MethodNode(Opcodes.ACC_PROTECTED, ROBO_INIT_METHOD_NAME, "()V", nu… in addRoboInitMethod()
193 private boolean isSyntheticAccessorMethod(MethodNode method) { in isSyntheticAccessorMethod()
248 private void instrumentConstructor(MutableClass mutableClass, MethodNode method) { in instrumentConstructor()
267MethodNode initMethodNode = new MethodNode(method.access, "<init>", method.desc, method.signature,… in instrumentConstructor()
281 private InsnList extractCallToSuperConstructor(MutableClass mutableClass, MethodNode ctor) { in extractCallToSuperConstructor()
332 protected void instrumentNormalMethod(MutableClass mutableClass, MethodNode method) { in instrumentNormalMethod()
351MethodNode delegatorMethodNode = new MethodNode(method.access, originalName, method.desc, method.s… in instrumentNormalMethod()
[all …]
DMutableClass.java12 import org.objectweb.asm.tree.MethodNode;
36 for (MethodNode methodNode : getMethods()) { in MutableClass()
69 public Iterable<? extends MethodNode> getMethods() { in getMethods()
73 public void addMethod(MethodNode methodNode) { in addMethod()
DShadowDecorator.java11 import org.objectweb.asm.tree.MethodNode;
44 public void decorateMethodPreClassHandler(MutableClass mutableClass, MethodNode originalMethod, in decorateMethodPreClassHandler()
82MethodNode initMethodNode = new MethodNode(Opcodes.ACC_PUBLIC, ShadowConstants.GET_ROBO_DATA_METHO… in addRoboGetDataMethod()
DRobolectricGeneratorAdapter.java10 import org.objectweb.asm.tree.MethodNode;
20 public RobolectricGeneratorAdapter(MethodNode methodNode) { in RobolectricGeneratorAdapter()
67 void invokeMethod(String internalClassName, MethodNode method) { in invokeMethod()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DMethodSanitizerTest.java22 import org.objectweb.asm.tree.MethodNode;
29 private MethodNode actual;
30 private MethodNode expected;
36 actual = new MethodNode(0, "test", "()V", null, null); in setup()
37 expected = new MethodNode(0, "test", "()V", null, null); in setup()
145 private MethodRecorder dump(MethodNode node) { in dump()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
DKotlinGeneratedFilter.java15 import org.objectweb.asm.tree.MethodNode;
30 public void filter(final MethodNode methodNode, in filter()
51 private boolean hasLineNumber(final MethodNode methodNode) { in hasLineNumber()
DPrivateEmptyNoArgConstructorFilter.java15 import org.objectweb.asm.tree.MethodNode;
25 public void filter(final MethodNode methodNode, in filter()
37 private boolean match(final MethodNode methodNode, in match()
DEnumEmptyConstructorFilter.java15 import org.objectweb.asm.tree.MethodNode;
38 public void filter(final MethodNode methodNode, in filter()
50 private boolean match(final MethodNode methodNode) { in match()
DKotlinDefaultArgumentsFilter.java21 import org.objectweb.asm.tree.MethodNode;
50 public void filter(final MethodNode methodNode, in filter()
66 public void match(final MethodNode methodNode, in match()
DIFilter.java14 import org.objectweb.asm.tree.MethodNode;
34 void filter(MethodNode methodNode, IFilterContext context, in filter()
DSyntheticFilter.java15 import org.objectweb.asm.tree.MethodNode;
22 public void filter(final MethodNode methodNode, in filter()
DEnumFilter.java14 import org.objectweb.asm.tree.MethodNode;
22 public void filter(final MethodNode methodNode, in filter()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DCondyProbeArrayStrategyTest.java25 import org.objectweb.asm.tree.MethodNode;
41 final MethodNode m = new MethodNode(); in should_store_instance_using_condy_and_checkcast()
88 final MethodNode m = c.methods.get(0); in should_add_bootstrap_method()

1234