public class ParameterTypeInfo extends TypeInfo
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_index |
protected String |
m_methodName |
| Constructor and Description |
|---|
ParameterTypeInfo(String name,
String methodName,
int index,
int flags) |
ParameterTypeInfo(String name,
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() |
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, isUnsignedprotected int m_index
protected String m_methodName
public ParameterTypeInfo(String name, String methodName, int index, int flags, Type unoType)
name - the name of this parameter; must not be nullmethodName - the name of the method; must not be nullindex - 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 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