Class SupersDisplayTables
java.lang.Object
org.qbicc.plugin.instanceofcheckcast.SupersDisplayTables
Build Cohen's display of accessible super types.
This is initially just the array of the supertypes of Class C
including itself.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SupersDisplayTablesget(CompilationContext ctxt) intgetAndRegisterGlobalTypeIdArray(ExecutableElement originalElement) Get the GlobalVariableElement reference to the `qbicc_typeid_array`.intGet the CompoundType for the GlobalTypeIdArray (`qbicc_typeid_array`) global variable elements.intintintvoid
-
Method Details
-
get
-
getSupersDisplay
-
statistics
public void statistics() -
getFirstInterfaceTypeId
public int getFirstInterfaceTypeId() -
getNumberOfBytesInInterfaceBitsArray
public int getNumberOfBytesInInterfaceBitsArray() -
getInterfaceByteIndex
-
getInterfaceBitMask
-
getAndRegisterGlobalTypeIdArray
Get the GlobalVariableElement reference to the `qbicc_typeid_array`. As part of it getting it, ensure a reference to it has been recorded into the ExecutableElement's section.- Parameters:
originalElement- the original element (must not benull)- Returns:
- the type ID global
-
getGlobalTypeIdStructType
Get the CompoundType for the GlobalTypeIdArray (`qbicc_typeid_array`) global variable elements. See #emitTypeIdTable for the definition of the typeid array elements.- Returns:
- The CompoundType describing the struct.
-
get_number_of_typeids
public int get_number_of_typeids()
-