/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
StatementTest.java | 20 import java.lang.reflect.Field; 63 Field[] theFields = statementClass.getDeclaredFields(); 68 for (Field element : theFields) { 76 fail("Field " + fieldName + " missing!"); 78 assertEquals("Field " + fieldName + " value mismatch: ", 80 assertEquals("Field " + fieldName + " modifier mismatch: ", 84 fail("Illegal access to Field " + fieldName);
|
ResultSetTest.java | 20 import java.lang.reflect.Field; 73 Field[] theFields = resultSetClass.getDeclaredFields(); 78 for (Field element : theFields) { 86 fail("Field " + fieldName + " missing!"); 88 assertEquals("Field " + fieldName + " value mismatch: ", 90 assertEquals("Field " + fieldName + " modifier mismatch: ", 94 fail("Illegal access to Field " + fieldName);
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
LenientCopyTool.java | 7 import java.lang.reflect.Field;
31 Field[] fields = classFrom.getDeclaredFields();
35 Field field = fields[i];
local 36 if (Modifier.isStatic(field.getModifiers())) {
41 accessibilityChanger.enableAccess(field);
42 fieldCopier.copyValue(from, mock, field);
44 //Ignore - be lenient - if some field cannot be copied then let's be it
46 accessibilityChanger.safelyDisableAccess(field);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPair.java | 9 import java.lang.reflect.Field; 43 Field f = Pair.class.getDeclaredField("first"); 47 Field s = Pair.class.getDeclaredField("second");
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
FieldPool.java | 34 import org.jf.dexlib2.iface.Field; 41 implements FieldSection<CharSequence, CharSequence, FieldReference, Field> { 50 public void intern(@Nonnull FieldReference field) { 51 Integer prev = internedItems.put(field, 0); 53 typePool.intern(field.getDefiningClass()); 54 stringPool.intern(field.getName()); 55 typePool.intern(field.getType()); 71 @Override public int getFieldIndex(@Nonnull Field field) { 72 return getItemIndex(field); [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
FieldPort.java | 20 import java.lang.reflect.Field; 27 protected Field mField; 32 public FieldPort(Filter filter, String name, Field field, boolean hasDefault) { 34 mField = field; 68 "Access to field '" + mField.getName() + "' was denied!"); 94 return "field " + super.toString();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
GenericArrayTypeTest.java | 19 import java.lang.reflect.Field; 36 Field field = clazz.getDeclaredField("array"); local 37 Type genericType = field.getGenericType(); 53 Field field = clazz.getDeclaredField("array"); local 54 Type genericType = field.getGenericType();
|
FieldTest.java | 28 import java.lang.reflect.Field; 55 @Target( {ElementType.FIELD}) 60 @Target( { ElementType.FIELD}) 65 @Target( { ElementType.FIELD}) 70 @Target( {ElementType.FIELD}) 76 @Target( {ElementType.FIELD}) 81 S field; field in class:FieldTest.GenericField 153 int field; field in class:FieldTest.TestEnum 157 * java.lang.reflect.Field#equals(java.lang.Object) 161 // java.lang.reflect.Field.equals(java.lang.Object 441 Field field = fields[j]; local 461 Field field = fields[j]; local 505 Field field = fields[j]; local 524 Field field = fields[j]; local 1531 Field field = TestClass.class.getField("annotatedField"); local 1546 Field field = TestEnum.class.getDeclaredField("A"); local 1564 Field field = TestEnum.class.getDeclaredField("field"); local 1575 Field field = GenericField.class.getDeclaredField("field"); local 1594 Field field = GenericField.class.getDeclaredField("field"); local 1615 Field field = TestClass.class.getDeclaredField("annotatedField"); local [all...] |
/external/smack/src/org/jivesoftware/smackx/search/ |
SimpleUserSearch.java | 71 FormField field = fields.next(); local 72 String name = field.getVariable(); 73 String value = getSingleValue(field); 96 List<ReportedData.Field> fields = new ArrayList<ReportedData.Field>(); 102 ReportedData.Field field = new ReportedData.Field("jid", valueList); local 103 fields.add(field); 109 fields = new ArrayList<ReportedData.Field>(); 121 ReportedData.Field field = new ReportedData.Field(name, valueList); local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
InputPort.java | 19 import java.lang.reflect.Field; 31 * InputPorts may be bound to fields of the Filter. When an input port is bound to a field, Frame 32 * values will be assigned to the field once a Frame is received on that port. The Frame value must 33 * be of a type that is compatible with the field type. 52 private Field mField; 54 public FieldBinding(Field field) { 55 mField = field; 69 throw new RuntimeException("Assigning frame " + frame + " to field " 107 * Bind this input port to the specified field 142 Field field = findFieldNamed(fieldName, mFilter.getClass()); local 314 Field field = null; local [all...] |
/external/proguard/src/proguard/classfile/attribute/visitor/ |
AttributeVisitor.java | 48 public void visitDeprecatedAttribute( Clazz clazz, Field field, DeprecatedAttribute deprecatedAttribute); 52 public void visitSyntheticAttribute( Clazz clazz, Field field, SyntheticAttribute syntheticAttribute); 56 public void visitSignatureAttribute( Clazz clazz, Field field, SignatureAttribute signatureAttribute); 61 public void visitConstantValueAttribute( Clazz clazz, Field field, ConstantValueAttribute constantValueAttribute); 79 public void visitRuntimeVisibleAnnotationsAttribute( Clazz clazz, Field field, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ClassEditor.java | 118 * Adds the given field. 120 public void addField(Field field) 123 Field[] fields = targetClass.fields; 125 // Make sure there is enough space for the new field. 137 System.out.println(targetClass.getName()+": adding field ["+field.getName(targetClass)+" "+field.getDescriptor(targetClass)+"]"); 140 // Add the field. 141 fields[targetClass.u2fieldsCount++] = field; [all...] |
/external/llvm/bindings/ocaml/executionengine/ |
executionengine_ocaml.c | 43 llvm_ee_error_exn = Field(Error, 0); 233 Field(Option, 0) = Val_op(Found); 247 GVArgs[I] = Genericvalue_val(Field(Args, I)); 283 CArgs[I] = String_val(Field(Args, I)); 287 EnvSize += strlen(String_val(Field(Field(Env, I), 0))) + 1; 288 EnvSize += strlen(String_val(Field(Field(Env, I), 1))) + 1; 296 char *Name = String_val(Field(Field(Env, I), 0)) [all...] |
/external/proguard/src/proguard/classfile/util/ |
MemberFinder.java | 44 * Finds the field with the given name and descriptor in the given 47 public Field findField(Clazz referencingClass, 52 return (Field)findMember(referencingClass, clazz, name, descriptor, true); 142 * Returns whether the given field is shadowed anywhere down the class 146 Field field) 148 String name = field.getName(clazz); 149 String descriptor = field.getDescriptor(clazz); 151 // Go looking for the field down the class hierarchy. 162 // We've found a shadowing field [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
Field.java | 20 package org.apache.james.mime4j.field; 26 * The base class of all field classes. 29 * @version $Id: Field.java,v 1.6 2004/10/25 07:26:46 ntherning Exp $ 31 public abstract class Field { 63 protected Field(final String name, final String body, final String raw) { 71 * <code>Field</code> class. The type of the class returned depends on 72 * the field name: 75 * <td><em>Field name</em></td><td><em>Class returned</em></td> 76 * <td>Content-Type</td><td>org.apache.james.mime4j.field.ContentTypeField</td> 77 * <td>other</td><td>org.apache.james.mime4j.field.UnstructuredField</td [all...] |
/art/test/004-UnsafeTest/src/ |
Main.java | 17 import java.lang.reflect.Field; 41 Field f = unsafeClass.getDeclaredField("theUnsafe"); 84 Field intField = TestClass.class.getDeclaredField("intVar"); 90 Field longField = TestClass.class.getDeclaredField("longVar");
|
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
SigDelta.java | 19 import java.lang.reflect.Field; 85 List<Field> allFields = new LinkedList<Field>(); 101 for (Field field : allFields) { 102 if (!ignore.contains(field.getName())) { 103 field.setAccessible(true); 104 Object delta = field.get(this); 106 builder.append(field.getName());
|
/cts/tools/signature-tools/test/signature/converter/ |
ConvertParameterizedTypeTest.java | 22 import java.lang.reflect.Field; 53 IField field = ModelUtil.getField(sigClass, "f"); local 55 ITypeReference type = field.getType(); 87 Field field = A.class.getDeclaredField("f"); local 88 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); 98 Field field = ConvertParameterizedTypeTest.class.getDeclaredField("f"); local 99 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); 111 Field field = E.class.getDeclaredField("f") local [all...] |
/external/clang/test/SemaCXX/ |
empty-class-layout.cpp | 127 struct Field : virtual Empty { }; 129 Field f; 140 struct Field : virtual Empty { }; 142 Field f;
|
/external/guava/guava/src/com/google/common/base/internal/ |
Finalizer.java | 23 import java.lang.reflect.Field; 91 private static final Field inheritableThreadLocals 190 public static Field getInheritableThreadLocalsField() { 192 Field inheritableThreadLocals
|
/external/llvm/bindings/ocaml/bitwriter/ |
bitwriter_ocaml.c | 40 Unbuffered = Bool_val(Field(U,0));
|
/external/llvm/bindings/ocaml/linker/ |
linker_ocaml.c | 26 llvm_linker_error_exn = Field(Error, 0);
|
/external/proguard/src/proguard/classfile/attribute/ |
DeprecatedAttribute.java | 57 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 59 attributeVisitor.visitDeprecatedAttribute(clazz, field, this);
|
SyntheticAttribute.java | 57 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 59 attributeVisitor.visitSyntheticAttribute(clazz, field, this);
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
RuntimeInvisibleAnnotationsAttribute.java | 60 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 62 attributeVisitor.visitRuntimeInvisibleAnnotationsAttribute(clazz, field, this);
|