Class BuilderMethodPool.MethodKey

All Implemented Interfaces:
Comparable<MethodReference>, MethodReference, Reference
Enclosing class:
BuilderMethodPool

private static class BuilderMethodPool.MethodKey extends BaseMethodReference implements MethodReference
  • Field Details

    • definingClass

      @Nonnull private final String definingClass
    • name

      @Nonnull private final String name
    • parameterTypes

      @Nonnull private final List<? extends CharSequence> parameterTypes
    • returnType

      @Nonnull private final String returnType
  • Constructor Details

  • Method Details

    • getDefiningClass

      @Nonnull public String getDefiningClass()
      Description copied from interface: MethodReference
      Gets the type of the class that defines the referenced method.
      Specified by:
      getDefiningClass in interface MethodReference
      Returns:
      The type of the class that defines the referenced method
    • getName

      @Nonnull public String getName()
      Description copied from interface: MethodReference
      Gets the name of the referenced method.
      Specified by:
      getName in interface MethodReference
      Returns:
      The name of the referenced method
    • getParameterTypes

      @Nonnull public List<? extends CharSequence> getParameterTypes()
      Description copied from interface: MethodReference
      Gets a list of the types of the parameters of this method.
      Specified by:
      getParameterTypes in interface MethodReference
      Returns:
      A list of the parameter types of this method, as strings.
    • getReturnType

      @Nonnull public String getReturnType()
      Description copied from interface: MethodReference
      Gets the return type of the referenced method.
      Specified by:
      getReturnType in interface MethodReference
      Returns:
      The return type of the referenced method.