public boolean matches ( Object clazz ) { return clazz instanceof FactTemplate ? this . typeTemplate . equals ( clazz ) : this . typeClass . isAssignableFrom ( ( Class < ? > ) clazz ) ; }
Returns true if the given parameter matches this type declaration