Home
last modified time | relevance | path

Searched refs:visitMethod (Results 1 – 25 of 116) sorted by relevance

12345

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DClassProbesAdapterTest.java63 public MethodProbesVisitor visitMethod(int access, String name, in visitMethod() method in ClassProbesAdapterTest.MockClassVisitor
89 public MethodProbesVisitor visitMethod(int access, String name, in testVisitClassMethods()
122 public MethodProbesVisitor visitMethod(int access, String name, in testVisitWithFrames()
138 public MethodProbesVisitor visitMethod(int access, String name, in testVisitWithoutFrames()
150 MethodVisitor mv = cv.visitMethod(0, "foo", "()V", null, null); in writeMethod()
158 MethodVisitor mv = cv.visitMethod(0, "foo", "()V", null, null); in writeMethodWithBranch()
171 MethodVisitor mv = cv.visitMethod(0, "foo", "()V", null, null); in writeMethodWithTableSwitch()
186 MethodVisitor mv = cv.visitMethod(0, "foo", "()V", null, null); in writeMethodWithLookupSwitch()
/external/annotation-tools/asmx/src/org/objectweb/asm/commons/
DStaticInitMerger.java69 public MethodVisitor visitMethod( in visitMethod() method in StaticInitMerger
80 mv = cv.visitMethod(a, n, desc, signature, exceptions); in visitMethod()
83 clinit = cv.visitMethod(a, name, desc, null, null); in visitMethod()
87 mv = cv.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/commons/
DAdviceAdapterTest.java69 public MethodVisitor visitMethod( in visitMethod() method in AdviceAdapterTest.ReferenceClassAdapter
76 MethodVisitor mv = cv.visitMethod(access, in visitMethod()
98 public MethodVisitor visitMethod( in visitMethod() method in AdviceAdapterTest.AdviceClassAdapter
105 MethodVisitor mv = cv.visitMethod(access, in visitMethod()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
DVoidVisitorGenerator.java18 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
19 visitMethod.getParameters().forEach(p -> p.setFinal(false)); in generateVisitMethodBody()
21 visitMethod.setBody(null); in generateVisitMethodBody()
DGenericVisitorGenerator.java18 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
19 visitMethod.getParameters().forEach(p -> p.setFinal(false)); in generateVisitMethodBody()
21 visitMethod.setBody(null); in generateVisitMethodBody()
DGenericVisitorWithDefaultsGenerator.java19 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
20 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
22 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DVoidVisitorWithDefaultsGenerator.java19 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
20 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
22 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DObjectIdentityEqualsVisitorGenerator.java22 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
23 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
25 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DObjectIdentityHashCodeVisitorGenerator.java25 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
26 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
28 final BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DGenericVisitorAdapterGenerator.java22 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
23 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
25 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DVoidVisitorAdapterGenerator.java22 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
23 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
25 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DEqualsVisitorGenerator.java22 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
23 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
25 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DNoCommentEqualsVisitorGenerator.java42 protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, in generateVisitMethodBody() argument
44 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
46 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DGenericListVisitorAdapterGenerator.java26 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
27 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
29 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DHashCodeVisitorGenerator.java25 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
26 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
28 final BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DCloneVisitorGenerator.java23 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
24 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
26 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DNoCommentHashCodeVisitorGenerator.java45 protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, in generateVisitMethodBody() argument
47 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
49 final BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
DModifierVisitorGenerator.java21 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
22 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
24 BlockStmt body = visitMethod.getBody().get(); in generateVisitMethodBody()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DProbeCounterTest.java49 assertNull(counter.visitMethod(0, "<clinit>", null, null, null)); in testVisitClinitMethod()
55 counter.visitMethod(Opcodes.ACC_ABSTRACT, "foo", null, null, null); in testVisitAbstractMethod()
61 assertNull(counter.visitMethod(0, "foo", null, null, null)); in testVisitMethod()
DProbeArrayStrategyFactoryTest.java120 strategy.storeInstance(cv.visitMethod(0, null, null, null, null), false, in testClass8()
159 strategy.storeInstance(cv.visitMethod(0, null, null, null, null), false, in testInterface8()
187 strategy.storeInstance(cv.visitMethod(0, null, null, null, null), false, in testClinitAndAbstractMethodsInterface8()
210 strategy.storeInstance(cv.visitMethod(0, "<clinit>", null, null, null), in testClinitAndMethodsInterface8()
232 final MethodVisitor mv = writer.visitMethod( in test()
241 final MethodVisitor mv = writer.visitMethod( in test()
250 final MethodVisitor mv = writer.visitMethod(Opcodes.ACC_ABSTRACT, in test()
312 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() method in ProbeArrayStrategyFactoryTest.ClassVisitorMock
DClassInstrumenterTest.java44 instrumenter.visitMethod(InstrSupport.INITMETHOD_ACC, in testInstrumentInstrumentedClass2()
54 public MethodVisitor visitMethod(int access, String name, in testNoMethodVisitor()
59 assertNull(instrumenter.visitMethod(0, "foo", "()V", null, null)); in testNoMethodVisitor()
/external/annotation-tools/asmx/test/conform/annotations/
DExtendedValuesDump.java101 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in dump()
112 mv = cw.visitMethod(ACC_PUBLIC, "testMethod", "(Ljava/lang/String;I)V", null, null); in dump()
169 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in dumpClassEmpty()
213 mv = cw.visitMethod(ACC_PRIVATE, "<init>", "()V", null, null); in dumpClassNonEmpty()
237 mv = cw.visitMethod(ACC_PROTECTED, "<init>", "(Ljava/lang/String;)V", null, null); in dumpClassNonEmpty()
262 mv = cw.visitMethod(ACC_PUBLIC, "i", "()I", null, null); in dumpClassNonEmpty()
277 mv = cw.visitMethod(ACC_PUBLIC, "a", "()Ljava/lang/String;", null, null); in dumpClassNonEmpty()
376 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in dumpFieldSimple()
580 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in dumpFieldGeneric()
606 mv = cw.visitMethod(ACC_PUBLIC, "toString", "()Ljava/lang/String;", null, null); in dumpFieldGeneric()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DRuntimeTestBase.java121 GeneratorAdapter gen = new GeneratorAdapter(writer.visitMethod( in generateAndInstantiateClass()
138 gen = new GeneratorAdapter(writer.visitMethod(Opcodes.ACC_PUBLIC, in generateAndInstantiateClass()
149 gen = new GeneratorAdapter(writer.visitMethod(Opcodes.ACC_PUBLIC, "a", in generateAndInstantiateClass()
162 gen = new GeneratorAdapter(writer.visitMethod(Opcodes.ACC_PUBLIC, "b", in generateAndInstantiateClass()
DRuntimeDataTest.java120 MethodVisitor mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "<init>", in testGenerateArgumentArray()
131 mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "call", in testGenerateArgumentArray()
161 MethodVisitor mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "<init>", in testGenerateAccessCall()
176 mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "call", in testGenerateAccessCall()
/external/desugar/java/com/google/devtools/build/android/desugar/
DDefaultMethodClassFixer.java179 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer
190 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
408 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.DefaultMethodStubber
425 DefaultMethodClassFixer.this.visitMethod(access, name, desc, (String) null, exceptions); in visitMethod()
451 DefaultMethodClassFixer.this.visitMethod(access, name, desc, (String) null, exceptions), in visitMethod()
500 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.DefaultMethodFinder
530 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.InstanceMethodRecorder
578 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.InterfaceInitializationNecessityDetector

12345