Class MethodTypeInfo


  • public class MethodTypeInfo
    extends TypeInfo
    • Field Detail

      • m_index

        protected int m_index
    • Constructor Detail

      • MethodTypeInfo

        public MethodTypeInfo​(java.lang.String name,
                              int index,
                              int flags,
                              Type unoType)
        Create a method type info with a UNO return type that cannot unambiguously be represented as a Java 1.2 type.
        Parameters:
        name - the name of this method; must not be null
        index - the index among the direct members
        flags - any flags (ONEWAY, UNSIGNED, ANY, INTERFACE)
        unoType - the exact UNO return type; or null if the UNO type is already unambiguously represented by the Java 1.2 type
        Since:
        UDK 3.2
      • MethodTypeInfo

        public MethodTypeInfo​(java.lang.String name,
                              int index,
                              int flags)
    • Method Detail

      • getIndex

        public int getIndex()
      • isReturnUnsigned

        public boolean isReturnUnsigned()
      • isOneway

        public boolean isOneway()
      • isConst

        public boolean isConst()
      • getUnoType

        public final Type getUnoType()
        Get the exact UNO return type of this method type info, in case it cannot unambiguously be represented as a Java 1.2 type.
        Returns:
        the exact UNO return type of this method type info, or null if the UNO type is already unambiguously represented by the Java 1.2 type
        Since:
        UDK 3.2