org.aspectj.weaver.patterns
Class ThrowsPattern

java.lang.Object
  extended by org.aspectj.weaver.patterns.PatternNode
      extended by org.aspectj.weaver.patterns.ThrowsPattern
All Implemented Interfaces:
IHasPosition, IHasSourceLocation

public class ThrowsPattern
extends PatternNode


Field Summary
static ThrowsPattern ANY
           
 
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
 
Constructor Summary
ThrowsPattern(TypePatternList required, TypePatternList forbidden)
           
 
Method Summary
 java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
           
 boolean equals(java.lang.Object other)
           
 TypePatternList getForbidden()
           
 TypePatternList getRequired()
           
 int hashCode()
           
 boolean matches(UnresolvedType[] tys, World world)
           
 ThrowsPattern parameterizeWith(java.util.Map typeVariableMap, World w)
           
static ThrowsPattern read(VersionedDataInputStream s, ISourceContext context)
           
 ThrowsPattern resolveBindings(IScope scope, Bindings bindings)
           
 java.lang.String toString()
           
 java.lang.Object traverse(PatternNodeVisitor visitor, java.lang.Object data)
           
 void write(CompressingDataOutputStream s)
           
 
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ANY

public static final ThrowsPattern ANY
Constructor Detail

ThrowsPattern

public ThrowsPattern(TypePatternList required,
                     TypePatternList forbidden)
Method Detail

getRequired

public TypePatternList getRequired()

getForbidden

public TypePatternList getForbidden()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

resolveBindings

public ThrowsPattern resolveBindings(IScope scope,
                                     Bindings bindings)

parameterizeWith

public ThrowsPattern parameterizeWith(java.util.Map typeVariableMap,
                                      World w)

matches

public boolean matches(UnresolvedType[] tys,
                       World world)

read

public static ThrowsPattern read(VersionedDataInputStream s,
                                 ISourceContext context)
                          throws java.io.IOException
Throws:
java.io.IOException

write

public void write(CompressingDataOutputStream s)
           throws java.io.IOException
Specified by:
write in class PatternNode
Throws:
java.io.IOException

accept

public java.lang.Object accept(PatternNodeVisitor visitor,
                               java.lang.Object data)
Specified by:
accept in class PatternNode

traverse

public java.lang.Object traverse(PatternNodeVisitor visitor,
                                 java.lang.Object data)
Overrides:
traverse in class PatternNode