org.aspectj.compiler.crosscuts.ast
Class ModifiersPattern

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Modifiers
              extended byorg.aspectj.compiler.crosscuts.ast.ModifiersPattern

public class ModifiersPattern
extends Modifiers


Field Summary
protected  int falseValue
           
 
Fields inherited from class org.aspectj.compiler.base.ast.Modifiers
ABSTRACT, CONSTRUCTOR_PRINT_MASK, DEFAULT_PRINT_MASK, FINAL, INTERFACE, INTERFACE_METHOD_PRINT_MASK, NATIVE, PRIVATE, PRIVILEGED, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, THREADSAFE, TRANSIENT, value, VOLATILE
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  ModifiersPattern(int _value, int _falseValue)
           
protected ModifiersPattern(SourceLocation source)
           
  ModifiersPattern(SourceLocation location, int _value, int _falseValue)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
 java.lang.String getDefaultDisplayName()
           
 int getFalseValue()
           
 boolean matches(Modifiers otherModifiers)
           
 void setFalseValue(int _falseValue)
           
 java.lang.String toShortString()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.Modifiers
checkIllegalCombination, checkSpec, getAcceptableClassValue, getAcceptableInnerClassValue, getAccessValue, getAccessValueString, getValue, isAbstract, isAbstract, isFinal, isFinal, isInterface, isInterface, isMoreAccessibleThan, isNative, isPackagePrivate, isPackagePrivate, isPrivate, isPrivate, isPrivileged, isPrivileged, isProtected, isProtected, isPublic, isPublic, isStatic, isStatic, isStrict, isStrict, isSynchronized, isTransient, isVolatile, isWeakerThan, setAbstract, setAttribute, setFinal, setInterface, setPrivate, setProtected, setPublic, setStatic, setStrict, setSynchronized, setValue, toString
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, cleanup, 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, postCopy, 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, unparse, walk, walkAnalysis, walkAssignmentCheck, walkCleanup, walkFlow, walkForwardReference, 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

falseValue

protected int falseValue
Constructor Detail

ModifiersPattern

public ModifiersPattern(SourceLocation location,
                        int _value,
                        int _falseValue)

ModifiersPattern

public ModifiersPattern(int _value,
                        int _falseValue)

ModifiersPattern

protected ModifiersPattern(SourceLocation source)
Method Detail

matches

public boolean matches(Modifiers otherModifiers)
Overrides:
matches in class Modifiers

getFalseValue

public int getFalseValue()
Overrides:
getFalseValue in class Modifiers

setFalseValue

public void setFalseValue(int _falseValue)

copyWalk

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

getDefaultDisplayName

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

unparse

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

toShortString

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