/art/runtime/mirror/ |
field.cc | 17 #include "field-inl.h" 27 GcRoot<Class> Field::static_class_; 28 GcRoot<Class> Field::array_class_; 30 void Field::SetClass(Class* klass) { 36 void Field::ResetClass() { 41 void Field::SetArrayClass(Class* klass) { 47 void Field::ResetArrayClass() { 52 void Field::VisitRoots(RootVisitor* visitor) { 57 ArtField* Field::GetArtField() {
|
/external/mockito/src/org/mockito/configuration/ |
AnnotationEngine.java | 10 import java.lang.reflect.Field;
23 * Creates mock, ArgumentCaptor or wraps field instance in spy object.
27 * @param field Field details
30 Object createMockFor(Annotation annotation, Field field);
37 * @param clazz Class where to extract field information, check implementation for details
|
/external/mockito/src/org/mockito/internal/configuration/ |
FieldAnnotationProcessor.java | 8 import java.lang.reflect.Field; 14 Object process(A annotation, Field field);
|
MockitoAnnotationsMockAnnotationProcessor.java | 10 import java.lang.reflect.Field; 13 * Instantiates a mock on a field annotated by {@link Mock} 18 public Object process(Mock annotation, Field field) { 19 return Mockito.mock(field.getType(), field.getName());
|
/external/mockito/src/org/mockito/internal/configuration/injection/filter/ |
MockCandidateFilter.java | 7 import java.lang.reflect.Field;
14 Field fieldToBeInjected,
|
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/ |
InjectMocksScanner.java | 13 import java.lang.reflect.Field; 18 * Scan field for injection. 39 public void addTo(Set<Field> mockDependentFields) { 48 private Set<Field> scan() { 49 Set<Field> mockDependentFields = new HashSet<Field>(); 50 Field[] fields = clazz.getDeclaredFields(); 51 for (Field field : fields) { 52 if (null != field.getAnnotation(InjectMocks.class)) [all...] |
/external/mockito/src/org/mockito/internal/util/reflection/ |
FieldCopier.java | 7 import java.lang.reflect.Field;
11 public <T> void copyValue(T from, T to, Field field) throws IllegalAccessException {
12 Object value = field.get(from);
13 field.set(to, value);
|
FieldReader.java | 9 import java.lang.reflect.Field;
14 final Field field;
field in class:FieldReader 17 public FieldReader(Object target, Field field) {
19 this.field = field;
20 changer.enableAccess(field);
29 return field.get(target);
31 throw new MockitoException("Cannot read state from field: " + field + ", on instance: " + target); [all...] |
FieldSetter.java | 7 import java.lang.reflect.Field;
12 private final Field field;
field in class:FieldSetter 14 public FieldSetter(Object target, Field field) {
16 this.field = field;
21 changer.enableAccess(field);
23 field.set(target, value);
25 throw new RuntimeException("Access not authorized on field '" + field + "' of object '" + target + "' with value: '" + value + "'", e); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
SettingsSecureCompatUtils.java | 19 import java.lang.reflect.Field; 24 private static final Field FIELD_ACCESSIBILITY_SPEAK_PASSWORD = CompatUtils.getField(
|
/external/mockito/src/org/mockito/internal/configuration/injection/ |
MockInjectionStrategy.java | 8 import java.lang.reflect.Field; 21 protected boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { 50 * Actually inject mockCandidates on field. 53 * Actual algorithm is defined in the implementations of {@link #processInjection(Field, Object, Set)}. 62 * @param onField Field needing injection. 63 * @param fieldOwnedBy The owning instance of the field. 67 public boolean process(Field onField, Object fieldOwnedBy, Set<Object> mockCandidates) { 78 * Don't call this method directly, instead call {@link #process(Field, Object, Set)} 81 * @param field Field needing injectio [all...] |
PropertyAndSetterInjection.java | 18 import java.lang.reflect.Field; 30 * for each field annotated by @InjectMocks 32 * <li>initialize field annotated by @InjectMocks 36 * <li>order fields rom sub-type to super-type, then by field name 44 * <li>else set mock by field injection 47 * <li>remove injected field from list of class fields 55 * <u>Note:</u> If the field needing injection is not initialized, the strategy tries 56 * to create one using a no-arg constructor of the field type. 62 private Comparator<Field> superTypesLast = new FieldTypeAndNameComparator(); 64 private ListUtil.Filter<Field> notFinalOrStatic = new ListUtil.Filter<Field>() 113 Field field = it.next(); local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
FieldRewriter.java | 36 import org.jf.dexlib2.iface.Field; 43 public class FieldRewriter implements Rewriter<Field> { 50 @Nonnull @Override public Field rewrite(@Nonnull Field field) { 51 return new RewrittenField(field); 54 protected class RewrittenField extends BaseFieldReference implements Field { 55 @Nonnull protected Field field; field in class:FieldRewriter.RewrittenField 57 public RewrittenField(@Nonnull Field field) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ChineseDateFormat.java | 20 * This class handles a <code>ChineseCalendar</code>-specific field, 33 * <p>Summary of field changes vs. {@link SimpleDateFormat}:<pre> 81 * 2). To specify an alternate numbering system on a field by field basis, use the field letters from the pattern 165 protected DateFormat.Field patternCharToDateFormatField(char ch) { 166 // no longer any field corresponding to pattern char 'l' 181 public static class Field extends DateFormat.Field { 187 * @deprecated ICU 50 This field is only used by the deprecated ChineseDateFormat class [all...] |
UFieldPosition.java | 11 import java.text.Format.Field; 38 public UFieldPosition(int field) { 39 super(field); 47 public UFieldPosition(Field attribute, int fieldID) { 56 public UFieldPosition(Field attribute) {
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
SimpleDateFormat.java | 174 * parse "1234". In other words, the leftmost field of the run is flexible, 176 * then the leftmost field is shortened by one character, and the entire run is 178 * leftmost field is one character in length. If the parse still fails at that 257 // * 2). To specify an alternate numbering system on a field by field basis, use the field letters from the pattern 310 * @param pos the formatting position. On input: an alignment field, 311 * if desired. On output: the offsets of the alignment field. 480 // Map JDK Field to ICU Field [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UFieldPosition.java | 10 import java.text.Format.Field; 36 public UFieldPosition(int field) { 37 super(field); 45 public UFieldPosition(Field attribute, int fieldID) { 54 public UFieldPosition(Field attribute) {
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/ |
FieldProperty.java | 18 import java.lang.reflect.Field; 25 * a field, without going through accessor methods (setX, getX). The field may 30 private final Field field; field in class:FieldProperty 32 public FieldProperty(Field field) { 33 super(field.getName(), field.getType(), field.getGenericType()) [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
Field.java | 24 public interface Field 27 * Get the constant value for this field, if any. This only returns 28 * non-{@code null} for a {@code static final} field which 32 * field isn't a constant
|
/external/junit/src/org/junit/runners/model/ |
FrameworkField.java | 4 import java.lang.reflect.Field; 10 * Represents a field on a test class (currently used only for Rules in 14 private final Field fField; 16 FrameworkField(Field field) { 17 fField= field; 45 * @return the underlying java Field 47 public Field getField() { 52 * @return the underlying Java Field type 53 * @see java.lang.reflect.Field#getType( [all...] |
/art/test/035-enum/src/ |
Main.java | 17 import java.lang.reflect.Field; 26 Field field; local 28 field = Shubbery.class.getDeclaredField("CRAWLING"); 33 System.out.println("found field " + field.getName()); 34 System.out.println(" synthetic? " + field.isSynthetic()); 35 System.out.println(" enum? " + field.isEnumConstant());
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
ComplexField.java | 22 import org.apache.commons.math.Field; 25 * Representation of the complex numbers field. 33 public class ComplexField implements Field<Complex>, Serializable { 65 /** Cached field instance. */
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
BigFractionField.java | 22 import org.apache.commons.math.Field; 25 * Representation of the fractional numbers without any overflow field. 33 public class BigFractionField implements Field<BigFraction>, Serializable { 65 /** Cached field instance. */
|
FractionField.java | 22 import org.apache.commons.math.Field; 25 * Representation of the fractional numbers field. 33 public class FractionField implements Field<Fraction>, Serializable { 65 /** Cached field instance. */
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
BigRealField.java | 22 import org.apache.commons.math.Field; 25 * Representation of real numbers with arbitrary precision field. 33 public class BigRealField implements Field<BigReal>, Serializable { 65 /** Cached field instance. */
|