API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.instrument. ClassDefinition View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      ClassDefinition
Implements
Subclasses
Description
publicfinal class ClassDefinition
  This class serves as a parameter block to the Instrumentation.redefineClasses method.
Constructors
public ClassDefinition (Class<Object> theClass, byte[] theClassFile)
  Creates a new ClassDefinition binding using the supplied class and class file bytes.
Methods
Hide/Show inherited methods
public Class<Object> getDefinitionClass ()
  Returns the class.
public byte getDefinitionClassFile ()
  Returns the array of bytes that contains the new class file.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar