org.aspectj.compiler.crosscuts.ast
Class SimpleTypeName

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
                  extended byorg.aspectj.compiler.crosscuts.ast.SimpleTypeName

public class SimpleTypeName
extends GenTypeName


Field Summary
protected  boolean includeSubTypes
           
protected  Type type
           
 
Fields inherited from class org.aspectj.compiler.crosscuts.ast.GenTypeName
EXACT_STATIC_TYPE, INSTANCEOF, STATIC_TYPE_OR_SUBTYPE
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
protected SimpleTypeName(SourceLocation source)
           
  SimpleTypeName(SourceLocation location, Type _type, boolean _includeSubTypes)
           
  SimpleTypeName(Type _type)
           
  SimpleTypeName(TypeD _typed)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
 java.lang.String getDefaultDisplayName()
           
 TypeDs getFalseTypeDs()
           
 boolean getIncludeSubTypes()
           
 TypeDs getTrueTypeDs()
           
 Type getType()
           
 org.aspectj.compiler.crosscuts.joinpoints.JpPlan makePlan(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp, Expr expr)
           
 boolean matches(Type type)
           
 org.aspectj.util.FuzzyBoolean matchesInstance(Type exprType)
           
 void setIncludeSubTypes(boolean _includeSubTypes)
           
 void setType(Type _type)
           
 java.lang.String toShortString()
           
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.GenTypeName
discoverType, unparse, unparse
 
Methods inherited from class org.aspectj.compiler.base.ast.Expr
assertType, canBeCopied, cgBuffer, cgEffect, cgTest, cgValue, cgValue, checkSpec, cleanup, isAssignableTo, isConstantFalse, isConstantTrue, isConstantZero, isInConstructorCallExpr, isInExprStmt, isLegalStmt, isMethodConvertableTo, isUltimatelyLiteral, makeQualifiedThis, makeReference, postCopy, showOperatorTypeError, showOperatorTypeError, walkCleanup, walkFrameLoc
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, clearComment, clearParent, contains, containsTypes, copy, 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, 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

type

protected Type type

includeSubTypes

protected boolean includeSubTypes
Constructor Detail

SimpleTypeName

public SimpleTypeName(SourceLocation location,
                      Type _type,
                      boolean _includeSubTypes)

SimpleTypeName

public SimpleTypeName(Type _type)

SimpleTypeName

public SimpleTypeName(TypeD _typed)

SimpleTypeName

protected SimpleTypeName(SourceLocation source)
Method Detail

toShortString

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

matches

public boolean matches(Type type)
Specified by:
matches in class GenTypeName

matchesInstance

public org.aspectj.util.FuzzyBoolean matchesInstance(Type exprType)
Specified by:
matchesInstance in class GenTypeName

makePlan

public org.aspectj.compiler.crosscuts.joinpoints.JpPlan makePlan(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp,
                                                                 Expr expr)
Specified by:
makePlan in class GenTypeName

getType

public Type getType()
Overrides:
getType in class Expr

setType

public void setType(Type _type)
Overrides:
setType in class Expr

getIncludeSubTypes

public boolean getIncludeSubTypes()

setIncludeSubTypes

public void setIncludeSubTypes(boolean _includeSubTypes)

getTrueTypeDs

public TypeDs getTrueTypeDs()
Specified by:
getTrueTypeDs in class GenTypeName

getFalseTypeDs

public TypeDs getFalseTypeDs()
Specified by:
getFalseTypeDs in class GenTypeName

copyWalk

public ASTObject copyWalk(CopyWalker walker)
Overrides:
copyWalk in class ASTObject

getDefaultDisplayName

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