org.aspectj.compiler.crosscuts.ast
Class ComplementTypeName

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.ComplementTypeName

public class ComplementTypeName
extends GenTypeName


Field Summary
protected  GenTypeName name
           
 
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.Expr
type
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  ComplementTypeName(GenTypeName _name)
           
protected ComplementTypeName(SourceLocation source)
           
  ComplementTypeName(SourceLocation location, GenTypeName _name)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 TypeDs getFalseTypeDs()
           
 GenTypeName getName()
           
 TypeDs getTrueTypeDs()
           
 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 type)
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setName(GenTypeName _name)
           
 java.lang.String toShortString()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.GenTypeName
discoverType, unparse
 
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, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, 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, 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

name

protected GenTypeName name
Constructor Detail

ComplementTypeName

public ComplementTypeName(SourceLocation location,
                          GenTypeName _name)

ComplementTypeName

public ComplementTypeName(GenTypeName _name)

ComplementTypeName

protected ComplementTypeName(SourceLocation source)
Method Detail

unparse

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

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 type)
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

getName

public GenTypeName getName()

setName

public void setName(GenTypeName _name)

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

getChildAt

public ASTObject getChildAt(int childIndex)
Overrides:
getChildAt in class ASTObject

getChildNameAt

public java.lang.String getChildNameAt(int childIndex)
Overrides:
getChildNameAt in class ASTObject

setChildAt

public void setChildAt(int childIndex,
                       ASTObject child)
Overrides:
setChildAt in class ASTObject

getChildCount

public int getChildCount()
Overrides:
getChildCount in class ASTObject

getDefaultDisplayName

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