Liking cljdoc? Tell your friends :D

jdk.lang.instrument.ClassDefinition

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.
raw docstring

->class-definitionclj

(->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.
raw docstring

get-definition-classclj

(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<?>`
raw docstring

get-definition-class-fileclj

(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[]`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close