Class FSTypeConstraintImpl

    • Field Detail

      • nameSet

        private java.util.Set<java.lang.String> nameSet
    • Constructor Detail

      • FSTypeConstraintImpl

        FSTypeConstraintImpl()
    • Method Detail

      • compile

        private final void compile​(TypeSystem ts1)
      • add

        public void add​(Type type)
        Description copied from interface: FSTypeConstraint
        Add a new type to this type constraint. This method can be called more than once. Multiple types will be interpreted disjunctively.
        Specified by:
        add in interface FSTypeConstraint
        Parameters:
        type - A type that should be permitted by this constraint.
      • add

        public void add​(java.lang.String type)
        Description copied from interface: FSTypeConstraint
        Add a new type to this type constraint. This method can be called more than once. Multiple types will be interpreted disjunctively.
        Specified by:
        add in interface FSTypeConstraint
        Parameters:
        type - A fully qualified type name that should be permitted by this constraint.
      • toString

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