public class ASTValueFetcher<A extends Annotation> extends Object implements org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A>
AnnotationValueFetcher which works with the Java AST.| Modifier and Type | Method and Description |
|---|---|
<E> List<E> |
getArrayValue(Function<A,E[]> function) |
Boolean |
getBooleanValue(Function<A,Boolean> function) |
List<org.mule.runtime.module.extension.api.loader.java.type.Type> |
getClassArrayValue(Function<A,Class[]> function) |
ASTType |
getClassValue(Function<A,Class> function) |
<E extends Enum> |
getEnumValue(Function<A,E> function) |
<E extends Annotation> |
getInnerAnnotation(Function<A,E> function) |
<E extends Annotation> |
getInnerAnnotations(Function<A,E[]> function) |
<N extends Number> |
getNumberValue(Function<A,N> function) |
String |
getStringValue(Function<A,String> function) |
public String getStringValue(Function<A,String> function)
getStringValue in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public <E> List<E> getArrayValue(Function<A,E[]> function)
getArrayValue in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public List<org.mule.runtime.module.extension.api.loader.java.type.Type> getClassArrayValue(Function<A,Class[]> function)
getClassArrayValue in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public ASTType getClassValue(Function<A,Class> function)
getClassValue in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public <N extends Number> N getNumberValue(Function<A,N> function)
getNumberValue in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public Boolean getBooleanValue(Function<A,Boolean> function)
getBooleanValue in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public <E extends Enum> E getEnumValue(Function<A,E> function)
getEnumValue in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public <E extends Annotation> org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<E> getInnerAnnotation(Function<A,E> function)
getInnerAnnotation in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>public <E extends Annotation> List<org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<E>> getInnerAnnotations(Function<A,E[]> function)
getInnerAnnotations in interface org.mule.runtime.module.extension.api.loader.java.type.AnnotationValueFetcher<A extends Annotation>Copyright © 2018 MuleSoft, Inc.. All rights reserved.