public final class FieldOf extends Object implements RefField
RefField.| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
getAnnotation(@NotNull Class<A> annotationClass)
gets the annotation from the given annotation class.
|
@NotNull String |
getName()
gets name of the field.
|
@NotNull Class<?> |
getType()
gets the type of the field.
|
@NotNull RefFieldExecuted |
of(@Nullable Object object)
applies the given object to create a
RefFieldExecuted object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, hasAnnotationpublic FieldOf(@NotNull
@NotNull Field field)
field - the field.@NotNull public @NotNull Class<?> getType()
RefField@NotNull public @NotNull String getName()
RefField@NotNull public @NotNull RefFieldExecuted of(@Nullable @Nullable Object object)
RefFieldRefFieldExecuted object.of in interface RefFieldobject - the object to apply.RefFieldExecuted object.public <A extends Annotation> Optional<A> getAnnotation(@NotNull @NotNull Class<A> annotationClass)
RefAnnotatedgetAnnotation in interface RefAnnotatedA - the annotation type.annotationClass - the annotation class to get.this have the given
annotation class.Copyright © 2021. All rights reserved.