public class NetType extends NetObject
NetObject| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName |
static java.lang.String |
assemblyShortName |
static java.lang.String |
className |
static JCType |
classType |
| Constructor and Description |
|---|
NetType(java.lang.Object instance) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AssertCast(IJCOBridgeReflected to,
IJCOBridgeReflected from) |
static void |
AssertCast(JCType to,
IJCOBridgeReflected from) |
static boolean |
CanCast(IJCOBridgeReflected to,
IJCOBridgeReflected from) |
static boolean |
CanCast(JCType to,
IJCOBridgeReflected from) |
static boolean |
CanCast(JCType to,
JCType from) |
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static <T extends IJCOBridgeReflected> |
GetType(java.lang.Class<T> tClass) |
static boolean |
IsAssignableFrom(IJCOBridgeReflected to,
IJCOBridgeReflected from) |
static boolean |
IsAssignableFrom(JCType to,
JCType from) |
static boolean |
IsSubclassOf(IJCOBridgeReflected first,
IJCOBridgeReflected second) |
static boolean |
IsSubclassOf(JCType first,
JCType second) |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static JCType classType
public NetType(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static void AssertCast(IJCOBridgeReflected to, IJCOBridgeReflected from) throws java.lang.Throwable
java.lang.Throwablepublic static void AssertCast(JCType to, IJCOBridgeReflected from) throws java.lang.Throwable
java.lang.Throwablepublic static boolean CanCast(IJCOBridgeReflected to, IJCOBridgeReflected from) throws java.lang.Throwable
java.lang.Throwablepublic static boolean CanCast(JCType to, IJCOBridgeReflected from) throws java.lang.Throwable
java.lang.Throwablepublic static boolean CanCast(JCType to, JCType from) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic 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
java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.NoSuchFieldExceptionjava.lang.SecurityExceptionpublic static boolean IsAssignableFrom(IJCOBridgeReflected to, IJCOBridgeReflected from) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsAssignableFrom(JCType to, JCType from) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsSubclassOf(IJCOBridgeReflected first, IJCOBridgeReflected second) throws java.lang.Throwable
java.lang.Throwable