public final class PandaTypeLoader extends Object implements TypeLoader
| Constructor and Description |
|---|
PandaTypeLoader(TypeLoader... parents) |
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Option<Type> |
forClass(Class<?> associatedClass)
Find reference using the given class
|
io.vavr.control.Option<Type> |
forName(CharSequence typeName)
Find reference using the given name
|
void |
load(Module module)
Load all types that belongs to the given module
|
Type |
load(Type type)
Load type by this loader
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequireType, requireTypepublic PandaTypeLoader(TypeLoader... parents)
public Type load(Type type)
TypeLoaderload in interface TypeLoadertype - the type to loadpublic void load(Module module)
TypeLoaderload in interface TypeLoadermodule - the module to loadpublic io.vavr.control.Option<Type> forClass(Class<?> associatedClass)
ModuleResourceforClass in interface ModuleResourceassociatedClass - the class associated with type to search forpublic io.vavr.control.Option<Type> forName(CharSequence typeName)
ModuleResourceforName in interface ModuleResourcetypeName - the name to search forCopyright © 2020. All rights reserved.