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()
ToNativeContextgetAnnotations in interface FromNativeContextgetAnnotations in interface ToNativeContextpublic final Runtime getRuntime()
ToNativeContextgetRuntime in interface FromNativeContextgetRuntime in interface ToNativeContext