summaryrefslogtreecommitdiffstats
path: root/ridljar/com/sun/star/lib/uno/typedesc/MemberDescriptionHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'ridljar/com/sun/star/lib/uno/typedesc/MemberDescriptionHelper.java')
-rw-r--r--ridljar/com/sun/star/lib/uno/typedesc/MemberDescriptionHelper.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/ridljar/com/sun/star/lib/uno/typedesc/MemberDescriptionHelper.java b/ridljar/com/sun/star/lib/uno/typedesc/MemberDescriptionHelper.java
index a09ca2cd3ca5..27a5361f32e4 100644
--- a/ridljar/com/sun/star/lib/uno/typedesc/MemberDescriptionHelper.java
+++ b/ridljar/com/sun/star/lib/uno/typedesc/MemberDescriptionHelper.java
@@ -18,11 +18,10 @@
package com.sun.star.lib.uno.typedesc;
-import com.sun.star.uno.ITypeDescription;
import com.sun.star.uno.TypeClass;
final class MemberDescriptionHelper {
- public static boolean isUnsigned(ITypeDescription desc) {
+ public static boolean isUnsigned(TypeDescription desc) {
switch (getElementTypeClass(desc).getValue()) {
case TypeClass.UNSIGNED_SHORT_value:
case TypeClass.UNSIGNED_LONG_value:
@@ -34,15 +33,15 @@ final class MemberDescriptionHelper {
}
}
- public static boolean isAny(ITypeDescription desc) {
+ public static boolean isAny(TypeDescription desc) {
return getElementTypeClass(desc) == TypeClass.ANY;
}
- public static boolean isInterface(ITypeDescription desc) {
+ public static boolean isInterface(TypeDescription desc) {
return getElementTypeClass(desc) == TypeClass.INTERFACE;
}
- private static TypeClass getElementTypeClass(ITypeDescription desc) {
+ private static TypeClass getElementTypeClass(TypeDescription desc) {
for (;; desc = desc.getComponentType()) {
TypeClass tc = desc.getTypeClass();
if (tc != TypeClass.SEQUENCE) {