Class MethodFinder
java.lang.Object
nl.pim16aap2.util.reflection.MethodFinder
Represents a
ReflectionFinder for methods.
This class can be used to retrieve methods by name and by return type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents an implementation ofReflectionFinder.ReflectionFinderWithParametersthat can be used to find a method.static final classRepresents the second step of the method finder, after the source class has been specified. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the class this method finder will search in for methods.
-
Constructor Details
-
MethodFinder
public MethodFinder()
-
-
Method Details
-
inClass
@CheckReturnValue @Contract(pure=true) public MethodFinder.MethodFinderInSource inClass(Class<?> source) Sets the class this method finder will search in for methods.- Parameters:
source- The class to analyze.- Returns:
- The next step in the method finding process.
-