Package org.wildfly.iiop.openjdk.rmi
Class RmiIdlUtil
- java.lang.Object
-
- org.wildfly.iiop.openjdk.rmi.RmiIdlUtil
-
public class RmiIdlUtil extends Object
This class contains a bunch of methods taken from org.jboss.verifier.strategy.AbstractVerifier. There they are declared as instance methods. I copied them to this class and made them static here in order to call them as utility methods, without having to create a verifier instance,- Version:
- $Revision: 81018 $
- Author:
- Juha Lindfors, Aaron Mulder (ammulder@alumni.princeton.edu), Vinay Menon (menonv@cpw.co.uk), Francisco Reverbel
-
-
Constructor Summary
Constructors Constructor Description RmiIdlUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasLegalRMIIIOPArguments(Method method)static booleanhasLegalRMIIIOPExceptionTypes(Method method)static booleanhasLegalRMIIIOPReturnType(Method method)static booleanisAbstract(Class c)static booleanisAbstractInterface(Class type)static booleanisAbstractValueType(Class type)static booleanisAllFieldsPublic(Class c)Checks whether all the fields in the class are declared as public.static booleanisFinal(Class c)static booleanisFinal(Member member)static booleanisPublic(Class c)static booleanisPublic(Member member)static booleanisRMIIDLExceptionType(Class type)static booleanisRMIIDLRemoteInterface(Class type)static booleanisRMIIDLValueType(Class type)static booleanisRMIIIOPType(Class type)static booleanisStatic(Class c)static booleanisStatic(Member member)static voidrethrowIfCorbaSystemException(Throwable e)static booleanthrowsRemoteException(Method method)
-
-
-
Method Detail
-
hasLegalRMIIIOPArguments
public static boolean hasLegalRMIIIOPArguments(Method method)
-
hasLegalRMIIIOPReturnType
public static boolean hasLegalRMIIIOPReturnType(Method method)
-
hasLegalRMIIIOPExceptionTypes
public static boolean hasLegalRMIIIOPExceptionTypes(Method method)
-
throwsRemoteException
public static boolean throwsRemoteException(Method method)
-
isStatic
public static boolean isStatic(Member member)
-
isStatic
public static boolean isStatic(Class c)
-
isFinal
public static boolean isFinal(Member member)
-
isFinal
public static boolean isFinal(Class c)
-
isPublic
public static boolean isPublic(Member member)
-
isPublic
public static boolean isPublic(Class c)
-
isAllFieldsPublic
public static boolean isAllFieldsPublic(Class c)
Checks whether all the fields in the class are declared as public.
-
isAbstract
public static boolean isAbstract(Class c)
-
isRMIIIOPType
public static boolean isRMIIIOPType(Class type)
-
isRMIIDLRemoteInterface
public static boolean isRMIIDLRemoteInterface(Class type)
-
isAbstractInterface
public static boolean isAbstractInterface(Class type)
-
isRMIIDLExceptionType
public static boolean isRMIIDLExceptionType(Class type)
-
isRMIIDLValueType
public static boolean isRMIIDLValueType(Class type)
-
isAbstractValueType
public static boolean isAbstractValueType(Class type)
-
rethrowIfCorbaSystemException
public static void rethrowIfCorbaSystemException(Throwable e)
-
-