FieldLink

public interface FieldLink implements Link, WithModifiers, WithName, WithType(source)

An interface used to simply access fields.

Author

Dustin Glaser

Inheritors

Functions

Link copied to clipboard
public abstract T get<T>()
Returns the object assigned to the type of this field.
public abstract T get<T>(Object instance)
Returns the object assigned to the given instance.
Link copied to clipboard
public String identifier()
Returns the identifier of this identifiable object.
Link copied to clipboard
public Link.Kind kind()
Link copied to clipboard
public Field link()
Link copied to clipboard
public int modifiers()
Return the bit representation of the modifiers of this link.
Link copied to clipboard
public abstract String name()
Returns the name of this link.
Link copied to clipboard
public abstract Field reflection()
Returns the type of the field linked by this field link.
Link copied to clipboard
public abstract void set(Object object)
Sets the object assigned to the type of this field.
public abstract void set(Object instance, Object object)
Sets the object assigned to the given instance.
Link copied to clipboard
public abstract TypeLink staticType()
Link copied to clipboard
public String string()
Returns a human-readable string representation of this object.
Link copied to clipboard
public TypeLink type()
Returns the type of this link.