Uses of Class
org.apache.juneau.reflect.MethodInfo
Packages that use MethodInfo
Package
Description
Predefined Matchers
Method exec stats utilities
-
Uses of MethodInfo in org.apache.juneau.annotation
Methods in org.apache.juneau.annotation with parameters of type MethodInfoModifier and TypeMethodDescriptionstatic void
InvalidAnnotationException.assertNoInvalidAnnotations
(MethodInfo onMethod, Class<? extends Annotation>... types) Throws anInvalidAnnotationException
if the specified method contains any of the specified annotations. -
Uses of MethodInfo in org.apache.juneau.cp
Method parameters in org.apache.juneau.cp with type arguments of type MethodInfoModifier and TypeMethodDescriptionBeanCreateMethodFinder.find
(Predicate<MethodInfo> filter) Find the method matching the specified predicate.BeanCreateMethodFinder.thenFind
(Predicate<MethodInfo> filter) Identical toBeanCreateMethodFinder.find(Predicate)
but named for fluent-style calls. -
Uses of MethodInfo in org.apache.juneau.httppart.bean
Methods in org.apache.juneau.httppart.bean with parameters of type MethodInfoModifier and TypeMethodDescriptionstatic ResponseBeanMeta
ResponseBeanMeta.create
(MethodInfo m, AnnotationWorkList annotations) Create metadata from specified method return. -
Uses of MethodInfo in org.apache.juneau.reflect
Methods in org.apache.juneau.reflect that return MethodInfoModifier and TypeMethodDescriptionMethodInfo.accept
(Predicate<MethodInfo> test, Consumer<MethodInfo> action) Performs an action on this object if the specified predicate test passes.MethodInfo.accessible()
<A extends Annotation>
MethodInfoMethodInfo.forEachAnnotation
(Class<A> type, Predicate<A> filter, Consumer<A> action) Performs an action on all matching annotations defined on this method.<A extends Annotation>
MethodInfoMethodInfo.forEachAnnotation
(AnnotationProvider annotationProvider, Class<A> type, Predicate<A> filter, Consumer<A> action) Performs an action on all matching annotations defined on this method.MethodInfo.forEachAnnotationInfo
(Predicate<AnnotationInfo<?>> filter, Consumer<AnnotationInfo<?>> action) Perform an action on all matching annotations on this method.MethodInfo.forEachMatching
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods with the same name and arguments on all superclasses and interfaces.MethodInfo.forEachMatchingParentFirst
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods with the same name and arguments on all superclasses and interfaces.ClassInfo.getDeclaredMethod
(Predicate<MethodInfo> filter) Returns the first matching declared method on this class.ClassInfo.getMethod
(Predicate<MethodInfo> filter) Returns the first matching method on this class.ParamInfo.getMethod()
Returns the method that this parameter belongs to.AnnotationInfo.getMethodOn()
Returns the method where the annotation was found.ClassInfo.getPublicMethod
(Predicate<MethodInfo> filter) Returns the first matching public method on this class.ClassInfo.getRepeatedAnnotationMethod()
Returns the repeated annotation method on this class.static MethodInfo
Convenience method for instantiating aMethodInfo
;static MethodInfo
Convenience method for instantiating aMethodInfo
;static MethodInfo
Convenience method for instantiating aMethodInfo
;Methods in org.apache.juneau.reflect that return types with arguments of type MethodInfoModifier and TypeMethodDescriptionClassInfo.getAllMethodsParentFirst()
Returns all declared methods on this class and all parent classes.ClassInfo.getDeclaredMethods()
Returns all methods declared on this class.ClassInfo.getMethods()
Returns all declared methods on this class and all parent classes.ClassInfo.getPublicMethods()
Returns all public methods on this class.Methods in org.apache.juneau.reflect with parameters of type MethodInfoModifier and TypeMethodDescriptionint
MethodInfo.compareTo
(MethodInfo o) static <A extends Annotation>
AnnotationInfo<A>AnnotationInfo.of
(MethodInfo onMethod, A value) Convenience constructor when annotation is found on a method.Method parameters in org.apache.juneau.reflect with type arguments of type MethodInfoModifier and TypeMethodDescriptionMethodInfo.accept
(Predicate<MethodInfo> test, Consumer<MethodInfo> action) Performs an action on this object if the specified predicate test passes.MethodInfo.accept
(Predicate<MethodInfo> test, Consumer<MethodInfo> action) Performs an action on this object if the specified predicate test passes.ClassInfo.forEachAllMethodParentFirst
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods on this class and all parent classes.ClassInfo.forEachAllMethodParentFirst
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods on this class and all parent classes.ClassInfo.forEachDeclaredMethod
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods on this class.ClassInfo.forEachDeclaredMethod
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods on this class.MethodInfo.forEachMatching
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods with the same name and arguments on all superclasses and interfaces.MethodInfo.forEachMatching
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods with the same name and arguments on all superclasses and interfaces.MethodInfo.forEachMatchingParentFirst
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods with the same name and arguments on all superclasses and interfaces.MethodInfo.forEachMatchingParentFirst
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods with the same name and arguments on all superclasses and interfaces.ClassInfo.forEachMethod
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching methods on this class.ClassInfo.forEachMethod
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching methods on this class.ClassInfo.forEachPublicMethod
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching public methods on this class.ClassInfo.forEachPublicMethod
(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching public methods on this class.ClassInfo.getDeclaredMethod
(Predicate<MethodInfo> filter) Returns the first matching declared method on this class.ClassInfo.getMethod
(Predicate<MethodInfo> filter) Returns the first matching method on this class.ClassInfo.getPublicMethod
(Predicate<MethodInfo> filter) Returns the first matching public method on this class.boolean
MethodInfo.matches
(Predicate<MethodInfo> test) Returnstrue if this object passes the specified predicate test. -
Uses of MethodInfo in org.apache.juneau.rest.matcher
Constructors in org.apache.juneau.rest.matcher with parameters of type MethodInfoModifierConstructorDescriptionClientVersionMatcher
(String clientVersionHeader, MethodInfo mi) Constructor. -
Uses of MethodInfo in org.apache.juneau.rest.stats
Methods in org.apache.juneau.rest.stats that return MethodInfo -
Uses of MethodInfo in org.apache.juneau.swap
Constructors in org.apache.juneau.swap with parameters of type MethodInfoModifierConstructorDescriptionprotected
BuilderSwap
(Class<T> objectClass, Class<B> builderClass, Constructor<T> objectConstructor, Constructor<B> builderConstructor, MethodInfo createBuilderMethod, MethodInfo createObjectMethod) Constructor.