|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.UniverseByteConstants
This class contains static helper functions that work on the byte constants used to represent universe annotations in attributes.
| Constructor Summary | |
UniverseByteConstants()
|
|
| Method Summary | |
static byte |
buildConstant(CUniverse univ)
Build byte constant from a given universe. |
static byte |
buildConstant(CUniverse univ,
CUniverse base_univ)
Build byte constant from a pair of universes (array type). |
static boolean |
isArray(byte byteConstant)
Returns if a given byte constant represents an array type. |
static CUniverse |
toBaseUniverse(byte byteConstant)
Returns an instance of the universe represented by a a given byte constant. |
static CUniverse |
toUniverse(byte byteConstant)
Returns an instance of the universe represented by a given byte constant. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UniverseByteConstants()
| Method Detail |
public static boolean isArray(byte byteConstant)
byteConstant - a byte constant representing a universe annotationpublic static byte buildConstant(CUniverse univ)
univ - the universe
public static byte buildConstant(CUniverse univ,
CUniverse base_univ)
univ - the universe of the array itselfbase_univ - the universe of the array elementspublic static CUniverse toUniverse(byte byteConstant)
byteConstant - a byte constant representing a universe annotationpublic static CUniverse toBaseUniverse(byte byteConstant)
byteConstant - a byte constant representing a universe annotation
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||