Package com.sun.star.lib.uno.typeinfo
Class MethodTypeInfo
- java.lang.Object
-
- com.sun.star.lib.uno.typeinfo.TypeInfo
-
- com.sun.star.lib.uno.typeinfo.MethodTypeInfo
-
public class MethodTypeInfo extends TypeInfo
-
-
Constructor Summary
Constructors Constructor Description MethodTypeInfo(java.lang.String name, int index, int flags)
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
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.boolean
isConst()
boolean
isOneway()
boolean
isReturnUnsigned()
-
Methods inherited from class com.sun.star.lib.uno.typeinfo.TypeInfo
getFlags, getName, isAny, isInterface, isUnsigned
-
-
-
-
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 benull
index
- the index among the direct membersflags
- any flags (ONEWAY
,UNSIGNED
,ANY
,INTERFACE
)unoType
- the exact UNO return type; ornull
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
-
-