public class TypeName extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Metadata.TypeName
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Reflection.Metadata, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Reflection.Metadata
|
static java.lang.String |
className
Qualified class name: System.Reflection.Metadata.TypeName
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TypeName() |
TypeName(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeName |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TypeName, a cast assert is made to check if types are compatible. |
int |
GetArrayRank() |
AssemblyNameInfo |
getAssemblyName() |
java.lang.String |
getAssemblyQualifiedName() |
TypeName |
getDeclaringType() |
TypeName |
GetElementType() |
java.lang.String |
getFullName() |
TypeName |
GetGenericTypeDefinition() |
boolean |
getIsArray() |
boolean |
getIsByRef() |
boolean |
getIsConstructedGenericType() |
boolean |
getIsNested() |
boolean |
getIsPointer() |
boolean |
getIsSimple() |
boolean |
getIsSZArray() |
boolean |
getIsVariableBoundArrayType() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
int |
GetNodeCount() |
TypeName |
MakeArrayTypeName(int rank) |
TypeName |
MakeByRefTypeName() |
TypeName |
MakePointerTypeName() |
TypeName |
MakeSZArrayTypeName() |
void |
setJCOInstance(JCObject instance) |
static java.lang.String |
Unescape(java.lang.String name) |
TypeName |
WithAssemblyName(AssemblyNameInfo assemblyName) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TypeName()
throws java.lang.Throwable
java.lang.Throwablepublic TypeName(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static TypeName cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TypeName, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeName instancejava.lang.Throwable - in case of error during cast operationpublic int GetArrayRank()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
public AssemblyNameInfo getAssemblyName() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getAssemblyQualifiedName()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException
public TypeName getDeclaringType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public TypeName GetElementType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public java.lang.String getFullName()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public TypeName GetGenericTypeDefinition() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public boolean getIsArray()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsByRef()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsConstructedGenericType()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsNested()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPointer()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSimple()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSZArray()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsVariableBoundArrayType()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public java.lang.String getNamespace()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException
public int GetNodeCount()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
public TypeName MakeArrayTypeName(int rank) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public TypeName MakeByRefTypeName() throws java.lang.Throwable
java.lang.Throwablepublic TypeName MakePointerTypeName() throws java.lang.Throwable
java.lang.Throwablepublic TypeName MakeSZArrayTypeName() throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static java.lang.String Unescape(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public TypeName WithAssemblyName(AssemblyNameInfo assemblyName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException