Class MethodParameterRewriter.RewrittenMethodParameter

All Implemented Interfaces:
CharSequence, Comparable<CharSequence>, LocalInfo, MethodParameter, Reference, TypeReference
Enclosing class:
MethodParameterRewriter

protected class MethodParameterRewriter.RewrittenMethodParameter extends BaseMethodParameter
  • Field Details

  • Constructor Details

    • RewrittenMethodParameter

      public RewrittenMethodParameter(@Nonnull MethodParameter methodParameter)
  • Method Details

    • getType

      @Nonnull public String getType()
      Description copied from interface: MethodParameter
      The type of this method parameter. This may be any type, including primitive or array types, other than the void (V) type.
      Returns:
      The type of this method parameter
    • getAnnotations

      @Nonnull public Set<? extends Annotation> getAnnotations()
      Description copied from interface: MethodParameter
      Gets a set of the annotations that are applied to this parameter. The annotations in the returned set are guaranteed to have unique types.
      Returns:
      A set of the annotations that are applied to this parameter
    • getName

      @Nullable public String getName()
      Description copied from interface: MethodParameter
      Gets the name of this parameter, if available.
      Returns:
      The name of this parameter, or null if the name is not available.
    • getSignature

      @Nullable public String getSignature()
      Description copied from interface: MethodParameter
      Gets the signature of this parameter, if available. The signature of a parameter is defined to be the concatenated version of the dalvik.annotation.Signature annotation applied to this parameter, or null if there is no dalvik.annotation.Signature annotation.
      Specified by:
      getSignature in interface LocalInfo
      Specified by:
      getSignature in interface MethodParameter
      Overrides:
      getSignature in class BaseMethodParameter
      Returns:
      The signature of this parameter, or null if not available