Table of Contents

Class Package

Namespace
Java.Lang
Assembly
MASES.Netdroid.dll
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

initializer IJVMBridgeBaseInitializer

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 java.lang.AutoCloseable

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

GetAnnotation<A>(Class)

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

Parameters

arg0 Class

Class

Returns

A

A

Type Parameters

A

IAnnotation

GetAnnotations()

public Annotation[] GetAnnotations()

Returns

Annotation[]

Annotation

GetAnnotationsByType<A>(Class)

public A[] GetAnnotationsByType<A>(Class arg0) where A : IAnnotation

Parameters

arg0 Class

Class

Returns

A[]

A

Type Parameters

A

IAnnotation

GetDeclaredAnnotation<A>(Class)

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

Parameters

arg0 Class

Class

Returns

A

A

Type Parameters

A

IAnnotation

GetDeclaredAnnotations()

public Annotation[] GetDeclaredAnnotations()

Returns

Annotation[]

Annotation

GetDeclaredAnnotationsByType<A>(Class)

public A[] GetDeclaredAnnotationsByType<A>(Class arg0) where A : IAnnotation

Parameters

arg0 Class

Class

Returns

A[]

A

Type Parameters

A

IAnnotation

GetImplementationTitle()

public String GetImplementationTitle()

Returns

String

String

GetImplementationVendor()

public String GetImplementationVendor()

Returns

String

String

GetImplementationVersion()

public String GetImplementationVersion()

Returns

String

String

GetName()

public String GetName()

Returns

String

String

GetPackage(String)

[Obsolete("Deprecated in JVM")]
public static Package GetPackage(String arg0)

Parameters

arg0 String

String

Returns

Package

Package

GetPackages()

public static Package[] GetPackages()

Returns

Package[]

Package

GetSpecificationTitle()

public String GetSpecificationTitle()

Returns

String

String

GetSpecificationVendor()

public String GetSpecificationVendor()

Returns

String

String

GetSpecificationVersion()

public String GetSpecificationVersion()

Returns

String

String

IsAnnotationPresent(Class)

public bool IsAnnotationPresent(Class arg0)

Parameters

arg0 Class

Class

Returns

bool

bool

IsCompatibleWith(String)

public bool IsCompatibleWith(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

NumberFormatException

IsSealed()

public bool IsSealed()

Returns

bool

bool

IsSealed(URL)

public bool IsSealed(URL arg0)

Parameters

arg0 URL

URL

Returns

bool

bool