org.aspectj.compiler.crosscuts.ast
Class WarningDec

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.DeclareDec
                      extended byorg.aspectj.compiler.crosscuts.ast.WarningDec
All Implemented Interfaces:
AspectMember

public class WarningDec
extends DeclareDec
implements AspectMember


Field Summary
protected  java.lang.String id
           
protected  java.lang.String label
           
protected  Modifiers modifiers
           
protected  Pcd pointcut
           
protected  java.lang.String pointcutLabel
           
 
Fields inherited from class org.aspectj.compiler.crosscuts.ast.DeclareDec
type, typed, typeds
 
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
  WarningDec(Pcd _pointcut, java.lang.String _label)
           
protected WarningDec(SourceLocation source)
           
  WarningDec(java.lang.String _plabel, java.lang.String _label)
           
 
Method Summary
 java.lang.String getDefaultDisplayName()
           
 java.lang.String getId()
           
 java.lang.String getKind()
           
 Modifiers getModifiers()
           
 void setId(java.lang.String _id)
           
 void setModifiers(Modifiers _modifiers)
           
 java.lang.String toShortString()
           
 java.lang.String unparse()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
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, 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, checkSpec, clearComment, clearParent, contains, containsTypes, copy, copyWalk, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getChildAt, getChildCount, getChildNameAt, 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, setChildAt, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toString, 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
 
Methods inherited from interface org.aspectj.compiler.crosscuts.ast.AspectMember
cgTop, cleanup, setParent
 

Field Detail

modifiers

protected Modifiers modifiers

id

protected java.lang.String id

pointcut

protected Pcd pointcut

pointcutLabel

protected java.lang.String pointcutLabel

label

protected java.lang.String label
Constructor Detail

WarningDec

public WarningDec(Pcd _pointcut,
                  java.lang.String _label)

WarningDec

public WarningDec(java.lang.String _plabel,
                  java.lang.String _label)

WarningDec

protected WarningDec(SourceLocation source)
Method Detail

toShortString

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

getKind

public java.lang.String getKind()
Overrides:
getKind in class DeclareDec

getModifiers

public Modifiers getModifiers()
Overrides:
getModifiers in class DeclareDec

setModifiers

public void setModifiers(Modifiers _modifiers)
Overrides:
setModifiers in class DeclareDec

getId

public java.lang.String getId()
Overrides:
getId in class DeclareDec

setId

public void setId(java.lang.String _id)
Overrides:
setId in class DeclareDec

unparse

public java.lang.String unparse()
Specified by:
unparse in interface AspectMember
Overrides:
unparse in class DeclareDec

unparse

public void unparse(org.aspectj.compiler.base.CodeWriter writer)
Specified by:
unparse in interface AspectMember
Overrides:
unparse in class DeclareDec

getDefaultDisplayName

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