org.aspectj.compiler.crosscuts.ast
Class UnionTypeName

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

public class UnionTypeName
extends GenTypeName


Field Summary
protected  GenTypeName name1
           
protected  GenTypeName name2
           
 
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
  UnionTypeName(GenTypeName _name1, GenTypeName _name2)
           
protected UnionTypeName(SourceLocation source)
           
  UnionTypeName(SourceLocation location, GenTypeName _name1, GenTypeName _name2)
           
 
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 getName1()
           
 GenTypeName getName2()
           
 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 setName1(GenTypeName _name1)
           
 void setName2(GenTypeName _name2)
           
 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, 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

name1

protected GenTypeName name1

name2

protected GenTypeName name2
Constructor Detail

UnionTypeName

public UnionTypeName(SourceLocation location,
                     GenTypeName _name1,
                     GenTypeName _name2)

UnionTypeName

public UnionTypeName(GenTypeName _name1,
                     GenTypeName _name2)

UnionTypeName

protected UnionTypeName(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 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

getName1

public GenTypeName getName1()

setName1

public void setName1(GenTypeName _name1)

getName2

public GenTypeName getName2()

setName2

public void setName2(GenTypeName _name2)

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