Package system.linq.expressions
Class MethodCallExpression
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.linq.expressions.Expression
-
- system.linq.expressions.MethodCallExpression
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class MethodCallExpression extends Expression
The base .NET class managing System.Linq.Expressions.MethodCallExpression, System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Linq.Expressions.MethodCallExpression
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Linq.Expressionsstatic String
className
Qualified class name: System.Linq.Expressions.MethodCallExpressionstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description MethodCallExpression()
MethodCallExpression(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MethodCallExpression
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoMethodCallExpression
, a cast assert is made to check if types are compatible.Expression
GetArgument(int index)
int
getArgumentCount()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeMethodInfo
getMethod()
Expression
getObject()
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.linq.expressions.Expression
Add, Add, AddAssign, AddAssign, AddAssign, AddAssignChecked, AddAssignChecked, AddAssignChecked, AddChecked, AddChecked, And, And, AndAlso, AndAlso, AndAssign, AndAssign, AndAssign, ArrayAccess, ArrayIndex, ArrayIndex, ArrayLength, Assign, Bind, Bind, Block, Block, Block, Block, Block, Block, Break, Break, Break, Break, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Catch, Catch, Catch, Catch, ClearDebugInfo, Coalesce, Coalesce, Condition, Condition, Constant, Constant, Continue, Continue, Convert, Convert, ConvertChecked, ConvertChecked, DebugInfo, Decrement, Decrement, Default, Divide, Divide, DivideAssign, DivideAssign, DivideAssign, Dynamic, Dynamic, Dynamic, Dynamic, Dynamic, ElementInit, Empty, Equal, Equal, ExclusiveOr, ExclusiveOr, ExclusiveOrAssign, ExclusiveOrAssign, ExclusiveOrAssign, Field, Field, Field, GetActionType, getCanReduce, GetDelegateType, GetFuncType, getNodeType, getType, Goto, Goto, Goto, Goto, GreaterThan, GreaterThan, GreaterThanOrEqual, GreaterThanOrEqual, IfThen, IfThenElse, Increment, Increment, Invoke, IsFalse, IsFalse, IsTrue, IsTrue, Label, Label, Label, Label, Label, Label, Lambda, Lambda, Lambda, Lambda, LeftShift, LeftShift, LeftShiftAssign, LeftShiftAssign, LeftShiftAssign, LessThan, LessThan, LessThanOrEqual, LessThanOrEqual, ListBind, ListBind, ListInit, ListInit, ListInit, Loop, Loop, Loop, MakeBinary, MakeBinary, MakeBinary, MakeCatchBlock, MakeDynamic, MakeDynamic, MakeDynamic, MakeDynamic, MakeDynamic, MakeGoto, MakeMemberAccess, MakeUnary, MakeUnary, MemberBind, MemberBind, MemberInit, Modulo, Modulo, ModuloAssign, ModuloAssign, ModuloAssign, Multiply, Multiply, MultiplyAssign, MultiplyAssign, MultiplyAssign, MultiplyAssignChecked, MultiplyAssignChecked, MultiplyAssignChecked, MultiplyChecked, MultiplyChecked, Negate, Negate, NegateChecked, NegateChecked, New, New, New, NewArrayBounds, NewArrayInit, Not, Not, NotEqual, NotEqual, OnesComplement, OnesComplement, Or, Or, OrAssign, OrAssign, OrAssign, OrElse, OrElse, Parameter, Parameter, PostDecrementAssign, PostDecrementAssign, PostIncrementAssign, PostIncrementAssign, Power, Power, PowerAssign, PowerAssign, PowerAssign, PreDecrementAssign, PreDecrementAssign, PreIncrementAssign, PreIncrementAssign, Property, Property, Property, Property, Property, Property, PropertyOrField, Quote, Reduce, ReduceAndCheck, ReduceExtensions, ReferenceEqual, ReferenceNotEqual, Rethrow, Rethrow, Return, Return, Return, Return, RightShift, RightShift, RightShiftAssign, RightShiftAssign, RightShiftAssign, RuntimeVariables, Subtract, Subtract, SubtractAssign, SubtractAssign, SubtractAssign, SubtractAssignChecked, SubtractAssignChecked, SubtractAssignChecked, SubtractChecked, SubtractChecked, Switch, Switch, Switch, Switch, SwitchCase, SymbolDocument, SymbolDocument, SymbolDocument, SymbolDocument, Throw, Throw, TryCatch, TryCatchFinally, TryFault, TryFinally, TryGetActionType, TryGetFuncType, TypeAs, TypeEqual, TypeIs, UnaryPlus, UnaryPlus, Unbox, Variable, Variable
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Linq.Expressions- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Linq.Expressions.MethodCallExpression- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classExpression
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classExpression
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 classExpression
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classExpression
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classExpression
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classExpression
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static MethodCallExpression cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoMethodCallExpression
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
MethodCallExpression
instance- Throws:
Throwable
- in case of error during cast operation
-
GetArgument
public Expression GetArgument(int index) throws Throwable
- Throws:
Throwable
-
getObject
public Expression getObject() throws Throwable
- Throws:
Throwable
-
getMethod
public MethodInfo getMethod() throws Throwable
- Throws:
Throwable
-
-