Home
last modified time | relevance | path

Searched refs:getMethods (Results 1 – 25 of 248) sorted by relevance

12345678910

/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliMethodTest.java95 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testStaticRegisterCount()
135 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testMethodParams()
178 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testVarArgsMethod()
185 smaliMethod = smaliClass.getMethods()[1]; in testVarArgsMethod()
241 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testGetInstructions()
261 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testGetSourcePositionForCodeOffset()
284 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testThrowsList()
303 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testPrimitiveReturnType()
DSmaliCodeFragmentFactoryTest.java111 PsiElement context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(0); in testCompletion()
115 context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(2); in testCompletion()
119 context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(6); in testCompletion()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerServiceDefinitionTest.java64 ssd.getServiceDescriptor().getMethods()); in noMethods()
75 for (ServerMethodDefinition<?, ?> serverMethod : ssd.getMethods()) { in addMethod_twoArg()
135 new HashSet<MethodDescriptor<?, ?>>(ssd.getServiceDescriptor().getMethods())); in builderWithServiceName()
141 assertEquals(goldenMethodDefs, new HashSet<ServerMethodDefinition<?, ?>>(ssd.getMethods())); in builderWithServiceName()
149 ssd.getServiceDescriptor().getMethods()); in builderWithServiceName_noMethods()
151 new HashSet<ServerMethodDefinition<?, ?>>(ssd.getMethods())); in builderWithServiceName_noMethods()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DMethodDeclarationTransformationsTest.java237 cu.getType(0).getMethods().get(0).setModifiers(new NodeList<>()); in removingModifiersWithExistingAnnotations()
271 cu.getType(0).getMethods().get(0).setModifiers(createModifierList(PROTECTED)); in replacingModifiersWithExistingAnnotations()
333 cu.getType(0).getMethods().get(0).addSingleMemberAnnotation( in addingToExistingAnnotations()
355 cu.getType(0).getMethods().get(0).addMarkerAnnotation("Test"); in addingAnnotationsNoModifiers()
356 cu.getType(0).getMethods().get(0).addMarkerAnnotation("Override"); in addingAnnotationsNoModifiers()
377 …cu.getType(0).getMethods().get(0).setAnnotations(new NodeList<>(new MarkerAnnotationExpr("Test"))); in replacingAnnotations()
407 cu.getType(0).getMethods().get(0).getAnnotationByName("Override").get().remove(); in removingAnnotations()
428 cu.getType(0).getMethods().get(0).getAnnotationByName("Override").get().remove(); in removingAnnotationsWithSpaces()
455 …cu.getType(0).getMethods().get(0).addModifier(Modifier.finalModifier().getKeyword(), Modifier.publ… in addingModifiersWithExistingAnnotations()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/
DVerifier.java166 + org.apache.bcel.Repository.lookupClass(classname).getMethods()[meth] in getMessages()
175 + org.apache.bcel.Repository.lookupClass(classname).getMethods()[meth] in getMessages()
215 for (int i = 0; i < jc.getMethods().length; i++) { in main()
218 + jc.getMethods()[i] + "']:\n" + vr); in main()
221 + jc.getMethods()[i] + "']:\n" + vr); in main()
DTransitiveHull.java64 for (int i = 0; i < jc.getMethods().length; i++) { in update()
68 + jc.getMethods()[i] + "']:\n" + vr); in update()
73 + jc.getMethods()[i] + "']:\n" + vr); in update()
DVerifierAppFrame.java295 final String[] methodnames = new String[jc.getMethods().length]; in verify()
296 for (int i = 0; i < jc.getMethods().length; i++) { in verify()
297 methodnames[i] = jc.getMethods()[i].toString().replace('\n', ' ').replace('\t', in verify()
301 pass3aJList.setSelectionInterval(0, jc.getMethods().length - 1); in verify()
303 pass3bJList.setSelectionInterval(0, jc.getMethods().length - 1); in verify()
347 all3amsg.append("Method '").append(jc.getMethods()[i]).append("': ") in pass3aJList_valueChanged()
378 all3bmsg.append("Method '").append(jc.getMethods()[i]).append("': ") in pass3bJList_valueChanged()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpInterfacesGen.cpp159 for (auto &method : interface.getMethods()) { in emitInterfaceDef()
196 for (auto &method : interface.getMethods()) { in emitConceptDecl()
215 interface.getMethods(), os, in emitModelDecl()
220 for (auto &method : interface.getMethods()) { in emitModelDecl()
231 for (auto &method : interface.getMethods()) { in emitModelMethodsDef()
277 for (auto &method : interface.getMethods()) { in emitTraitDecl()
348 for (auto &method : interface.getMethods()) { in emitInterfaceDecl()
390 for (const auto &method : interface.getMethods()) { in emitInterfaceDoc()
/external/javassist/src/main/javassist/
DCtArray.java107 public CtMethod[] getMethods() in getMethods() method in CtArray
110 return getSuperclass().getMethods(); in getMethods()
113 return super.getMethods(); in getMethods()
/external/dagger2/java/dagger/internal/codegen/writing/
DSwitchingProviders.java171 .addMethods(getMethods())); in build()
174 private ImmutableList<MethodSpec> getMethods() { in getMethods() method in SwitchingProviders.SwitchingProviderBuilder
196 ImmutableList.Builder<MethodSpec> getMethods = ImmutableList.builder(); in getMethods() local
205 getMethods.add(method); in getMethods()
211 return getMethods.add(routerMethod.build()).build(); in getMethods()
/external/testng/src/test/java/test/assertion/
DAssertionTest.java29 assertThat(rawAssertion.getMethods()) in test2()
41 assertThat(rawAssertion.getMethods()) in test2_fails()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolverTest.java39 MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMethods().get(0); in resolveMethodDeclaration()
54 MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMethods().get(0); in resolveArrayType()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java304 return unmodifiableList(getMethods().stream() in getMethodsByName()
314 default List<MethodDeclaration> getMethods() { in getMethods() method
329 return unmodifiableList(getMethods().stream() in getMethodsByParameterTypes()
355 return unmodifiableList(getMethods().stream() in getMethodsByParameterTypes()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DMutableClass.java36 for (MethodNode methodNode : getMethods()) { in MutableClass()
69 public Iterable<? extends MethodNode> getMethods() { in getMethods() method in MutableClass
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaClassDef.java178 Arrays.asList(psiClass.getMethods())),
196 Iterables.filter(Arrays.asList(psiClass.getMethods()), new Predicate<PsiMethod>() {
211 @Nonnull @Override public Iterable<? extends Method> getMethods() {
/external/javassist/src/main/javassist/bytecode/
DBootstrapMethodsAttribute.java82 public BootstrapMethod[] getMethods() { in getMethods() method in BootstrapMethodsAttribute
113 BootstrapMethod[] methods = getMethods(); in copy()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java65 TestService.getDescriptor().getMethods().get(0);
67 TestService.getDescriptor().getMethods().get(1);
268 assertEquals(1, file.getServices().get(0).getMethods().size()); in testNoGenericServices()
270 file.getServices().get(0).getMethods().get(0).getName()); in testNoGenericServices()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java61 TestService.getDescriptor().getMethods().get(0);
63 TestService.getDescriptor().getMethods().get(1);
263 assertEquals(1, file.getServices().get(0).getMethods().size()); in testNoGenericServices()
264 assertEquals("Foo", file.getServices().get(0).getMethods().get(0).getName()); in testNoGenericServices()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerServiceDefinition.java61 public Collection<ServerMethodDefinition<?, ?>> getMethods() { in getMethods() method in ServerServiceDefinition
136 for (MethodDescriptor<?, ?> descriptorMethod : serviceDescriptor.getMethods()) { in build()
/external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/
DSmalideaMethodTest.java92 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testSmalideaMethod()
346 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testCatchBlocks()
418 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testPackedSwitch()
484 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testSparseSwitch()
559 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testArrayData()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DIClassCoverage.java83 Collection<IMethodCoverage> getMethods(); in getMethods() method
/external/mockito/src/main/java/org/mockito/internal/runners/util/
DTestMethodsFinder.java16 Method[] methods = klass.getMethods(); in hasTestMethods()
/external/emma/core/java12/com/vladium/emma/report/
DClassItem.java52 final MethodDescriptor [] methods = m_cls.getMethods (); in getFirstLine()
118 final MethodDescriptor [] methoddescs = m_cls.getMethods (); in getAggregate()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DGeneratingAnnotatedClassesTestCase.java126 int i = cg.getMethods()[0].getAnnotationEntries().length; in testGenerateMethodLevelAnnotations1()
133 i = jc2.getMethods()[0].getAnnotationEntries().length; in testGenerateMethodLevelAnnotations1()
138 final Method[] m = cg2.getMethods(); in testGenerateMethodLevelAnnotations1()
169 final Method mainMethod1 = jc2.getMethods()[0]; in testGenerateMethodLevelAnnotations2()
185 final Method mainMethod3 = cg3.getMethods()[1]; in testGenerateMethodLevelAnnotations2()
259 final Method[] methods = cgen.getMethods(); in testTransformClassToClassGen_ArrayAndAnnotationTypes()
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestRecognizer.java23 for (Method m : c.getMethods()) { in isTest()

12345678910