Class ObjectType
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.compilerservices.ObjectType
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ObjectType extends NetObject
The base .NET class managing Microsoft.VisualBasic.CompilerServices.ObjectType, Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.CompilerServices.ObjectType
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: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.VisualBasicstatic java.lang.StringclassNameQualified class name: Microsoft.VisualBasic.CompilerServices.ObjectTypestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ObjectType()ObjectType(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetObjectAddObj(NetObject o1, NetObject o2)static NetObjectBitAndObj(NetObject obj1, NetObject obj2)static NetObjectBitOrObj(NetObject obj1, NetObject obj2)static NetObjectBitXorObj(NetObject obj1, NetObject obj2)static ObjectTypecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoObjectType, a cast assert is made to check if types are compatible.static NetObjectDivObj(NetObject o1, NetObject o2)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 NetObjectGetObjectValuePrimitive(NetObject o)static NetObjectIDivObj(NetObject o1, NetObject o2)static booleanLikeObj(NetObject vLeft, NetObject vRight, CompareMethod CompareOption)static NetObjectModObj(NetObject o1, NetObject o2)static NetObjectMulObj(NetObject o1, NetObject o2)static NetObjectNegObj(NetObject obj)static NetObjectNotObj(NetObject obj)static intObjTst(NetObject o1, NetObject o2, boolean TextCompare)static NetObjectPlusObj(NetObject obj)static NetObjectPowObj(NetObject obj1, NetObject obj2)voidsetJCOInstance(JCObject instance)static NetObjectShiftLeftObj(NetObject o1, int amount)static NetObjectShiftRightObj(NetObject o1, int amount)static NetObjectStrCatObj(NetObject vLeft, NetObject vRight)static NetObjectSubObj(NetObject o1, NetObject o2)static NetObjectXorObj(NetObject obj1, NetObject obj2)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.CompilerServices.ObjectType- 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 ObjectType cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoObjectType, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ObjectTypeinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
LikeObj
public static boolean LikeObj(NetObject vLeft, NetObject vRight, CompareMethod CompareOption) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOverflowExceptionFormatExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
ObjTst
public static int ObjTst(NetObject o1, NetObject o2, boolean TextCompare) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, OutOfMemoryException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidCastException, TypeInitializationException, NullReferenceException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionOutOfMemoryExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidCastExceptionTypeInitializationExceptionNullReferenceExceptionOverflowException
-
AddObj
public static NetObject AddObj(NetObject o1, NetObject o2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, OutOfMemoryException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidCastException, NullReferenceException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionOutOfMemoryExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidCastExceptionNullReferenceExceptionOverflowException
-
BitAndObj
public static NetObject BitAndObj(NetObject obj1, NetObject obj2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
BitOrObj
public static NetObject BitOrObj(NetObject obj1, NetObject obj2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
BitXorObj
public static NetObject BitXorObj(NetObject obj1, NetObject obj2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
DivObj
public static NetObject DivObj(NetObject o1, NetObject o2) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OverflowException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
GetObjectValuePrimitive
public static NetObject GetObjectValuePrimitive(NetObject o) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IDivObj
public static NetObject IDivObj(NetObject o1, NetObject o2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, InvalidOperationException, OverflowException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionInvalidOperationExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
ModObj
public static NetObject ModObj(NetObject o1, NetObject o2) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OverflowException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
MulObj
public static NetObject MulObj(NetObject o1, NetObject o2) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OverflowException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
NegObj
public static NetObject NegObj(NetObject obj) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OverflowException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
NotObj
public static NetObject NotObj(NetObject obj) throws java.lang.Throwable, ArgumentNullException, ArgumentException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
PlusObj
public static NetObject PlusObj(NetObject obj) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OverflowException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
PowObj
public static NetObject PowObj(NetObject obj1, NetObject obj2) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OverflowException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
ShiftLeftObj
public static NetObject ShiftLeftObj(NetObject o1, int amount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, InvalidOperationException, OverflowException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionInvalidOperationExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
ShiftRightObj
public static NetObject ShiftRightObj(NetObject o1, int amount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, InvalidOperationException, OverflowException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionInvalidOperationExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
StrCatObj
public static NetObject StrCatObj(NetObject vLeft, NetObject vRight) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, FormatException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOverflowExceptionFormatExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
SubObj
public static NetObject SubObj(NetObject o1, NetObject o2) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OverflowException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidCastException
-
XorObj
public static NetObject XorObj(NetObject obj1, NetObject obj2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, NotImplementedException, MissingManifestResourceException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidCastException
-
-