org.netbeans.bootstrap/1 2.52

org.netbeans
Class PatchByteCode

java.lang.Object
  extended by org.netbeans.PatchByteCode

public final class PatchByteCode
extends Object

Tool to patch bytecode, currently just to make access modifiers public. Determines when and what to patch based on class-retention annotations.

See Also:
PatchedPublic, patch(byte[])

Constructor Summary
PatchByteCode()
           
 
Method Summary
static byte[] patch(byte[] data)
          Patches a class if it is needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchByteCode

public PatchByteCode()
Method Detail

patch

public static byte[] patch(byte[] data)
Patches a class if it is needed.

Parameters:
arr - the bytecode
Returns:
the enhanced bytecode

org.netbeans.bootstrap/1 2.52

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.