Home
last modified time | relevance | path

Searched refs:getAllFields (Results 1 – 25 of 80) sorted by relevance

1234

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_declarations_ReferenceTypeDeclaration.txt9 …Line 74) this.getAllFields().stream().filter(f -> f.getName().equals(name)).findFirst() ==> java.u…
10 …Line 74) this.getAllFields().stream().filter(f -> f.getName().equals(name)) ==> java.util.stream.S…
11 Line 74) this.getAllFields().stream() ==> java.util.Collection.stream()
12 …Line 74) this.getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.ReferenceTy…
25 …Line 98) this.getAllFields().stream().filter(f -> f.getName().equals(name)).findFirst().isPresent(…
26 …Line 98) this.getAllFields().stream().filter(f -> f.getName().equals(name)).findFirst() ==> java.u…
27 …Line 98) this.getAllFields().stream().filter(f -> f.getName().equals(name)) ==> java.util.stream.S…
28 Line 98) this.getAllFields().stream() ==> java.util.Collection.stream()
29 …Line 98) this.getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.ReferenceTy…
39 …Line 119) getAllFields().stream().filter(f -> f.declaringType().equals(this) || f.accessLevel() !=…
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/
DReferenceTypeDeclaration.java74 …Optional<FieldDeclaration> field = this.getAllFields().stream().filter(f -> f.getName().equals(nam… in getField()
98 … return this.getAllFields().stream().filter(f -> f.getName().equals(name)).findFirst().isPresent(); in hasField()
113 List<FieldDeclaration> getAllFields(); in getAllFields() method
119 return getAllFields().stream() in getVisibleFields()
128 return getAllFields().stream().filter(it -> !it.isStatic()).collect(Collectors.toList()); in getAllNonStaticFields()
135 return getAllFields().stream().filter(it -> it.isStatic()).collect(Collectors.toList()); in getAllStaticFields()
142 …return getAllFields().stream().filter(it -> it.declaringType().getQualifiedName().equals(getQualif… in getDeclaredFields()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java125 …Optional<ResolvedFieldDeclaration> field = this.getAllFields().stream().filter(f -> f.getName().eq… in getField()
149 return this.getAllFields().stream().anyMatch(f -> f.getName().equals(name)); in hasField()
162 List<ResolvedFieldDeclaration> getAllFields(); in getAllFields() method
168 return getAllFields().stream() in getVisibleFields()
177 return getAllFields().stream().filter(it -> !it.isStatic()).collect(Collectors.toList()); in getAllNonStaticFields()
184 return getAllFields().stream().filter(it -> it.isStatic()).collect(Collectors.toList()); in getAllStaticFields()
191 return getAllFields().stream().filter(it -> it.declaringType().getQualifiedName() in getDeclaredFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DFindingAllFieldsTest.java41 assertEquals(3, typeDeclaration.getAllFields().size()); in findAllInheritedFields()
43 …typeDeclaration.getAllFields().stream().map(ResolvedDeclaration::getName).collect(Collectors.toSet… in findAllInheritedFields()
51 assertEquals(3, typeDeclaration.getAllFields().size()); in findAllInheritedFieldsAndGenerics()
53 …typeDeclaration.getAllFields().stream().map(ResolvedDeclaration::getName).collect(Collectors.toSet… in findAllInheritedFieldsAndGenerics()
/external/desugar/java/com/google/devtools/common/options/testing/
DOptionsTester.java40 private static ImmutableList<Field> getAllFields(Class<? extends OptionsBase> optionsClass) { in getAllFields() method in OptionsTester
60 for (Field field : getAllFields(optionsClass)) { in testAllInstanceFieldsAnnotatedWithOption()
84 for (Field field : getAllFields(optionsClass)) { in testAllDefaultValuesTestedBy()
/external/caliper/caliper/src/main/java/com/google/caliper/memory/
DObjectExplorer.java142 final Field[] fields = getAllFields(value); in exploreObject()
204 private static Field[] getAllFields(Object o) { in getAllFields() method in ObjectExplorer
206 return getAllFields(clazz); in getAllFields()
215 private static Field[] getAllFields(Class<?> clazz) { in getAllFields() method in ObjectExplorer
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractMessage.java116 MessageReflection.writeMessageTo(this, getAllFields(), output, false); in writeTo()
138 memoizedSize = MessageReflection.getSerializedSize(this, getAllFields()); in getSerializedSize()
154 return compareFields(getAllFields(), otherMessage.getAllFields()) in equals()
164 hash = hashFields(hash, getAllFields()); in hashCode()
348 for (final Map.Entry<FieldDescriptor, Object> entry : getAllFields().entrySet()) { in clear()
371 return mergeFrom(other, other.getAllFields()); in mergeFrom()
DMessageOrBuilder.java82 Map<Descriptors.FieldDescriptor, Object> getAllFields(); in getAllFields() method
DDynamicMessage.java166 public Map<FieldDescriptor, Object> getAllFields() { in getAllFields() method in DynamicMessage
167 return fields.getAllFields(); in getAllFields()
458 public Map<FieldDescriptor, Object> getAllFields() {
459 return fields.getAllFields();
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogicDisambiguationTest.java132 when(mockedC.getAllFields()).thenReturn(Arrays.asList(mockedFieldA)); in ambiguousNameToSingleStaticImportDeclaration()
148 when(mockedC.getAllFields()).thenReturn(Arrays.asList(mockedFieldA)); in ambiguousNameToStaticImportOnDemandDeclaration()
218 when(mockedC.getAllFields()).thenReturn(Arrays.asList(mockedFieldC)); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToField()
234 when(mockedC.getAllFields()).thenReturn(Collections.emptyList()); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToMethod()
267 when(mockedC.getAllFields()).thenReturn(Arrays.asList()); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToCompilationError()
284 when(mockedC.getAllFields()).thenReturn(Collections.emptyList()); in ambiguousNameInQualifiedNameRequalifiedAsExpressionName()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DFieldPresenceTest.java185 assertEquals(0, message.getAllFields().size()); in testFieldPresenceByReflection()
199 assertEquals(0, message.getAllFields().size()); in testFieldPresenceByReflection()
213 assertEquals(4, message.getAllFields().size()); in testFieldPresenceByReflection()
233 assertEquals(0, message.getAllFields().size()); in testFieldPresenceDynamicMessage()
248 assertEquals(4, message.getAllFields().size()); in testFieldPresenceDynamicMessage()
263 assertEquals(0, message.getAllFields().size()); in testFieldPresenceDynamicMessage()
DAbstractMessageTest.java79 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() method in AbstractMessageTest.AbstractMessageWrapper
80 return wrappedMessage.getAllFields(); in getAllFields()
156 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() method in AbstractMessageTest.AbstractMessageWrapper.Builder
157 return wrappedBuilder.getAllFields(); in getAllFields()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliFieldTest.java70 PsiField[] psifields = smaliClass.getAllFields(); in testBasicField()
100 fields = smaliClass.getAllFields(); in testSmaliSuperField()
142 fields = smaliClass.getAllFields(); in testJavaSuperField()
237 PsiField[] psifields = smaliClass.getAllFields(); in testFieldAnnotations()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclaration.java108 public List<FieldDeclaration> getAllFields() { in getAllFields() method in JavaParserAnonymousClassDeclaration
120 getSuperClass().getTypeDeclaration().getAllFields(); in getAllFields()
124 .flatMap(inteface -> inteface.getTypeDeclaration().getAllFields().stream()) in getAllFields()
DJavaParserClassDeclaration.java105 public List<FieldDeclaration> getAllFields() { in getAllFields() method in JavaParserClassDeclaration
118 fields.addAll(superclass.getAllFields()); in getAllFields()
120 getInterfaces().forEach(interf -> interf.getTypeDeclaration().getAllFields().forEach(f -> { in getAllFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserAnonymousClassDeclaration.txt50 …getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
53 …Line 123) getInterfaces().stream().flatMap(inteface -> inteface.getTypeDeclaration().getAllFields(…
54 …Line 123) getInterfaces().stream().flatMap(inteface -> inteface.getTypeDeclaration().getAllFields(…
57 Line 124) inteface.getTypeDeclaration().getAllFields().stream() ==> java.util.Collection.stream()
58 …getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration_J9.txt11 …Line 118) fields.addAll(superclass.getAllFields()) ==> java.util.ArrayList.addAll(java.util.Collec…
12 …Line 118) superclass.getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
13 …Line 120) getInterfaces().forEach(interf -> interf.getTypeDeclaration().getAllFields().forEach(f -…
17 Line 120) interf.getTypeDeclaration().getAllFields().forEach(f -> {
20 …getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration.txt11 …Line 118) fields.addAll(superclass.getAllFields()) ==> java.util.ArrayList.addAll(java.util.Collec…
12 …Line 118) superclass.getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
13 …Line 120) getInterfaces().forEach(interf -> interf.getTypeDeclaration().getAllFields().forEach(f -…
17 Line 120) interf.getTypeDeclaration().getAllFields().forEach(f -> {
20 …getTypeDeclaration().getAllFields() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclaration.java136 public List<ResolvedFieldDeclaration> getAllFields() { in getAllFields() method in JavaParserAnonymousClassDeclaration
148 getSuperClass().getTypeDeclaration().getAllFields(); in getAllFields()
152 .flatMap(inteface -> inteface.getTypeDeclaration().getAllFields().stream()) in getAllFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclarationTest.java437 List<ResolvedFieldDeclaration> allFields = constructorDeclaration.getAllFields(); in testGetAllFields()
498 assertEquals(3, classDeclaration.getAllFields().size()); in testGetAllGenericFields()
502 assertEquals("s", classDeclaration.getAllFields().get(0).getName()); in testGetAllGenericFields()
503 assertEquals(string, classDeclaration.getAllFields().get(0).getType()); in testGetAllGenericFields()
506 assertEquals("t", classDeclaration.getAllFields().get(1).getName()); in testGetAllGenericFields()
507 …assertEquals("java.util.List<java.lang.Boolean>", classDeclaration.getAllFields().get(1).getType()… in testGetAllGenericFields()
510 assertEquals("i", classDeclaration.getAllFields().get(2).getName()); in testGetAllGenericFields()
511 assertEquals(ResolvedPrimitiveType.INT, classDeclaration.getAllFields().get(2).getType()); in testGetAllGenericFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionEnumDeclaration.java121 public List<FieldDeclaration> getAllFields() { in getAllFields() method in ReflectionEnumDeclaration
122 return reflectionClassAdapter.getAllFields(); in getAllFields()
DReflectionClassAdapter.java115 public List<FieldDeclaration> getAllFields() { in getAllFields() method in ReflectionClassAdapter
121 fields.addAll(ancestor.getTypeDeclaration().getAllFields()); in getAllFields()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DAbstractMessageTest.java76 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() method in AbstractMessageTest.AbstractMessageWrapper
77 return wrappedMessage.getAllFields(); in getAllFields()
128 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() method in AbstractMessageTest.AbstractMessageWrapper.Builder
129 return wrappedBuilder.getAllFields(); in getAllFields()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionEnumDeclaration.java129 public List<ResolvedFieldDeclaration> getAllFields() { in getAllFields() method in ReflectionEnumDeclaration
130 return reflectionClassAdapter.getAllFields(); in getAllFields()
DReflectionClassAdapter.java115 public List<ResolvedFieldDeclaration> getAllFields() { in getAllFields() method in ReflectionClassAdapter
121 fields.addAll(ancestor.getTypeDeclaration().getAllFields()); in getAllFields()

1234