2010 FRC Java API


com.sun.squawk
Class KlassMetadata

java.lang.Object
  extended by com.sun.squawk.KlassMetadata

public class KlassMetadata
extends Object

The ClassMetadata class is a container for all the meta-information pertaining to a class where this information is not necessarily required by the runtime system. For example, the names and signatures of a class's fields and methods are contained in this class. These types of information are only required if the runtime system includes support for features such as dynamic class loading, stack traces etc.

Version:
1.0
See Also:
com.sun.squawk.Class

Field Summary
protected  Class[] classTable
          The table of classes that are referred to from the symbols.
protected  byte[] symbols
          The symbolic information for the class.
 
Method Summary
static KlassMetadata create(byte[] symbols, Class[] classTable, KlassMetadata original, int type)
          factory for stripping.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classTable

protected Class[] classTable
The table of classes that are referred to from the symbols. The class references in the symbols are encoded indexes into this table.


symbols

protected byte[] symbols
The symbolic information for the class. This includes the signatures of the fields and methods of the class. The structure encoded in this array of bytes is accessed by a SymbolsParser instance.

Method Detail

create

public static KlassMetadata create(byte[] symbols,
                                   Class[] classTable,
                                   KlassMetadata original,
                                   int type)
factory for stripping.

Parameters:
symbols - the symbols (stripped or otherwise) (may be null)
classTable - class table (may be null)
original - the original symbolic information before stripping
type - the stripping policy
Returns:
new full or stripped ClassMetadata

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.