public class JavaTypeDescriptorRegistry extends Object
Class
-> JavaTypeDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
JavaTypeDescriptorRegistry.FallbackJavaTypeDescriptor<T> |
Modifier and Type | Field and Description |
---|---|
static JavaTypeDescriptorRegistry |
INSTANCE |
Constructor and Description |
---|
JavaTypeDescriptorRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addDescriptor(JavaTypeDescriptor descriptor)
Adds the given descriptor to this registry
|
<T> JavaTypeDescriptor<T> |
getDescriptor(Class<T> cls) |
public static final JavaTypeDescriptorRegistry INSTANCE
public void addDescriptor(JavaTypeDescriptor descriptor)
descriptor
- The descriptor to add.public <T> JavaTypeDescriptor<T> getDescriptor(Class<T> cls)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.