public class SimpleNativeContext extends java.lang.Object implements ToNativeContext, FromNativeContext
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<java.lang.annotation.Annotation> |
annotations |
private Runtime |
runtime |
Constructor and Description |
---|
SimpleNativeContext(Runtime runtime,
java.util.Collection<java.lang.annotation.Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.annotation.Annotation> |
getAnnotations()
Gets a sorted list of annotations
|
Runtime |
getRuntime()
Gets the Runtime used for the conversion.
|
private final Runtime runtime
private final java.util.Collection<java.lang.annotation.Annotation> annotations
SimpleNativeContext(Runtime runtime, java.util.Collection<java.lang.annotation.Annotation> annotations)
public java.util.Collection<java.lang.annotation.Annotation> getAnnotations()
ToNativeContext
getAnnotations
in interface FromNativeContext
getAnnotations
in interface ToNativeContext
public final Runtime getRuntime()
ToNativeContext
getRuntime
in interface FromNativeContext
getRuntime
in interface ToNativeContext