Class ElementVisitor<R, P>
public class ElementVisitor<R, P> : JVMBridgeBase<ElementVisitor<R, P>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IElementVisitor<R, P>
Type Parameters
R
P
- Inheritance
-
JVMBridgeBase<ElementVisitor<R, P>>ElementVisitor<R, P>
- Implements
-
IElementVisitor<R, P>
- Derived
- Inherited Members
-
JVMBridgeBase<ElementVisitor<R, P>>.SExecute<TNewClass, TReturn>(IJavaType, string, params object[])
- Extension Methods
Constructors
ElementVisitor()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("ElementVisitor class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ElementVisitor()
ElementVisitor(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("ElementVisitor class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ElementVisitor(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Visit(Element)
public R Visit(Element arg0)
Parameters
Returns
- R
R
Visit(Element, P)
public R Visit(Element arg0, P arg1)
Parameters
Returns
- R
R
VisitExecutable(ExecutableElement, P)
public R VisitExecutable(ExecutableElement arg0, P arg1)
Parameters
arg0
ExecutableElementarg1
PP
Returns
- R
R
VisitModule(ModuleElement, P)
public R VisitModule(ModuleElement arg0, P arg1)
Parameters
arg0
ModuleElementarg1
PP
Returns
- R
R
VisitPackage(PackageElement, P)
public R VisitPackage(PackageElement arg0, P arg1)
Parameters
arg0
PackageElementarg1
PP
Returns
- R
R
VisitType(TypeElement, P)
public R VisitType(TypeElement arg0, P arg1)
Parameters
arg0
TypeElementarg1
PP
Returns
- R
R
VisitTypeParameter(TypeParameterElement, P)
public R VisitTypeParameter(TypeParameterElement arg0, P arg1)
Parameters
arg0
TypeParameterElementarg1
PP
Returns
- R
R
VisitUnknown(Element, P)
public R VisitUnknown(Element arg0, P arg1)
Parameters
Returns
- R
R
VisitVariable(VariableElement, P)
public R VisitVariable(VariableElement arg0, P arg1)
Parameters
arg0
VariableElementarg1
PP
Returns
- R
R
Operators
implicit operator ElementVisitor(ElementVisitor<R, P>)
Converter from ElementVisitor<R, P> to ElementVisitor
public static implicit operator ElementVisitor(ElementVisitor<R, P> t)
Parameters
t
ElementVisitor<R, P>