org.aspectj.compiler.base.ast
Class DoubleType

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.SemanticObject
          extended byorg.aspectj.compiler.base.ast.Type
              extended byorg.aspectj.compiler.base.ast.PrimitiveType
                  extended byorg.aspectj.compiler.base.ast.NumericType
                      extended byorg.aspectj.compiler.base.ast.RealType
                          extended byorg.aspectj.compiler.base.ast.DoubleType

public final class DoubleType
extends RealType


Field Summary
 
Fields inherited from class org.aspectj.compiler.base.ast.Type
BOOLEAN, BYTE, CHAR, directSubTypes, directSuperTypes, DOUBLE, FLOAT, INT, LONG, REF, SHORT, VOID
 
Fields inherited from class org.aspectj.compiler.base.ast.SemanticObject
dec, dummyCompiler
 
Constructor Summary
DoubleType(org.aspectj.compiler.base.JavaCompiler compiler)
           
 
Method Summary
 void emitLoad(org.aspectj.compiler.base.bcg.CodeBuilder cb, int loc)
           
 void emitReturn(org.aspectj.compiler.base.bcg.CodeBuilder cb)
           
 void emitStore(org.aspectj.compiler.base.bcg.CodeBuilder cb, int loc)
           
 java.lang.String getDescriptor()
          The descriptor for this type, as used by classfiles.
 java.lang.String getName()
           
 Expr getNullExpr()
           
 Type getRefType()
           
 int getSlotCount()
          The number of slots for elements of this type.
 int getTypeIndex()
           
protected  boolean isAssignableFromOtherType(Type other)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.NumericType
isCoercableToOtherType
 
Methods inherited from class org.aspectj.compiler.base.ast.PrimitiveType
fromObject, getClassExpr, isAssignableFrom, isCoercableTo, isEquivalent, makeObject, showNotFoundError, toShortString, toString, unparse
 
Methods inherited from class org.aspectj.compiler.base.ast.Type
addDirectSuperType, addSubTypes, buildTypeGraph, dominates, ensureBuiltTypeGraph, ensureFinishedSignature, filterConcreteTypes, filterSubTypes, filterTopTypes, findMatchingDec, findMatchingSemanticObject, finish, finishTypeIntroductions, getAllSuperInterfaces, getArrayDimCount, getArrayType, getBaseComponentType, getConstructor, getDeclaringType, getDirectSubTypes, getDirectSuperTypes, getExtendedId, getExternalName, getField, getId, getInheritedMembers, getInheritedMethods, getInnerType, getInternalName, getMethod, getNamePieces, getOutermostBytecodeType, getOutermostLexicalType, getOutermostType, getPackageCookieType, getPackageName, getPointcut, getPrettyString, getPrivateCookieType, getSourceExtendedId, getString, getSubTypes, getTypeDec, hasMatchingType, hasMethodNamed, intersect, isAbstract, isAccessible, isAnonymous, isAnyType, isAspect, isBoolean, isClass, isCloneable, isConcrete, isEffectivelyStatic, isInnerType, isIntegral, isInterface, isMethodConvertableTo, isMissing, isNumeric, isObject, isPrimitive, isReferenceType, isStrictSubtypeOf, isString, isSubtypeOf, isUncheckedThrowable, isVoid, makeTypeD, makeTypeSet, validateTypeGraph
 
Methods inherited from class org.aspectj.compiler.base.ast.SemanticObject
checkOverride, conflictsWith, dominates, getBytecodeId, getCorrespondingDec, getKind, getModifiers, getStackDelta, isAccessible, isAlmostApplicable, isApplicable, isInherited, isMoreSpecificThan, isStatic, showConflictError, updateTargetExpr
 
Methods inherited from class org.aspectj.compiler.base.CompilerObject
getAST, getCompiler, getOptions, getTypeManager, getWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleType

public DoubleType(org.aspectj.compiler.base.JavaCompiler compiler)
Method Detail

isAssignableFromOtherType

protected boolean isAssignableFromOtherType(Type other)
Overrides:
isAssignableFromOtherType in class PrimitiveType

getName

public java.lang.String getName()
Specified by:
getName in class PrimitiveType

getTypeIndex

public int getTypeIndex()
Overrides:
getTypeIndex in class Type

getRefType

public Type getRefType()
Overrides:
getRefType in class Type

getNullExpr

public Expr getNullExpr()
Overrides:
getNullExpr in class Type

getDescriptor

public java.lang.String getDescriptor()
Description copied from class: Type
The descriptor for this type, as used by classfiles. Note that FieldDec and MethodDec objects also have descriptors, which are built up out of type descriptors.

Specified by:
getDescriptor in class Type

getSlotCount

public int getSlotCount()
Description copied from class: Type
The number of slots for elements of this type. This is always one, but is overridden for two in LongType and DoubleType, and zero in VoidType.

Overrides:
getSlotCount in class Type

emitLoad

public void emitLoad(org.aspectj.compiler.base.bcg.CodeBuilder cb,
                     int loc)
Specified by:
emitLoad in class Type

emitStore

public void emitStore(org.aspectj.compiler.base.bcg.CodeBuilder cb,
                      int loc)
Specified by:
emitStore in class Type

emitReturn

public void emitReturn(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Specified by:
emitReturn in class Type