public final class FieldProxy extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static FieldProxy |
of(Field field)
Construct a proxy for a field.
|
Field |
resolve()
Resolve this proxy into a
Field instance. |
String |
toString() |
public Field resolve() throws ClassNotFoundException, NoSuchFieldException
Field
instance.Field
represented by this proxy.ClassNotFoundException
- If the proxy's declaring type cannot be resolved.NoSuchFieldException
- If the field does not exist on the declaring type.public static FieldProxy of(Field field)
field
- The field to proxy.field
.Copyright © 2016 GroupLens Research. All rights reserved.