Class CodedIndex
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.reflection.metadata.ecma335.CodedIndex
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class CodedIndex extends NetObject
The base .NET class managing System.Reflection.Metadata.Ecma335.CodedIndex, 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.CodedIndex
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.StringassemblyFullNameFully assembly qualified name: System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Reflection.Metadatastatic java.lang.StringclassNameQualified class name: System.Reflection.Metadata.Ecma335.CodedIndexstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description CodedIndex()CodedIndex(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodedIndexcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCodedIndex, a cast assert is made to check if types are compatible.static intCustomAttributeType(EntityHandle handle)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic intHasConstant(EntityHandle handle)static intHasCustomAttribute(EntityHandle handle)static intHasCustomDebugInformation(EntityHandle handle)static intHasDeclSecurity(EntityHandle handle)static intHasFieldMarshal(EntityHandle handle)static intHasSemantics(EntityHandle handle)static intImplementation(EntityHandle handle)static intMemberForwarded(EntityHandle handle)static intMemberRefParent(EntityHandle handle)static intMethodDefOrRef(EntityHandle handle)static intResolutionScope(EntityHandle handle)voidsetJCOInstance(JCObject instance)static intTypeDefOrRef(EntityHandle handle)static intTypeDefOrRefOrSpec(EntityHandle handle)static intTypeOrMethodDef(EntityHandle handle)
-
-
-
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.CodedIndex- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static CodedIndex cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCodedIndex, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CodedIndexinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CustomAttributeType
public static int CustomAttributeType(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
HasConstant
public static int HasConstant(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
HasCustomAttribute
public static int HasCustomAttribute(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
HasCustomDebugInformation
public static int HasCustomDebugInformation(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
HasDeclSecurity
public static int HasDeclSecurity(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
HasFieldMarshal
public static int HasFieldMarshal(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
HasSemantics
public static int HasSemantics(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
Implementation
public static int Implementation(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
MemberForwarded
public static int MemberForwarded(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
MemberRefParent
public static int MemberRefParent(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
MethodDefOrRef
public static int MethodDefOrRef(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
ResolutionScope
public static int ResolutionScope(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
TypeDefOrRef
public static int TypeDefOrRef(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
TypeDefOrRefOrSpec
public static int TypeDefOrRefOrSpec(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
TypeOrMethodDef
public static int TypeOrMethodDef(EntityHandle handle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
-