gnu.expr
Class PairClassType
- AttrContainer, Externalizable
public class PairClassType
A class type implemented as a pair of an interface and a class.
This is how true multiple inheritance can be implemented.
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 |
addField , addField , addField , addField , addFields , addInterface , addMethod , addMethod , addMethod , addMethod , addMethod , addMethods , cleanupAfterCompilation , compare , countMethods , doFixups , getAttributes , getClassfileMajorVersion , getClassfileMinorVersion , getConstant , getConstants , getDeclaredField , getDeclaredMethod , getDeclaredMethod , getDeclaredMethods , getField , getField , getFieldCount , getFields , getInterfaces , getMatchingMethods , getMethod , getMethod , getMethodCount , getMethods , getMethods , getMethods , getMethods , getMethods , getModifiers , getOuterLinkType , getPackageName , getSuperclass , hasOuterLink , implementsInterface , isAccessible , isInterface , isSubclass , isSubclass , make , make , readExternal , readResolve , setAttributes , setClassfileVersion , setClassfileVersionJava5 , setInterface , setInterfaces , setModifiers , setName , setOuterLink , setSourceFile , setStratum , setSuper , setSuper , toString , to_utf8 , writeExternal , writeToArray , writeToFile , writeToFile , writeToStream |
coerceFromObject , compare , emitCoerceFromObject , getContextClass , getImplementationType , getInternalName , getMethods , getReflectClass , isExisting , isInstance , promote , setExisting |
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 |
PairClassType
public PairClassType()
extractStaticLink
public static Object extractStaticLink(ClassType type)
This method is called from compiled code.
getStaticLink
public Object getStaticLink()
make
public static PairClassType make(Class reflectInterface,
Class reflectInstanceClass)
make
public static PairClassType make(Class reflectInterface,
Class reflectInstanceClass,
Object staticLink)