Table of Contents

Class ElementVisitor<R, P>

Namespace
Javax.Lang.Model.Element
Assembly
MASES.JNet.dll
public class ElementVisitor<R, P> : JVMBridgeBase<ElementVisitor<R, P>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IElementVisitor<R, P>

Type Parameters

R
P
Inheritance
ElementVisitor<R, P>
Implements
Derived
Inherited Members
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

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Visit(Element)

public R Visit(Element arg0)

Parameters

arg0 Element

Element

Returns

R

R

Visit(Element, P)

public R Visit(Element arg0, P arg1)

Parameters

arg0 Element

Element

arg1 P

P

Returns

R

R

VisitExecutable(ExecutableElement, P)

public R VisitExecutable(ExecutableElement arg0, P arg1)

Parameters

arg0 ExecutableElement

ExecutableElement

arg1 P

P

Returns

R

R

VisitModule(ModuleElement, P)

public R VisitModule(ModuleElement arg0, P arg1)

Parameters

arg0 ModuleElement

ModuleElement

arg1 P

P

Returns

R

R

VisitPackage(PackageElement, P)

public R VisitPackage(PackageElement arg0, P arg1)

Parameters

arg0 PackageElement

PackageElement

arg1 P

P

Returns

R

R

VisitType(TypeElement, P)

public R VisitType(TypeElement arg0, P arg1)

Parameters

arg0 TypeElement

TypeElement

arg1 P

P

Returns

R

R

VisitTypeParameter(TypeParameterElement, P)

public R VisitTypeParameter(TypeParameterElement arg0, P arg1)

Parameters

arg0 TypeParameterElement

TypeParameterElement

arg1 P

P

Returns

R

R

VisitUnknown(Element, P)

public R VisitUnknown(Element arg0, P arg1)

Parameters

arg0 Element

Element

arg1 P

P

Returns

R

R

VisitVariable(VariableElement, P)

public R VisitVariable(VariableElement arg0, P arg1)

Parameters

arg0 VariableElement

VariableElement

arg1 P

P

Returns

R

R

Operators

implicit operator ElementVisitor(ElementVisitor<R, P>)

public static implicit operator ElementVisitor(ElementVisitor<R, P> t)

Parameters

t ElementVisitor<R, P>

Returns

ElementVisitor