Class Package
public class Package : AnnotatedElement, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAnnotatedElement
- Inheritance
-
Package
- Implements
- Inherited Members
- Extension Methods
Constructors
Package(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 Package(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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 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<A>(Class)
public A GetAnnotation<A>(Class arg0) where A : IAnnotation
Parameters
Returns
- A
A
Type Parameters
GetAnnotations()
public Annotation[] GetAnnotations()
Returns
GetAnnotationsByType<A>(Class)
https://developer.android.com/reference/java/lang/Package.html#getAnnotationsByType(java.lang.Class)
public A[] GetAnnotationsByType<A>(Class arg0) where A : IAnnotation
Parameters
Returns
- A[]
A
Type Parameters
GetDeclaredAnnotation<A>(Class)
public A GetDeclaredAnnotation<A>(Class arg0) where A : IAnnotation
Parameters
Returns
- A
A
Type Parameters
GetDeclaredAnnotations()
public Annotation[] GetDeclaredAnnotations()
Returns
GetDeclaredAnnotationsByType<A>(Class)
public A[] GetDeclaredAnnotationsByType<A>(Class arg0) where A : IAnnotation
Parameters
Returns
- A[]
A
Type Parameters
GetImplementationTitle()
public String GetImplementationTitle()
Returns
GetImplementationVendor()
public String GetImplementationVendor()
Returns
GetImplementationVersion()
public String GetImplementationVersion()
Returns
GetName()
public String GetName()
Returns
GetPackage(String)
[Obsolete("Deprecated in JVM")]
public static Package GetPackage(String arg0)
Parameters
Returns
GetPackages()
public static Package[] GetPackages()
Returns
GetSpecificationTitle()
public String GetSpecificationTitle()
Returns
GetSpecificationVendor()
public String GetSpecificationVendor()
Returns
GetSpecificationVersion()
public String GetSpecificationVersion()
Returns
IsAnnotationPresent(Class)
public bool IsAnnotationPresent(Class arg0)
Parameters
Returns
IsCompatibleWith(String)
public bool IsCompatibleWith(String arg0)
Parameters
Returns
Exceptions
IsSealed()
public bool IsSealed()
Returns
IsSealed(URL)
public bool IsSealed(URL arg0)