Class SignatureTypeEncoder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.reflection.metadata.ecma335.SignatureTypeEncoder
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SignatureTypeEncoder extends ValueType
The base .NET class managing System.Reflection.Metadata.Ecma335.SignatureTypeEncoder, System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Metadata.Ecma335.SignatureTypeEncoder
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Reflection.Metadatastatic java.lang.String
className
Qualified class name: System.Reflection.Metadata.Ecma335.SignatureTypeEncoderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SignatureTypeEncoder()
SignatureTypeEncoder(java.lang.Object instance)
Internal constructor.SignatureTypeEncoder(BlobBuilder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Array(JCORefOut<SignatureTypeEncoder> elementType, JCORefOut<ArrayShapeEncoder> arrayShape)
void
Boolean()
void
Byte()
static SignatureTypeEncoder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSignatureTypeEncoder
, a cast assert is made to check if types are compatible.void
Char()
CustomModifiersEncoder
CustomModifiers()
void
Double()
MethodSignatureEncoder
FunctionPointer(SignatureCallingConvention convention, FunctionPointerAttributes attributes, int genericParameterCount)
GenericTypeArgumentsEncoder
GenericInstantiation(EntityHandle genericType, int genericArgumentCount, boolean isValueType)
void
GenericMethodTypeParameter(int parameterIndex)
void
GenericTypeParameter(int parameterIndex)
BlobBuilder
getBuilder()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
Int16()
void
Int32()
void
Int64()
void
IntPtr()
void
Object()
SignatureTypeEncoder
Pointer()
void
PrimitiveType(PrimitiveTypeCode type)
void
SByte()
void
setJCOInstance(JCObject instance)
void
Single()
void
String()
SignatureTypeEncoder
SZArray()
void
Type(EntityHandle type, boolean isValueType)
void
TypedReference()
void
UInt16()
void
UInt32()
void
UInt64()
void
UIntPtr()
void
VoidPointer()
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Reflection.Metadata- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Reflection.Metadata.Ecma335.SignatureTypeEncoder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SignatureTypeEncoder
public SignatureTypeEncoder(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SignatureTypeEncoder
public SignatureTypeEncoder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SignatureTypeEncoder
public SignatureTypeEncoder(BlobBuilder builder) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SignatureTypeEncoder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSignatureTypeEncoder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SignatureTypeEncoder
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CustomModifiers
public CustomModifiersEncoder CustomModifiers() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GenericInstantiation
public GenericTypeArgumentsEncoder GenericInstantiation(EntityHandle genericType, int genericArgumentCount, boolean isValueType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
FunctionPointer
public MethodSignatureEncoder FunctionPointer(SignatureCallingConvention convention, FunctionPointerAttributes attributes, int genericParameterCount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Pointer
public SignatureTypeEncoder Pointer() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
SZArray
public SignatureTypeEncoder SZArray() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
Array
public void Array(JCORefOut<SignatureTypeEncoder> elementType, JCORefOut<ArrayShapeEncoder> arrayShape) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
Boolean
public void Boolean() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Byte
public void Byte() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Char
public void Char() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Double
public void Double() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
GenericMethodTypeParameter
public void GenericMethodTypeParameter(int parameterIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
GenericTypeParameter
public void GenericTypeParameter(int parameterIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
Int16
public void Int16() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Int32
public void Int32() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Int64
public void Int64() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
IntPtr
public void IntPtr() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Object
public void Object() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
PrimitiveType
public void PrimitiveType(PrimitiveTypeCode type) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
SByte
public void SByte() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Single
public void Single() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
String
public void String() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Type
public void Type(EntityHandle type, boolean isValueType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
-
TypedReference
public void TypedReference() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
UInt16
public void UInt16() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
UInt32
public void UInt32() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
UInt64
public void UInt64() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
UIntPtr
public void UIntPtr() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
VoidPointer
public void VoidPointer() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
getBuilder
public BlobBuilder getBuilder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-