Home
last modified time | relevance | path

Searched refs:getMember (Results 1 – 25 of 75) sorted by relevance

123

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalDifferenceCalculatorTest.java69 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(0)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
71 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(1)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
73 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(2)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
75 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(3)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
77 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(4)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
79 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(5)), csm.ele… in annotationDeclarationModifiersExampleOriginal()
102 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(0)), csm.ele… in annotationDeclarationModifiersExampleModified()
104 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(1)), csm.ele… in annotationDeclarationModifiersExampleModified()
106 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(2)), csm.ele… in annotationDeclarationModifiersExampleModified()
108 …assertEquals(new LexicalDifferenceCalculator.CsmChild(annotationDeclaration.getMember(3)), csm.ele… in annotationDeclarationModifiersExampleModified()
[all …]
DDifferenceTest.java114 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(0))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
116 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(1))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
118 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(2))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
120 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(3))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
122 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(4))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
124 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(5))), diff.getElements().get(i++)); in annotationDeclarationExampleWithModifierAdded()
150 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(0))), diff.getElements().get(i++)); in annotationDeclarationExampleWithNameChanged()
152 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(1))), diff.getElements().get(i++)); in annotationDeclarationExampleWithNameChanged()
154 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(2))), diff.getElements().get(i++)); in annotationDeclarationExampleWithNameChanged()
156 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(3))), diff.getElements().get(i++)); in annotationDeclarationExampleWithNameChanged()
[all …]
DTransformationsTest.java81 …FieldDeclaration fd = (FieldDeclaration) cu.getClassByName("A").get().getMember(0).asFieldDeclarat… in example8()
89 …FieldDeclaration fd = (FieldDeclaration) cu.getClassByName("A").get().getMember(0).asFieldDeclarat… in example9()
104 …MethodDeclaration md = (MethodDeclaration) cu.getClassByName("A").get().getMember(0).asMethodDecla… in exampleParam1()
112 …MethodDeclaration md = (MethodDeclaration) cu.getClassByName("A").get().getMember(0).asMethodDecla… in exampleParam2()
121 …MethodDeclaration md = (MethodDeclaration) cu.getClassByName("A").get().getMember(0).asMethodDecla… in exampleParam3()
129 …MethodDeclaration md = (MethodDeclaration) cu.getClassByName("A").get().getMember(0).asMethodDecla… in exampleParam4()
137 …MethodDeclaration md = (MethodDeclaration) cu.getClassByName("A").get().getMember(0).asMethodDecla… in exampleParam5()
DLexicalPreservingPrinterTest.java164 AnnotationMemberDeclaration md = (AnnotationMemberDeclaration)ad.getMember(0); in checkNodeTextCreatedAnnotationMemberDeclaration()
176 AnnotationMemberDeclaration md = (AnnotationMemberDeclaration)ad.getMember(0); in checkNodeTextCreatedAnnotationMemberDeclarationWithArrayType()
188 …AnnotationMemberDeclaration md = (AnnotationMemberDeclaration)ad.getMember(0).asAnnotationMemberDe… in checkNodeTextCreatedAnnotationMemberDeclarationArrayType()
199 …berDeclaration)cu.getAnnotationDeclarationByName("ClassPreamble").get().getMember(5).asAnnotationM… in checkNodeTextCreatedAnnotationMemberDeclarationWithComment()
234 Node node = cu.getAnnotationDeclarationByName("ClassPreamble").get().getMember(4); in findIndentationForAnnotationMemberDeclarationWithoutComment()
242 Node node = cu.getAnnotationDeclarationByName("ClassPreamble").get().getMember(5); in findIndentationForAnnotationMemberDeclarationWithComment()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java44 assertEquals(addField, classDeclaration.getMember(0)); in testAddField()
52 assertEquals(addMethod, classDeclaration.getMember(0)); in testAddMethod()
60 assertEquals(addCtor, classDeclaration.getMember(0)); in testAddCtor()
68 assertEquals(InitializerDeclaration.class, classDeclaration.getMember(0).getClass()); in testAddInitializers()
72 assertEquals(InitializerDeclaration.class, classDeclaration.getMember(0).getClass()); in testAddInitializers()
DFieldDeclarationBuildersTest.java56 assertEquals(MethodDeclaration.class, testClass.getMember(1).getClass()); in testCreateGetterInAClass()
69 assertEquals(MethodDeclaration.class, testClass.getMember(1).getClass()); in testCreateSetterInAClass()
83 assertEquals(MethodDeclaration.class, testEnum.getMember(1).getClass()); in testCreateGetterInEnum()
96 assertEquals(MethodDeclaration.class, testEnum.getMember(1).getClass()); in testCreateSetterInEnum()
/external/guice/core/test/com/google/inject/spi/
DInjectionPointTest.java64 assertSame(fooField, injectionPoint.getMember()); in testFieldInjectionPoint()
73 assertEquals(fooField, dependency.getInjectionPoint().getMember()); in testFieldInjectionPoint()
87 assertSame(barMethod, injectionPoint.getMember()); in testMethodInjectionPoint()
96 assertEquals(barMethod, dependency.getInjectionPoint().getMember()); in testMethodInjectionPoint()
111 assertSame(constructor, injectionPoint.getMember()); in testConstructorInjectionPoint()
120 assertEquals(constructor, dependency.getInjectionPoint().getMember()); in testConstructorInjectionPoint()
146 assertSame(constructor, injectionPoint.getMember()); in testForConstructor()
305 methods.add(point.getMember().getName()); in assertPoints()
/external/clang/test/FixIt/
Dtypo.cpp58 int getMember() const { in getMember() function
62 int &getMember();
65 int &Derived::getMember() { in getMember() function in Derived
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/
DJavaParserTest.java56 …ation memberDeclaration = cu.getAnnotationDeclarationByName("AD").get().getMember(0).asAnnotationM… in rangeOfAnnotationMemberDeclarationIsCorrect()
65 …ation memberDeclaration = cu.getAnnotationDeclarationByName("AD").get().getMember(0).asAnnotationM… in rangeOfAnnotationMemberDeclarationWithArrayTypeIsCorrect()
132 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfIntersectionType()
146 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfCast()
159 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfCastNonIntersection()
172 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfLambda()
188 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfLambdaBody()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDefaultNodeCreator.java87 members.add(injectionPoint.getMember()); in newInstanceNode()
100 members.add(binding.getConstructor().getMember()); in visit()
102 members.add(injectionPoint.getMember()); in visit()
/external/clang/test/SemaTemplate/
Dinstantiate-member-pointers.cpp43 int &getMember(Y& y) { return y.*Member; } in getMember() function
47 return x4.getMember(y); in get_X4()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DParsingSteps.java98 …ConstructorDeclaration constructor = (ConstructorDeclaration) clazz.getMember(constructorPosition … in thenTheConstructorDeclarationAsAStringIs()
106 …ConstructorDeclaration constructor = (ConstructorDeclaration) clazz.getMember(constructorPosition … in thenConstructorInClassDeclarationShortFormAsAStringIs()
114 MethodDeclaration method = (MethodDeclaration) clazz.getMember(methodPosition - 1); in thenMethod1InClass1DeclarationAsAStringIs()
122 MethodDeclaration method = (MethodDeclaration) clazz.getMember(methodPosition - 1); in thenMethodInClassDeclarationAsAStringShortFormIs()
327 ConstructorDeclaration ctor = classDeclaration.getMember(1).asConstructorDeclaration(); in thenTheAssignExprProducedDoesntHaveANullTarget()
/external/guice/core/src/com/google/inject/internal/
DConstructorBindingImpl.java100 if (failIfNotExplicit && !hasAtInject((Constructor) constructorInjector.getMember())) { in create()
110 Class<?> annotatedType = constructorInjector.getMember().getDeclaringClass(); in create()
217 (Constructor) getConstructor().getMember(), (TypeLiteral) constructor.getDeclaringType())); in applyTo()
DErrors.java617 if (dependency.getInjectionPoint().getMember() instanceof Method) {
618 Method annotated = (Method) dependency.getInjectionPoint().getMember();
636 convert(dependency.getInjectionPoint().getMember()),
648 source, parameterName, dependency.getInjectionPoint().getMember());
825 Member member = injectionPoint.getMember();
839 formatSource(formatter, injectionPoint.getMember());
DSingleFieldInjector.java37 this.field = (Field) injectionPoint.getMember(); in SingleFieldInjector()
DProxyFactory.java71 Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember(); in ProxyFactory()
254 this.constructor = (Constructor<T>) injectionPoint.getMember(); in ProxyConstructor()
DDefaultConstructionProxyFactory.java47 final Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember(); in create()
DSingleMethodInjector.java38 final Method method = (Method) injectionPoint.getMember(); in SingleMethodInjector()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.cpp183 …ypeResourceNames(resources, name + "." + structType->getMember(ndx).getName(), structType->getMemb… in generateVariableTypeResourceNames()
311 collectNamedStructureDefinitions(dst, type.getStructPtr()->getMember(ndx).getType()); in collectNamedStructureDefinitions()
340 …) << glu::declare(namedStructs[structNdx]->getMember(memberNdx).getType(), namedStructs[structNdx]… in writeStructureDefinitions()
425 name + "." + varType.getStructPtr()->getMember(ndx).getName(), in writeVariableReadAccumulateExpression()
429 varType.getStructPtr()->getMember(ndx).getType()); in writeVariableReadAccumulateExpression()
584 name + "." + varType.getStructPtr()->getMember(ndx).getName(), in writeVariableWriteExpression()
588 varType.getStructPtr()->getMember(ndx).getType()); in writeVariableWriteExpression()
709 if (type.getStructPtr()->getMember(memberNdx).getName() == tokenizer.getIdentifier()) in traverseVariablePath()
710 … subPath + tokenizer.getCurrentTokenEndLocation(), type.getStructPtr()->getMember(memberNdx).getTy… in traverseVariablePath()
831 if (containsSubType(complexType.getStructPtr()->getMember(ndx).getType(), basicType)) in containsSubType()
[all …]
Des31fProgramInterfaceDefinition.cpp69 if (containsMatchingSubtype(varType.getStructPtr()->getMember(memberNdx).getType(), predicate)) in containsMatchingSubtype()
154 if (isIllegalVertexOutput(varType.getStructPtr()->getMember(ndx).getType(), true, insideAnArray)) in isIllegalVertexOutput()
207 if (isTypeIntegerOrContainsIntegers(varType.getStructPtr()->getMember(ndx).getType())) in isTypeIntegerOrContainsIntegers()
426 collectStructPtrs(dst, type.getStructPtr()->getMember(memberNdx).getType()); in collectStructPtrs()
/external/deqp/framework/opengl/
DgluVarTypeUtil.cpp120 if (memberName == curType.getStructPtr()->getMember(ndx).getName()) in parseTypePath()
181 const StructMember& member = curType->getStructPtr()->getMember(iter->index); in operator <<()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java75 String memberName = getMember(itName); in solveSymbol()
99 String memberName = getMember(whole); in solveSymbol()
283 private String getMember(String qName) { in getMember() method in CompilationUnitContext
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/
DPrettyPrintVisitorTest.java116 MethodDeclaration methodDeclaration = (MethodDeclaration) cu.getType(0).getMember(0); in printLambdaIntersectionTypeAssignment()
137 MethodDeclaration methodDeclaration = (MethodDeclaration) cu.getType(0).getMember(0); in printLambdaIntersectionTypeReturn()
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DDaggerMethodScanner.java47 Method providesMethod = (Method) injectionPoint.getMember(); in prepareMethod()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DAnnotationDeclarationTransformationsTest.java91 cu.getAnnotationDeclarationByName("ClassPreamble").get().getMember(2).remove(); in removingMember()

123