Class TypeCheckExcludeBuildItem.TypeCheck

  • Enclosing class:
    TypeCheckExcludeBuildItem

    public static class TypeCheckExcludeBuildItem.TypeCheck
    extends Object
    Represents a type check of a part of an expression.

    For example, the expression item.name has two parts, item and name, and for each part a new instance is created and tested for exclusion.

    • Field Detail

      • name

        public final String name
        The name of a property/method, e.g. foo and ping for expression foo.ping(bar).
      • clazz

        public final org.jboss.jandex.ClassInfo clazz
        The matching class.
      • numberOfParameters

        public final int numberOfParameters
        The number of parameters for methods.
      • type

        public final org.jboss.jandex.Type type
        The matching type.
    • Constructor Detail

      • TypeCheck

        public TypeCheck​(String name,
                         org.jboss.jandex.ClassInfo clazz,
                         org.jboss.jandex.Type type,
                         int parameters)
    • Method Detail

      • nameIn

        public boolean nameIn​(String... values)
      • isProperty

        public boolean isProperty()
      • classNameEquals

        public boolean classNameEquals​(org.jboss.jandex.DotName name)