Table of Contents

Class AnnotatedElement

Namespace
Java.Lang.Reflect
Assembly
MASES.JNet.dll
public class AnnotatedElement : JVMBridgeBase<AnnotatedElement>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAnnotatedElement
Inheritance
JVMBridgeBase
JVMBridgeBase<AnnotatedElement>
AnnotatedElement
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<AnnotatedElement>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AnnotatedElement>.IsAssignableFrom<T>()
JVMBridgeBase<AnnotatedElement>.Execute<T>(params T[])
JVMBridgeBase<AnnotatedElement>.DynBridgeClazz
JVMBridgeBase<AnnotatedElement>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

AnnotatedElement()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("AnnotatedElement 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 AnnotatedElement()

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

Parameters

args object[]

Properties

Annotations

public Annotation[] Annotations { get; }

Property Value

Annotation[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DeclaredAnnotations

public Annotation[] DeclaredAnnotations { get; }

Property Value

Annotation[]

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

GetAnnotation<T>(Class)

public T GetAnnotation<T>(Class arg0) where T : IAnnotation, new()

Parameters

arg0 Class

Class

Returns

T

T

Type Parameters

T

IAnnotation

GetAnnotation<T>(Class<T>)

Returns this element's annotation for the specified type if such an annotation is present, else null.

public T GetAnnotation<T>(Class<T> annotationClass) where T : Annotation

Parameters

annotationClass Class<T>

Returns

T

Type Parameters

T

GetAnnotationsByType<T>(Class)

public T[] GetAnnotationsByType<T>(Class arg0) where T : IAnnotation, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IAnnotation

GetAnnotationsByType<T>(Class<T>)

Returns annotations that are associated with this element.

public T[] GetAnnotationsByType<T>(Class<T> annotationClass) where T : Annotation

Parameters

annotationClass Class<T>

Returns

T[]

Type Parameters

T

GetDeclaredAnnotation<T>(Class)

public T GetDeclaredAnnotation<T>(Class arg0) where T : IAnnotation, new()

Parameters

arg0 Class

Class

Returns

T

T

Type Parameters

T

IAnnotation

GetDeclaredAnnotation<T>(Class<T>)

Returns this element's annotation for the specified type if such an annotation is directly present, else null.

public T GetDeclaredAnnotation<T>(Class<T> annotationClass) where T : Annotation

Parameters

annotationClass Class<T>

Returns

T

Type Parameters

T

GetDeclaredAnnotationsByType<T>(Class)

public T[] GetDeclaredAnnotationsByType<T>(Class arg0) where T : IAnnotation, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IAnnotation

GetDeclaredAnnotationsByType<T>(Class<T>)

Returns this element's annotation(s) for the specified type if such annotations are either directly present or indirectly present.

public T[] GetDeclaredAnnotationsByType<T>(Class<T> annotationClass) where T : Annotation

Parameters

annotationClass Class<T>

Returns

T[]

Type Parameters

T

IsAnnotationPresent(Class)

public bool IsAnnotationPresent(Class arg0)

Parameters

arg0 Class

Class

Returns

bool

bool

IsAnnotationPresent<T>(Class<T>)

Returns true if an annotation for the specified type is present on this element, else false.

public bool IsAnnotationPresent<T>(Class<T> annotationClass) where T : Annotation

Parameters

annotationClass Class<T>

Returns

bool

Type Parameters

T