public final class ASTTypeLoader extends Object implements TypeLoader
TypeLoader implementation which works with the Java AST.| Constructor and Description |
|---|
ASTTypeLoader(ProcessingEnvironment processingEnvironment) |
ASTTypeLoader(ProcessingEnvironment processingEnvironment,
List<TypeHandler> handlers,
ObjectFieldHandler objectFieldHandler) |
| Modifier and Type | Method and Description |
|---|---|
Optional<MetadataType> |
load(String typeIdentifier) |
Optional<MetadataType> |
load(TypeMirror typeMirror)
Given a
TypeMirror introspect it an returns the correspondent MetadataType |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadpublic ASTTypeLoader(ProcessingEnvironment processingEnvironment)
public ASTTypeLoader(ProcessingEnvironment processingEnvironment, List<TypeHandler> handlers, ObjectFieldHandler objectFieldHandler)
public Optional<MetadataType> load(TypeMirror typeMirror)
TypeMirror introspect it an returns the correspondent MetadataTypetypeMirror - type to introspectMetadataTypepublic Optional<MetadataType> load(String typeIdentifier)
load in interface TypeLoaderCopyright © 2023 MuleSoft, Inc.. All rights reserved.