Enum AgentBuilder.Transformer.NoOp

    • Constructor Detail

      • NoOp

        private NoOp()
    • Method Detail

      • values

        public static AgentBuilder.Transformer.NoOp[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AgentBuilder.Transformer.NoOp c : AgentBuilder.Transformer.NoOp.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AgentBuilder.Transformer.NoOp valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • transform

        public DynamicType.Builder<?> transform​(DynamicType.Builder<?> builder,
                                                TypeDescription typeDescription,
                                                java.lang.ClassLoader classLoader,
                                                JavaModule module)
        Allows for a transformation of a DynamicType.Builder.
        Specified by:
        transform in interface AgentBuilder.Transformer
        Parameters:
        builder - The dynamic builder to transform.
        typeDescription - The description of the type currently being instrumented.
        classLoader - The class loader of the instrumented class. Might be null to represent the bootstrap class loader.
        module - The class's module or null if the current VM does not support modules.
        Returns:
        A transformed version of the supplied builder.