org.inria.ns.reflex.processor.asl.types
Class StaticTypeMatcher

java.lang.Object
  extended by org.inria.ns.reflex.processor.asl.ItemMatcher
      extended by org.inria.ns.reflex.processor.asl.types.TypeMatcher
          extended by org.inria.ns.reflex.processor.asl.types.StaticTypeMatcher
All Implemented Interfaces:
Reducible

public class StaticTypeMatcher
extends TypeMatcher

A matcher that matches a type.

Author:
Philippe Poulard

Field Summary
 
Fields inherited from class org.inria.ns.reflex.processor.asl.ItemMatcher
FOUND, NOT_FOUND
 
Constructor Summary
StaticTypeMatcher(Type type)
          Create a StaticTypeMatcher based on the given Type.
 
Method Summary
 Type getType()
          Return the type to use for the matching.
 
Methods inherited from class org.inria.ns.reflex.processor.asl.types.TypeMatcher
getAction, matches, matches, reportError, setAction
 
Methods inherited from class org.inria.ns.reflex.processor.asl.ItemMatcher
canUse, getExceptions, getInterimStep, getMaxInit, getMaxRest, getMinInit, getMinRest, mustUse, reset, runInterim, setBoundaries, setInterimStep, use
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticTypeMatcher

public StaticTypeMatcher(Type type)
Create a StaticTypeMatcher based on the given Type.

Parameters:
type - The type to use for matching.
Method Detail

getType

public Type getType()
Return the type to use for the matching.

Specified by:
getType in class TypeMatcher
Returns:
The type.