Class MethodParameterRewriter.RewrittenMethodParameter

    • Constructor Detail

      • RewrittenMethodParameter

        public RewrittenMethodParameter​(@Nonnull
                                        MethodParameter methodParameter)
    • Method Detail

      • getType

        @Nonnull
        public java.lang.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 java.util.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 java.lang.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 java.lang.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