org.aspectj.compiler.crosscuts.ast
Class ShowErrorDec

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Stmt
              extended byorg.aspectj.compiler.base.ast.Dec
                  extended byorg.aspectj.compiler.crosscuts.ast.ShowErrorDec
All Implemented Interfaces:
org.aspectj.compiler.crosscuts.joinpoints.JpPlannerMaker

public class ShowErrorDec
extends Dec
implements org.aspectj.compiler.crosscuts.joinpoints.JpPlannerMaker


Field Summary
protected  boolean isWarning
           
protected  Expr message
           
protected  Pcd pcd
           
 
Fields inherited from class org.aspectj.compiler.base.ast.Dec
forcePublic, owner, semanticObject
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
protected ShowErrorDec(SourceLocation source)
           
  ShowErrorDec(SourceLocation location, Pcd _pcd, Expr _message, boolean _isWarning)
           
 
Method Summary
 void checkSpec()
           
 ASTObject copyWalk(CopyWalker walker)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 java.lang.String getId()
           
 boolean getIsWarning()
           
 java.lang.String getKind()
           
 Expr getMessage()
           
 Modifiers getModifiers()
           
 Pcd getPcd()
           
 org.aspectj.compiler.crosscuts.joinpoints.JpPlanner makePlanner(PlanData planData)
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setIsWarning(boolean _isWarning)
           
 void setMessage(Expr _message)
           
 void setPcd(Pcd _pcd)
           
 void showErrorAt(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint point)
           
 java.lang.String toShortString()
           
 
Methods inherited from class org.aspectj.compiler.base.ast.Dec
addIntroducedFromType, cgMember, checkOverride, cleanup, conflictsWith, dominates, forcePublic, getBytecodeId, getCorrespondingSemanticObject, getDeclaringType, getDescriptor, getLexicalType, getName, getOutermostLexicalType, getSignatureString, getStackDelta, inStaticContext, isAbstract, isAccessible, isAccessible, isAlmostApplicable, isApplicable, isDeprecated, isFinal, isInherited, isIntroduced, isLanguageVisible, isMoreAccessibleThan, isMoreSpecificThan, isPrivate, isProtected, isPublic, isStatic, isSynthetic, lookupDeclaringType, lookupLexicalType, makeBlockScope, makeCorrespondingSemanticObject, postCopy, preCopy, preMove, requireStmt, samePackage, setAllEnclosingTypes, setBytecodeId, setDeclaringType, setDeprecated, setExplicitlyNonSynthetic, setFromLexicalScope, setId, setLanguageVisible, setLexicalType, walkForwardReference, writeModifiers, writeNames
 
Methods inherited from class org.aspectj.compiler.base.ast.Stmt
cgStmt, cgTop, completesNormally, isBreakable, isContinuable, isEmpty, mustBeLive, registerLocation, requireBlockStmt, setCompletesNormally
 
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, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getOutermostBytecodeType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, isLeaf, makeChild, makeChild, postAssignmentCheck, postCleanup, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postScope, postThreading, preAssignmentCheck, preIntroduction, preLift, preScope, preThreading, remove, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toString, unparse, unparse, walk, walkAnalysis, walkAssignmentCheck, walkCleanup, walkFlow, walkFrameLoc, 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

pcd

protected Pcd pcd

message

protected Expr message

isWarning

protected boolean isWarning
Constructor Detail

ShowErrorDec

public ShowErrorDec(SourceLocation location,
                    Pcd _pcd,
                    Expr _message,
                    boolean _isWarning)

ShowErrorDec

protected ShowErrorDec(SourceLocation source)
Method Detail

getModifiers

public Modifiers getModifiers()
Specified by:
getModifiers in class Dec

getId

public java.lang.String getId()
Specified by:
getId in class Dec

toShortString

public java.lang.String toShortString()
Specified by:
toShortString in interface org.aspectj.compiler.crosscuts.joinpoints.JpPlannerMaker
Specified by:
toShortString in class Dec

getKind

public java.lang.String getKind()
Specified by:
getKind in class Dec

checkSpec

public void checkSpec()
Overrides:
checkSpec in class ASTObject

makePlanner

public org.aspectj.compiler.crosscuts.joinpoints.JpPlanner makePlanner(PlanData planData)
Specified by:
makePlanner in interface org.aspectj.compiler.crosscuts.joinpoints.JpPlannerMaker

showErrorAt

public void showErrorAt(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint point)

getPcd

public Pcd getPcd()

setPcd

public void setPcd(Pcd _pcd)

getMessage

public Expr getMessage()

setMessage

public void setMessage(Expr _message)

getIsWarning

public boolean getIsWarning()

setIsWarning

public void setIsWarning(boolean _isWarning)

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 Dec