public interface RefField extends RefFieldExecuted, RefAnnotated
Field.| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getName()
gets name of the field.
|
@NotNull Class<?> |
getType()
gets the type of the field.
|
default @NotNull Optional<Object> |
getValue()
gets the field's object as a static.
|
@NotNull RefFieldExecuted |
of(@Nullable Object object)
applies the given object to create a
RefFieldExecuted object. |
default void |
setValue(@NotNull Object value)
sets the given object to the static field.
|
getAnnotation, getAnnotation, hasAnnotation@NotNull @NotNull Class<?> getType()
Class that's type of the field@NotNull @NotNull String getName()
@NotNull @NotNull RefFieldExecuted of(@Nullable @Nullable Object object)
RefFieldExecuted object.object - the object to apply.RefFieldExecuted object.default void setValue(@NotNull
@NotNull Object value)
setValue in interface RefFieldExecutedvalue - object to set.@NotNull default @NotNull Optional<Object> getValue()
getValue in interface RefFieldExecutedCopyright © 2021. All rights reserved.