public class ParameterTypeInfo extends TypeInfo
Modifier and Type | Field and Description |
---|---|
protected int |
m_index |
protected java.lang.String |
m_methodName |
Constructor and Description |
---|
ParameterTypeInfo(java.lang.String name,
java.lang.String methodName,
int index,
int flags) |
ParameterTypeInfo(java.lang.String name,
java.lang.String methodName,
int index,
int flags,
Type unoType)
Create a parameter type info with a UNO type that cannot unambiguously be
represented as a Java 1.2 type.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
java.lang.String |
getMethodName() |
Type |
getUnoType()
Get the exact UNO type of this parameter type info, in case it cannot
unambiguously be represented as a Java 1.2 type.
|
boolean |
isIN() |
boolean |
isINOUT() |
boolean |
isOUT() |
getFlags, getName, isAny, isInterface, isUnsigned
public ParameterTypeInfo(java.lang.String name, java.lang.String methodName, int index, int flags, Type unoType)
name
- the name of this parameter; must not be null
methodName
- the name of the method; must not be null
index
- the index among the parametersflags
- any flags (IN
, OUT
,
UNSIGNED
, ANY
, INTERFACE
)unoType
- the exact UNO type; or null
if the UNO type
is already unambiguously represented by the Java 1.2 typepublic ParameterTypeInfo(java.lang.String name, java.lang.String methodName, int index, int flags)
public java.lang.String getMethodName()
public int getIndex()
public boolean isIN()
public boolean isOUT()
public boolean isINOUT()
public final Type getUnoType()
If this is an out or in–out parameter, the UNO type must be a sequence type, taking into account that such a parameter is represented in Java as a parameter of array type.
null
if the UNO type is already unambiguously represented by
the Java 1.2 type