Table of Contents

Class Package

Namespace
Java.Lang
Assembly
MASES.JNet.dll
public class Package : AnnotatedElement, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAnnotatedElement
Inheritance
JVMBridgeBase
JVMBridgeBase<AnnotatedElement>
Package
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
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

Package()

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

public Package()

Package(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

public Package(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[]

ImplementationTitle

public String ImplementationTitle { get; }

Property Value

String

ImplementationVendor

public String ImplementationVendor { get; }

Property Value

String

ImplementationVersion

public String ImplementationVersion { get; }

Property Value

String

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

Name

public String Name { get; }

Property Value

String

Packages

public static Package[] Packages { get; }

Property Value

Package[]

SpecificationTitle

public String SpecificationTitle { get; }

Property Value

String

SpecificationVendor

public String SpecificationVendor { get; }

Property Value

String

SpecificationVersion

public String SpecificationVersion { get; }

Property Value

String

Methods

GetAnnotation<A>(Class)

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

Parameters

arg0 Class

Class

Returns

A

A

Type Parameters

A

IAnnotation

GetAnnotation<A>(Class<A>)

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

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

Parameters

annotationClass Class<A>

Returns

A

Type Parameters

A

GetAnnotationsByType<A>(Class)

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

Parameters

arg0 Class

Class

Returns

A[]

A

Type Parameters

A

IAnnotation

GetAnnotationsByType<A>(Class<A>)

Returns annotations that are associated with this element.

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

Parameters

annotationClass Class<A>

Returns

A[]

Type Parameters

A

GetDeclaredAnnotation<A>(Class)

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

Parameters

arg0 Class

Class

Returns

A

A

Type Parameters

A

IAnnotation

GetDeclaredAnnotation<A>(Class<A>)

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

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

Parameters

annotationClass Class<A>

Returns

A

Type Parameters

A

GetDeclaredAnnotationsByType<A>(Class)

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

Parameters

arg0 Class

Class

Returns

A[]

A

Type Parameters

A

IAnnotation

GetDeclaredAnnotationsByType<A>(Class<A>)

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

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

Parameters

annotationClass Class<A>

Returns

A[]

Type Parameters

A

GetPackage(string)

Find a package by name in the callers ClassLoader instance.

public static Package GetPackage(string name)

Parameters

name string

Returns

Package

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

IsCompatibleWith(string)

Compare this package's specification version with a desired version.

public bool IsCompatibleWith(string desired)

Parameters

desired string

Returns

bool

IsSealed()

public bool IsSealed()

Returns

bool

bool

IsSealed(URL)

public bool IsSealed(URL arg0)

Parameters

arg0 URL

URL

Returns

bool

bool