Home
last modified time | relevance | path

Searched refs:getFields (Results 1 – 25 of 136) sorted by relevance

123456

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java127 List<FieldDeclaration> fields = classDeclaration.getFields(); in testGetFields()
139 assertNotNull(classOrInterfaceDeclaration.getFields()); in testAddPrivateFieldWithType()
140 assertEquals(1, classOrInterfaceDeclaration.getFields().size()); in testAddPrivateFieldWithType()
142 FieldDeclaration fieldDeclaration = classOrInterfaceDeclaration.getFields().get(0); in testAddPrivateFieldWithType()
154 assertNotNull(classOrInterfaceDeclaration.getFields()); in testAddPublicFieldWithType()
155 assertEquals(1, classOrInterfaceDeclaration.getFields().size()); in testAddPublicFieldWithType()
157 FieldDeclaration fieldDeclaration = classOrInterfaceDeclaration.getFields().get(0); in testAddPublicFieldWithType()
169 assertNotNull(classOrInterfaceDeclaration.getFields()); in testAddProtectedFieldWithType()
170 assertEquals(1, classOrInterfaceDeclaration.getFields().size()); in testAddProtectedFieldWithType()
172 FieldDeclaration fieldDeclaration = classOrInterfaceDeclaration.getFields().get(0); in testAddProtectedFieldWithType()
[all …]
/external/protobuf/php/src/Google/Protobuf/
DOneofDescriptor.php65 return $this->getPublicDescriptor($this->internal_desc->getFields()[$index]);
73 return count($this->internal_desc->getFields());
DStruct.php52 public function getFields() function in Google\\Protobuf\\Struct
DType.php112 public function getFields() function in Google\\Protobuf\\Type
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java164 FieldDescriptor field = messageType.getFields().get(0); in testDescriptor()
170 for (int i = 0; i < messageType.getFields().size(); i++) { in testDescriptor()
171 assertEquals(i, messageType.getFields().get(i).getIndex()); in testDescriptor()
492 assertNotNull(desc.getFields()); in testDescriptorComplexCrosslink()
493 List<FieldDescriptor> fieldlist = desc.getFields(); in testDescriptorComplexCrosslink()
690 assertNotNull(desc.getFields()); in testComplexNamespacePublicDependency()
691 List<FieldDescriptor> fieldlist = desc.getFields(); in testComplexNamespacePublicDependency()
713 assertEquals(4, oneofDescriptor.getFields().size()); in testOneofDescriptor()
714 assertEquals(oneofDescriptor.getFields().get(1), field); in testOneofDescriptor()
780 assertEquals(6, d.getFields().size()); in testFieldJsonName()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceRemapper.java60 for (Field field : aClass.getFields()) { in remapRClass()
73 for (Field field : innerClass.getFields()) { in remapRClass()
110 for (Field field : innerClass.getFields()) { in remapRClass()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliFieldTest.java54 SmaliField[] fields = smaliClass.getFields(); in testBasicField()
96 PsiField[] fields = smaliClass.getFields(); in testSmaliSuperField()
138 PsiField[] fields = smaliClass.getFields(); in testJavaSuperField()
180 SmaliField[] fields = smaliClass.getFields(); in testMultipleField()
221 SmaliField[] fields = smaliClass.getFields(); in testFieldAnnotations()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DFieldAnnotationsTestCase.java73 Field f = clg.getFields()[0]; in testFieldAnnotationModification()
101 f = clg.getFields()[1]; // there are two fields in the class, removing in testFieldAnnotationModification()
120 final Field[] fields = clazz.getFields(); in checkAnnotatedField()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowVisualVoicemailSmsTest.java58 assertThat(sms.getFields()).isEqualTo(bundle); in setFields_setsFields()
85 assertThat(newSms.getFields().getString("key")).isEqualTo("value"); in parcelable_unparcelable()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVisualVoicemailSms.java52 protected Bundle getFields() { in getFields() method in ShadowVisualVoicemailSms
100 dest.writeBundle(getFields()); in writeToParcel()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaClassDef.java135 Iterables.filter(Arrays.asList(psiClass.getFields()), new Predicate<PsiField>() { in getStaticFields()
153 Iterables.filter(Arrays.asList(psiClass.getFields()), new Predicate<PsiField>() {
169 @Nonnull @Override public Iterable<? extends Field> getFields() {
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java168 FieldDescriptor field = messageType.getFields().get(0); in testDescriptor()
174 for (int i = 0; i < messageType.getFields().size(); i++) { in testDescriptor()
175 assertEquals(i, messageType.getFields().get(i).getIndex()); in testDescriptor()
504 assertNotNull(desc.getFields()); in testDescriptorComplexCrosslink()
505 List<FieldDescriptor> fieldlist = desc.getFields(); in testDescriptorComplexCrosslink()
637 assertNotNull(desc.getFields()); in testComplexNamespacePublicDependency()
638 List<FieldDescriptor> fieldlist = desc.getFields(); in testComplexNamespacePublicDependency()
/external/guice/core/test/com/google/inject/internal/
DUniqueAnnotationsTest.java31 Annotation expected = getClass().getFields()[0].getAnnotations()[0]; in testEqualsHashCodeToString()
/external/protobuf/php/src/Google/Protobuf/Internal/
DOneofDescriptor.php62 public function getFields() function in Google\\Protobuf\\Internal\\OneofDescriptor
/external/emma/core/java12/com/vladium/jcd/cls/
DAbstractClassDefVisitor.java26 visit (cls.getFields (), ctx); in visit()
DClassDef.java177 public IFieldCollection getFields () in getFields() method in ClassDef
192 public int [] getFields (final String name) in getFields() method in ClassDef
333 final IFieldCollection fields = getFields (); in computeSUID()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
DClassDef.java132 @Nonnull Iterable<? extends Field> getFields(); in getFields() method
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPHeaderNamesCache.java15 Field[] fields = SIPHeaderNames.class.getFields();
/external/auto/value/src/main/java/com/google/auto/value/processor/
DTemplateVars.java62 this.fields = getFields(getClass()); in TemplateVars()
65 private static ImmutableList<Field> getFields(Class<?> c) { in getFields() method in TemplateVars
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DClassGen.java145 final Field[] fields = clazz.getFields(); in ClassGen()
202 final Field[] fields = getFields(); in getJavaClass()
475 public Field[] getFields() { in getFields() method in ClassGen
/external/apache-commons-bcel/src/examples/
Did.java59 for (Field field : clazz.getFields()) { in main()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DSingleArgCreator2305Test.java24 public List<Format2305> getFields() { return fields; } in getFields() method in SingleArgCreator2305Test.ExportRequest2305
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DStructuralMessageInfo.java91 public FieldInfo[] getFields() { in getFields() method in StructuralMessageInfo
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizNode.java110 public Map<String, String> getFields() { in getFields() method in GraphvizNode
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DBCELifier.java118 final Field[] fields = clazz.getFields(); in visitJavaClass()
142 final Field[] fields = _clazz.getFields(); in printCreate()

123456