Home
last modified time | relevance | path

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

1234567891011

/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/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java60 TestService.getDescriptor().getMethods().get(0);
62 TestService.getDescriptor().getMethods().get(1);
99 Descriptors.MethodDescriptor fooDescriptor = TestService.getDescriptor().getMethods().get(0); in testGetPrototype()
100 Descriptors.MethodDescriptor barDescriptor = TestService.getDescriptor().getMethods().get(1); in testGetPrototype()
251 assertThat(file.getServices().get(0).getMethods()).hasSize(1); in testNoGenericServices()
252 assertThat(file.getServices().get(0).getMethods().get(0).getName()).isEqualTo("Foo"); in testNoGenericServices()
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java60 TestService.getDescriptor().getMethods().get(0);
62 TestService.getDescriptor().getMethods().get(1);
99 Descriptors.MethodDescriptor fooDescriptor = TestService.getDescriptor().getMethods().get(0); in testGetPrototype()
100 Descriptors.MethodDescriptor barDescriptor = TestService.getDescriptor().getMethods().get(1); in testGetPrototype()
251 assertThat(file.getServices().get(0).getMethods()).hasSize(1); in testNoGenericServices()
252 assertThat(file.getServices().get(0).getMethods().get(0).getName()).isEqualTo("Foo"); in testNoGenericServices()
/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.java180 .addMethods(getMethods());
199 private ImmutableList<MethodSpec> getMethods() {
221 ImmutableList.Builder<MethodSpec> getMethods = ImmutableList.builder();
230 getMethods.add(method);
236 return getMethods.add(routerMethod.build()).build();
DExperimentalSwitchingProviders.java220 .addMethods(getMethods());
236 private ImmutableList<MethodSpec> getMethods() {
258 ImmutableList.Builder<MethodSpec> getMethods = ImmutableList.builder();
267 getMethods.add(method);
273 return getMethods.add(routerMethod.build()).build();
/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/truth/core/src/test/java/com/google/common/truth/
DTruthAssertThatTest.java52 FluentIterable.from(asList(StandardSubjectBuilder.class.getMethods())) in staticAssertThatMethodsMatchStandardSubjectBuilderInstanceMethods()
63 FluentIterable.from(asList(Truth.class.getMethods())) in staticAssertThatMethodsMatchStandardSubjectBuilderInstanceMethods()
/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/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/robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/
DMutableClass.java35 for (MethodNode methodNode : getMethods()) { in MutableClass()
53 public Iterable<? extends MethodNode> getMethods() { in getMethods() method in MutableClass
/external/javassist/src/main/javassist/bytecode/
DBootstrapMethodsAttribute.java82 public BootstrapMethod[] getMethods() { in getMethods() method in BootstrapMethodsAttribute
113 BootstrapMethod[] methods = getMethods(); in copy()
/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/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/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/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DIClassCoverage.java84 Collection<IMethodCoverage> getMethods(); in getMethods() method

1234567891011