Class MethodAnalyzer.ReparentedMethodReference

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

private static class MethodAnalyzer.ReparentedMethodReference extends BaseMethodReference
  • Field Details

    • baseReference

      private final MethodReference baseReference
    • definingClass

      private final String definingClass
  • Constructor Details

    • ReparentedMethodReference

      public ReparentedMethodReference(MethodReference baseReference, String definingClass)
  • Method Details

    • getName

      @Nonnull public String getName()
      Description copied from interface: MethodReference
      Gets the name of the referenced method.
      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.
      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.
      Returns:
      The return type of the referenced method.
    • getDefiningClass

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