Interface XMember

    • Method Detail

      • getDeclaringClass

        XClass getDeclaringClass()
        Retrieve the XClass reference for the class which declares this member.
        Returns:
        The XClass representing the declaring class of the underlying member
      • isCollection

        boolean isCollection()
      • isArray

        boolean isArray()
      • getCollectionClass

        Class<? extends Collection> getCollectionClass()
        The collection class for collections, null for others.
      • getType

        XClass getType()
        This property's XClass.
      • getElementClass

        XClass getElementClass()
        This property's type for simple properties, the type of its elements for arrays and collections.
      • getClassOrElementClass

        XClass getClassOrElementClass()
        The type of this property's elements for arrays, the type of the property itself for everything else.
      • getMapKey

        XClass getMapKey()
        The type of this map's key, or null for anything that is not a map.
      • getModifiers

        int getModifiers()
        Same modifiers as java.lang.Member#getModifiers()
      • setAccessible

        void setAccessible​(boolean accessible)
      • isTypeResolved

        boolean isTypeResolved()