Package org.perfectable.introspection
Class MethodIntrospection
- java.lang.Object
-
- org.perfectable.introspection.MethodIntrospection
-
public final class MethodIntrospection extends Object
Entry point for method introspections.Use
Introspections.introspect(Method)
to get instance of this class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationQuery<Annotation>
annotations()
Query for annotations on specified method.boolean
isCallable()
Check if method is callable.
-
-
-
Method Detail
-
annotations
public AnnotationQuery<Annotation> annotations()
Query for annotations on specified method.- Returns:
- annotations query on introspected method.
-
isCallable
public boolean isCallable()
Check if method is callable.This only checks there is a scenario that introspected method can be called.
- Returns:
- if method is callable.
-
-