Class MethodMirrorQuery

java.lang.Object
org.midheaven.lang.reflection.MethodMirrorQuery
All Implemented Interfaces:
MirrorQuery<Method>

public class MethodMirrorQuery extends Object implements MirrorQuery<Method>
Represents Method Mirror Query.
  • Method Details

    • named

      public MethodMirrorQuery named(String name)
      Returns named.
      Parameters:
      name - the name value
      Returns:
      the result of named
    • withModified

      public MethodMirrorQuery withModified(IntPredicate predicate)
      Performs withModified.
      Parameters:
      predicate - the predicate value
      Returns:
      the result of withModified
    • withParametersCount

      public MethodMirrorQuery withParametersCount(int count)
      Performs withParametersCount.
      Parameters:
      count - the count value
      Returns:
      the result of withParametersCount
    • withParameterTypes

      public MethodMirrorQuery withParameterTypes(Class<?>... types)
      Performs withParameterTypes.
      Parameters:
      types - the types value
      Returns:
      the result of withParameterTypes
    • withReturnType

      public MethodMirrorQuery withReturnType(Class<?> type)
      Performs withReturnType.
      Parameters:
      type - the type value
      Returns:
      the result of withReturnType
    • toSequence

      public Sequence<Method> toSequence()
      Returns to Sequence.
      Specified by:
      toSequence in interface MirrorQuery<Method>
      Returns:
      the result of toSequence