Class NetType

  • All Implemented Interfaces:
    IJCOBridgeReflected

    public class NetType
    extends NetObject
    The base .NET class managing System.Type, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. Extends NetObject
    • Constructor Detail

      • NetType

        public NetType​(java.lang.Object instance)
                throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • AssertCast

        public static void AssertCast​(JCType to,
                                      IJCOBridgeReflected from)
                               throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CanCast

        public static boolean CanCast​(JCType to,
                                      IJCOBridgeReflected from)
                               throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CanCast

        public static boolean CanCast​(JCType to,
                                      JCType from)
                               throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • IsAssignableFrom

        public static boolean IsAssignableFrom​(JCType to,
                                               JCType from)
                                        throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • IsSubclassOf

        public static boolean IsSubclassOf​(JCType first,
                                           JCType second)
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • GetType

        public static <T extends IJCOBridgeReflected> java.lang.String GetType​(java.lang.Class<T> tClass)
                                                                        throws java.lang.IllegalArgumentException,
                                                                               java.lang.IllegalAccessException,
                                                                               java.lang.NoSuchFieldException,
                                                                               java.lang.SecurityException
        Throws:
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException
        java.lang.NoSuchFieldException
        java.lang.SecurityException