public final class MethodParameterContext extends java.lang.Object implements ToNativeContext
Modifier and Type | Field and Description |
---|---|
private java.lang.annotation.Annotation[] |
annotationArray |
private java.util.Collection<java.lang.annotation.Annotation> |
annotations |
private java.lang.reflect.Method |
method |
private int |
parameterIndex |
private Runtime |
runtime |
Constructor and Description |
---|
MethodParameterContext(Runtime runtime,
java.lang.reflect.Method method,
int parameterIndex) |
MethodParameterContext(Runtime runtime,
java.lang.reflect.Method method,
int parameterIndex,
java.lang.annotation.Annotation[] annotationArray) |
MethodParameterContext(Runtime runtime,
java.lang.reflect.Method method,
int parameterIndex,
java.util.Collection<java.lang.annotation.Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<java.lang.annotation.Annotation> |
buildAnnotationCollection() |
boolean |
equals(java.lang.Object o) |
java.util.Collection<java.lang.annotation.Annotation> |
getAnnotations()
Gets a sorted list of annotations
|
java.lang.reflect.Method |
getMethod() |
int |
getParameterIndex() |
Runtime |
getRuntime()
Gets the Runtime used for the conversion.
|
int |
hashCode() |
private final Runtime runtime
private final java.lang.reflect.Method method
private final int parameterIndex
private java.util.Collection<java.lang.annotation.Annotation> annotations
private java.lang.annotation.Annotation[] annotationArray
public MethodParameterContext(Runtime runtime, java.lang.reflect.Method method, int parameterIndex)
public MethodParameterContext(Runtime runtime, java.lang.reflect.Method method, int parameterIndex, java.lang.annotation.Annotation[] annotationArray)
public MethodParameterContext(Runtime runtime, java.lang.reflect.Method method, int parameterIndex, java.util.Collection<java.lang.annotation.Annotation> annotations)
public java.lang.reflect.Method getMethod()
public int getParameterIndex()
public java.util.Collection<java.lang.annotation.Annotation> getAnnotations()
ToNativeContext
getAnnotations
in interface ToNativeContext
public Runtime getRuntime()
ToNativeContext
getRuntime
in interface ToNativeContext
private java.util.Collection<java.lang.annotation.Annotation> buildAnnotationCollection()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object