public class MethodTypeInfo extends TypeInfo
Modifier and Type | Field and Description |
---|---|
protected int |
m_index |
Constructor and 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.
|
Modifier and Type | Method and 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() |
getFlags, getName, isAny, isInterface, isUnsigned
public MethodTypeInfo(java.lang.String name, int index, int flags, Type unoType)
name
- the name of this method; must not be null
index
- the index among the direct membersflags
- 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 typepublic MethodTypeInfo(java.lang.String name, int index, int flags)
public int getIndex()
public boolean isReturnUnsigned()
public boolean isOneway()
public boolean isConst()
public final Type getUnoType()
null
if the UNO type is already unambiguously represented by
the Java 1.2 type