public class MethodAntn
extends java.lang.Object
| Constructor and Description |
|---|
MethodAntn(java.lang.reflect.Method method)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Get annotation type.
|
java.lang.reflect.Method |
getMethod() |
protected java.lang.String |
getParamOverride(java.lang.String parameter,
io.helidon.microprofile.faulttolerance.MethodAntn.MatchingType type)
Returns override for parameter.
|
protected java.lang.String |
getProperty(java.lang.String name)
Returns the value of a property using the MP config API.
|
<A extends java.lang.annotation.Annotation> |
lookupAnnotation(java.lang.Class<A> clazz)
Returns underlying annotation and info as to how it was found.
|
void |
validate()
Validate the annotation on this method.
|
public MethodAntn(java.lang.reflect.Method method)
method - The method.public java.lang.reflect.Method getMethod()
public final <A extends java.lang.annotation.Annotation> io.helidon.microprofile.faulttolerance.MethodAntn.LookupResult<A> lookupAnnotation(java.lang.Class<A> clazz)
A - Annotation type.clazz - Annotation class.null.public void validate()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
protected java.lang.String getParamOverride(java.lang.String parameter,
io.helidon.microprofile.faulttolerance.MethodAntn.MatchingType type)
parameter - Parameter name.type - Matching type for annotation.null if none defined.protected java.lang.String getProperty(java.lang.String name)
name - Property name.null if it does not exist.Copyright © 2018–2019 Oracle Corporation. All rights reserved.