This class serves as a parameter block to the Instrumentation.redefineClasses method. Serves to bind the Class that needs redefining together with the new class file bytes.
This class serves as a parameter block to the Instrumentation.redefineClasses method. Serves to bind the Class that needs redefining together with the new class file bytes.
(->class-definition the-class the-class-file)
Constructor.
Creates a new ClassDefinition binding using the supplied class and class file bytes. Does not copy the supplied buffer, just captures a reference to it.
the-class - the Class that needs redefining - java.lang.Class<?>
the-class-file - the new class file bytes - byte[]
throws: java.lang.NullPointerException - if the supplied class or array is null.
Constructor. Creates a new ClassDefinition binding using the supplied class and class file bytes. Does not copy the supplied buffer, just captures a reference to it. the-class - the Class that needs redefining - `java.lang.Class<?>` the-class-file - the new class file bytes - `byte[]` throws: java.lang.NullPointerException - if the supplied class or array is null.
(get-definition-class this)
Returns the class.
returns: the Class object referred to. - java.lang.Class<?>
Returns the class. returns: the Class object referred to. - `java.lang.Class<?>`
(get-definition-class-file this)
Returns the array of bytes that contains the new class file.
returns: the class file bytes. - byte[]
Returns the array of bytes that contains the new class file. returns: the class file bytes. - `byte[]`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close