T
- Return type of the property to be invoked.public class FieldClass<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Field |
field |
private GetProperty<T> |
get |
private SetProperty |
set |
Constructor and Description |
---|
FieldClass(java.lang.reflect.Field field) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
GetProperty<T> |
getGetProperty()
Returns an instance of the generated class.
|
private GetProperty<T> |
getInstanceGet()
Gets the class that implements GetProperty.
|
private SetProperty |
getInstanceSet()
Gets the class that implements SetProperty.
|
SetProperty |
getSetProperty()
Returns an instance of the generated class.
|
int |
hashCode() |
private final java.lang.reflect.Field field
private GetProperty<T> get
private SetProperty set
public FieldClass(java.lang.reflect.Field field)
field
- Contains the field to be access dynamically.public GetProperty<T> getGetProperty() throws java.lang.InstantiationException
java.lang.InstantiationException
- If there is an error instantiating the class.public SetProperty getSetProperty() throws java.lang.InstantiationException
java.lang.InstantiationException
- If there is an error instantiating the class.private GetProperty<T> getInstanceGet() throws java.lang.InstantiationException
java.lang.InstantiationException
- If there is an error instantiating the class.private SetProperty getInstanceSet() throws java.lang.InstantiationException
java.lang.InstantiationException
- If there is an error instantiating the class.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object