Class MethodDescription.InDefinedShape.AbstractBase

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • getReceiverType

        public TypeDescription.Generic getReceiverType()
        Returns this methods receiver type. A receiver type is undefined for static methods where null is returned. Other than a receiver type that is provided by the Java reflection API, Byte Buddy is capable of extracting annotations on type parameters of receiver types when directly accessing a class file. Therefore, a receiver type might be parameterized.
        Specified by:
        getReceiverType in interface MethodDescription
        Returns:
        This method's (annotated) receiver type.