Home
last modified time | relevance | path

Searched refs:visitMethod (Results 1 – 25 of 76) 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()
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()
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()
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()
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.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()
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/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/
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()
DDefaultMethodClassFixer.java188 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer
199 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
464 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.DefaultMethodStubber
484 DefaultMethodClassFixer.this.visitMethod(access, name, desc, (String) null, exceptions); in visitMethod()
522 DefaultMethodClassFixer.this.visitMethod(access, name, desc, (String) null, exceptions); in visitMethod()
636 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.DefaultMethodFinder
672 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.InstanceMethodRecorder
730 public MethodVisitor visitMethod( in visitMethod() method in DefaultMethodClassFixer.InterfaceInitializationNecessityDetector
/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/test/java/com/google/devtools/build/android/desugar/
DBug62060793TestDataGenerator.java125 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in createClass()
133 mv = cw.visitMethod( in createClass()
146 mv = cw.visitMethod( in createClass()
240 mv = cw.visitMethod( in createClass()
304 mv = cw.visitMethod( in createInterface()

1234