Table of Contents

Class Element

Namespace
Javax.Lang.Model.Element
Assembly
MASES.JNet.dll
public class Element : AnnotatedConstruct, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IElement, IAnnotatedConstruct
Inheritance
JVMBridgeCore
JVMBridgeCore<AnnotatedConstruct>
Element
Implements
Derived
Inherited Members
JVMBridgeCore<AnnotatedConstruct>.IsAssignableFrom(IJavaType)
JVMBridgeCore<AnnotatedConstruct>.IsAssignableFrom<T>()
JVMBridgeCore<AnnotatedConstruct>.Execute<T>(params T[])
JVMBridgeCore<AnnotatedConstruct>.DynBridgeClazz
JVMBridgeCore<AnnotatedConstruct>.BridgeClazz
JVMBridgeCore.ReferenceEqualsJVM(IJVMBridgeBase, IJVMBridgeBase)
JVMBridgeCore.RuntimeClassNameOf<T>()
JVMBridgeCore.ClassNameOf<T>()
JVMBridgeCore.ClassOf<T>()
JVMBridgeCore.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeCore.Wraps<TNewClass>(IJavaObject)
JVMBridgeCore.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeCore.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeCore.MonitorEnter()
JVMBridgeCore.MonitorExit()
JVMBridgeCore.IsInstanceOf(IJavaType)
JVMBridgeCore.IsInstanceOf<T>()
JVMBridgeCore.RuntimeIsInstanceOf<T>()
JVMBridgeCore.CastTo<TNewClass>()
JVMBridgeCore.CastDirect<TNewClass>()
JVMBridgeCore.ToString()
JVMBridgeCore.Equals(IJVMBridgeBase)
JVMBridgeCore.GetHashCode()
JVMBridgeCore.Notify()
JVMBridgeCore.NotifyAll()
JVMBridgeCore.Wait()
JVMBridgeCore.DynBridgeInstance
JVMBridgeCore.BridgeInstance
JVMBridgeCore.IsBridgeListener
Extension Methods

Constructors

Element(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Element(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Element(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("Element 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 Element(params object[] args)

Parameters

args object[]

Properties

AnnotationMirrors

public List AnnotationMirrors { get; }

Property Value

List

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

EnclosedElements

public List EnclosedElements { get; }

Property Value

List

EnclosingElement

public Element EnclosingElement { get; }

Property Value

Element

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

Kind

public ElementKind Kind { get; }

Property Value

ElementKind

Modifiers

public Set<Modifier> Modifiers { get; }

Property Value

Set<Modifier>

SimpleName

public Name SimpleName { get; }

Property Value

Name

Methods

Accept<R, P>(ElementVisitor<R, P>, P)

public R Accept<R, P>(ElementVisitor<R, P> arg0, P arg1)

Parameters

arg0 ElementVisitor<R, P>

ElementVisitor

arg1 P

P

Returns

R

R

Type Parameters

R
P

AsType()

public TypeMirror AsType()

Returns

TypeMirror

TypeMirror

GetAnnotation<A>(Class)

public A GetAnnotation<A>(Class arg0) where A : IAnnotation

Parameters

arg0 Class

Class

Returns

A

A

Type Parameters

A

IAnnotation