public final class MethodOf extends Object implements RefMethod
RefMethod.| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
getAnnotation(@NotNull Class<A> annotationClass)
gets the annotation from the given annotation class.
|
@NotNull RefMethodExecuted |
of(@Nullable Object object)
applies the given object to create a
RefMethodExecuted object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, hasAnnotationpublic MethodOf(@NotNull
@NotNull Method method)
method - the method.@NotNull public @NotNull RefMethodExecuted of(@Nullable @Nullable Object object)
RefMethodRefMethodExecuted object.of in interface RefMethodobject - the object to apply.RefMethodExecuted 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.