Class PrimitiveType

java.lang.Object
org.jboss.jandex.Type
org.jboss.jandex.PrimitiveType

public final class PrimitiveType extends Type
Represents a primitive Java type. While a set of constants is provided for easy of use, instance equality should not be used to compare to them. Instead equals(Object) should be used.

A primitive is considered equal to another primitive if it specifies the same primitive enumeration value, and contains an equal set of annotation instances.

Since:
2.0