org.aspectj.compiler.crosscuts.ast
Class GenTypeName

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Expr
              extended byorg.aspectj.compiler.crosscuts.ast.GenTypeName
Direct Known Subclasses:
AnyTypeName, ComplementTypeName, EllipsesFakeTypeName, IntersectTypeName, PatternTypeName, SimpleTypeName, UnionTypeName, VarTypeName

public abstract class GenTypeName
extends Expr


Field Summary
static int EXACT_STATIC_TYPE
           
static int INSTANCEOF
           
static int STATIC_TYPE_OR_SUBTYPE
           
 
Fields inherited from class org.aspectj.compiler.base.ast.Expr
type
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
GenTypeName(SourceLocation location)
           
 
Method Summary
protected  Type discoverType()
           
 java.lang.String getDefaultDisplayName()
           
abstract  TypeDs getFalseTypeDs()
           
abstract  TypeDs getTrueTypeDs()
           
abstract  org.aspectj.compiler.crosscuts.joinpoints.JpPlan makePlan(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp, Expr expr)
           
abstract  boolean matches(Type type)
           
abstract  org.aspectj.util.FuzzyBoolean matchesInstance(Type type)
           
 java.lang.String unparse()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.Expr
assertType, canBeCopied, cgBuffer, cgEffect, cgTest, cgValue, cgValue, checkSpec, cleanup, getType, isAssignableTo, isConstantFalse, isConstantTrue, isConstantZero, isInConstructorCallExpr, isInExprStmt, isLegalStmt, isMethodConvertableTo, isUltimatelyLiteral, makeQualifiedThis, makeReference, postCopy, setType, showOperatorTypeError, showOperatorTypeError, walkCleanup, walkFrameLoc
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, clearComment, clearParent, contains, containsTypes, copy, copyWalk, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getChildAt, getChildCount, getChildNameAt, getComment, getCompilationUnit, getDeclaringType, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getLexicalType, getOutermostBytecodeType, getOutermostLexicalType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, inStaticContext, isLanguageVisible, isLeaf, isSynthetic, makeChild, makeChild, postAssignmentCheck, postCleanup, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postScope, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, preScope, preThreading, remove, remove, removeChildAt, replaceWith, setChildAt, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toShortString, toString, walk, walkAnalysis, walkAssignmentCheck, walkFlow, walkForwardReference, walkInnerInfo, walkMemberMunger, walkScope
 
Methods inherited from class org.aspectj.compiler.base.CompilerObject
getCompiler, getOptions, getTypeManager, getWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXACT_STATIC_TYPE

public static final int EXACT_STATIC_TYPE
See Also:
Constant Field Values

STATIC_TYPE_OR_SUBTYPE

public static final int STATIC_TYPE_OR_SUBTYPE
See Also:
Constant Field Values

INSTANCEOF

public static final int INSTANCEOF
See Also:
Constant Field Values
Constructor Detail

GenTypeName

public GenTypeName(SourceLocation location)
Method Detail

discoverType

protected Type discoverType()
Specified by:
discoverType in class Expr

matches

public abstract boolean matches(Type type)

matchesInstance

public abstract org.aspectj.util.FuzzyBoolean matchesInstance(Type type)

makePlan

public abstract org.aspectj.compiler.crosscuts.joinpoints.JpPlan makePlan(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp,
                                                                          Expr expr)

getTrueTypeDs

public abstract TypeDs getTrueTypeDs()

getFalseTypeDs

public abstract TypeDs getFalseTypeDs()

getDefaultDisplayName

public java.lang.String getDefaultDisplayName()
Overrides:
getDefaultDisplayName in class Expr

unparse

public void unparse(org.aspectj.compiler.base.CodeWriter writer)
             throws java.io.IOException
Overrides:
unparse in class ASTObject
Throws:
java.io.IOException

unparse

public java.lang.String unparse()
Overrides:
unparse in class ASTObject