Class ClassFileLocator.AgentBased.ExtractionClassFileTransformer

    • Constructor Detail

      • ExtractionClassFileTransformer

        protected ExtractionClassFileTransformer​(ClassLoader classLoader,
                                                 String typeName)
        Creates a class file transformer for the purpose of extraction.
        Parameters:
        classLoader - The class loader that is expected to have loaded the looked-up a class.
        typeName - The name of the type to look up.
    • Method Detail

      • getBinaryRepresentation

        protected byte[] getBinaryRepresentation()
        Returns the binary representation of the class file that was looked up. The returned array must never be modified.
        Returns:
        The binary representation of the class file or null if no such class file could be located.