19 "Can only assign from a java_qualifierst using the same namespace");
27 auto other = util_make_unique<java_qualifierst>(
ns);
29 return std::move(other);
63 jq->annotations.begin(),
64 jq->annotations.end(),
85 auto &other_a = jq->annotations;
88 if(std::find(other_a.begin(), other_a.end(), annotation) == other_a.end())
96 std::stringstream out;
100 out << annotation.get_type().subtype().get(ID_identifier);
102 if(!annotation.get_values().empty())
114 out <<
'"' << value.get_name() <<
'"' <<
'=';
Java-specific type qualifiers.
The type of an expression.
virtual bool operator==(const qualifierst &other) const override
virtual void write(typet &src) const override
virtual std::unique_ptr< qualifierst > clone() const override
virtual std::string as_string() const override
virtual std::size_t count() const override
c_qualifierst & operator=(const c_qualifierst &other)
auto type_checked_cast(TType &base) -> typename detail::expr_dynamic_cast_return_typet< T, TType >::type
Cast a reference to a generic typet to a specific derived class and checks that the type could be con...
virtual void read(const typet &src) override
const std::vector< java_annotationt > & get_annotations() const
virtual bool operator==(const qualifierst &other) const override
#define INVARIANT(CONDITION, REASON)
virtual void clear() override
virtual void clear() override
virtual void read(const typet &src) override
virtual std::size_t count() const override
java_qualifierst & operator=(const java_qualifierst &other)
virtual std::string as_string() const override
virtual bool is_subset_of(const qualifierst &other) const override
virtual bool is_subset_of(const qualifierst &other) const override
virtual qualifierst & operator+=(const qualifierst &other) override
std::vector< java_annotationt > annotations
virtual qualifierst & operator+=(const qualifierst &other) override
virtual void write(typet &src) const override
std::string expr2java(const exprt &expr, const namespacet &ns)