Class AccessibleObject
.NET implementations of https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html
public class AccessibleObject : AnnotatedElement, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAnnotatedElement
- Inheritance
-
AccessibleObject
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase<AnnotatedElement>.IsAssignableFrom(IJavaType)JVMBridgeBase<AnnotatedElement>.IsAssignableFrom<T>()JVMBridgeBase<AnnotatedElement>.Execute<T>(params T[])JVMBridgeBase<AnnotatedElement>.DynBridgeClazzJVMBridgeBase<AnnotatedElement>.BridgeClazzJVMBridgeBase.ReferenceEqualsJVM(IJVMBridgeBase, IJVMBridgeBase)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.CastToAndDetach<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.CastDirectAndDetach<TNewClass>()JVMBridgeBase.CheckDisposed()JVMBridgeBase.ToString()JVMBridgeBase.Equals(IJVMBridgeBase)JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
AccessibleObject()
public AccessibleObject()
AccessibleObject(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AccessibleObject(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
AccessibleObject(params object[])
Generic constructor used by JCOBridge when a derived class needs to forward arguments to the base JVMBridgeBase class.
public AccessibleObject(params object[] args)
Parameters
argsobject[]
Properties
Annotations
public Annotation[] Annotations { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DeclaredAnnotations
public Annotation[] DeclaredAnnotations { 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 java.lang.AutoCloseable
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
GetAnnotation<T>(Class)
public T GetAnnotation<T>(Class arg0) where T : IAnnotation
Parameters
Returns
- T
T
Type Parameters
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
annotationClassClass<T>
Returns
- T
Type Parameters
T
GetAnnotationsByType<T>(Class)
public T[] GetAnnotationsByType<T>(Class arg0) where T : IAnnotation
Parameters
Returns
- T[]
T
Type Parameters
GetAnnotationsByType<T>(Class<T>)
Returns annotations that are associated with this element.
public T[] GetAnnotationsByType<T>(Class<T> annotationClass) where T : Annotation
Parameters
annotationClassClass<T>
Returns
- T[]
Type Parameters
T
GetDeclaredAnnotation<T>(Class)
public T GetDeclaredAnnotation<T>(Class arg0) where T : IAnnotation
Parameters
Returns
- T
T
Type Parameters
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
annotationClassClass<T>
Returns
- T
Type Parameters
T
GetDeclaredAnnotationsByType<T>(Class)
public T[] GetDeclaredAnnotationsByType<T>(Class arg0) where T : IAnnotation
Parameters
Returns
- T[]
T
Type Parameters
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
annotationClassClass<T>
Returns
- T[]
Type Parameters
T
IsAccessible()
public bool IsAccessible()
Returns
IsAnnotationPresent(Class)
public bool IsAnnotationPresent(Class arg0)
Parameters
Returns
IsAnnotationPresent<T>(Class<T>)
public bool IsAnnotationPresent<T>(Class<T> annotationClass) where T : Annotation
Parameters
annotationClassClass<T>
Returns
Type Parameters
T
SetAccessible(AccessibleObject[], bool)
public static void SetAccessible(AccessibleObject[] arg0, bool arg1)
Parameters
arg0AccessibleObject[]arg1bool
Exceptions
SetAccessible(bool)
public void SetAccessible(bool arg0)