org.aspectj.weaver.patterns
Class ThrowsPattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.ThrowsPattern
- All Implemented Interfaces:
- IHasPosition, IHasSourceLocation
public class ThrowsPattern
- extends PatternNode
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ANY
public static final ThrowsPattern ANY
ThrowsPattern
public ThrowsPattern(TypePatternList required,
TypePatternList forbidden)
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