Home
last modified time | relevance | path

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

1234

/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/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()
DObjectIdentityEqualsVisitorGenerator.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()
DObjectIdentityHashCodeVisitorGenerator.java19 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
20 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
22 final 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()
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()
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()
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()
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()
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()
DCloneVisitorGenerator.java24 …protected void generateVisitMethodBody(BaseNodeMetaModel node, MethodDeclaration visitMethod, Comp… in generateVisitMethodBody() argument
25 visitMethod.getParameters().forEach(p -> p.setFinal(true)); in generateVisitMethodBody()
27 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()
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()
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()
281 final MethodVisitor mv = writer.visitMethod( in test()
290 final MethodVisitor mv = writer.visitMethod( in test()
299 final MethodVisitor mv = writer.visitMethod(Opcodes.ACC_ABSTRACT, in test()
361 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() method in ProbeArrayStrategyFactoryTest.ClassVisitorMock
/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/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DClassAnalyzerTest.java47 analyzer.visitMethod(InstrSupport.INITMETHOD_ACC, in testAnalyzeInstrumentedClass2()
54 final MethodProbesVisitor mv = analyzer.visitMethod(0, "foo", "()V", in testMethodFilter_Empty()
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaClassFixer.java114 public MethodVisitor visitMethod( in visitMethod() method in LambdaClassFixer
145 new LambdaClassMethodRewriter(super.visitMethod(access, name, desc, signature, exceptions)); in visitMethod()
187 super.visitMethod(Opcodes.ACC_STATIC, "<clinit>", "()V", (String) null, new String[0]); in visitEnd()
346 public MethodVisitor visitMethod( in visitMethod() method in LambdaClassFixer.CopyBridgeMethods
354 LambdaClassFixer.super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
395 public MethodVisitor visitMethod( in visitMethod() method in LambdaClassFixer.CopyOneMethod
403 LambdaClassFixer.super.visitMethod(access, name, desc, signature, exceptions)); in visitMethod()
DLongCompareMethodRewriter.java38 public MethodVisitor visitMethod( in visitMethod() method in LongCompareMethodRewriter
40 MethodVisitor visitor = super.cv.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
DInvokeDynamicLambdaMethodCollector.java52 public MethodVisitor visitMethod( in visitMethod() method in InvokeDynamicLambdaMethodCollector
54 MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()

1234