gnu.bytecode

Class ArrayType


public class ArrayType
extends ObjectType

Field Summary

Type
elements

Fields inherited from class gnu.bytecode.ObjectType

flags

Fields inherited from class gnu.bytecode.Type

booleanValue_method, boolean_ctype, boolean_type, byte_type, char_type, clone_method, doubleValue_method, double_type, floatValue_method, float_type, intValue_method, int_type, java_lang_Class_type, longValue_method, long_type, neverReturnsType, nullType, number_type, pointer_type, reflectClass, short_type, string_type, throwable_type, toString_method, tostring_type, typeArray0, void_type

Constructor Summary

ArrayType(Type elements)

Method Summary

int
compare(Type other)
Type
getComponentType()
Type
getImplementationType()
String
getInternalName()
int
getMethods(Filter filter, int searchSupers, Vector result, String context)
static ArrayType
make(Type elements)
Find or create an ArrayType for the specified element type.

Methods inherited from class gnu.bytecode.ObjectType

coerceFromObject, compare, emitCoerceFromObject, getContextClass, getImplementationType, getInternalName, getMethods, getReflectClass, isExisting, isInstance, promote, setExisting

Methods inherited from class gnu.bytecode.Type

coerceFromObject, coerceToObject, compare, emitCoerceFromObject, emitCoerceToObject, emitIsInstance, getImplementationType, getName, getReflectClass, getSignature, getSize, getSizeInWords, getType, hashCode, isInstance, isMoreSpecific, isSubtype, isValidJavaTypeName, isVoid, lookupType, lowestCommonSuperType, make, promote, registerTypeForClass, setName, setReflectClass, setSignature, signatureLength, signatureLength, signatureToName, signatureToPrimitive, signatureToType, signatureToType, swappedCompareResult, toString

Field Details

elements

public Type elements

Constructor Details

ArrayType

public ArrayType(Type elements)

Method Details

compare

public int compare(Type other)
Overrides:
compare in interface ObjectType

getComponentType

public Type getComponentType()

getImplementationType

public Type getImplementationType()
Overrides:
getImplementationType in interface ObjectType

getInternalName

public String getInternalName()
Overrides:
getInternalName in interface ObjectType

getMethods

public int getMethods(Filter filter,
                      int searchSupers,
                      Vector result,
                      String context)
Overrides:
getMethods in interface ObjectType

make

public static ArrayType make(Type elements)
Find or create an ArrayType for the specified element type.