public class JavaTypeDefinition extends Object implements TypeDefinition
Modifier and Type | Method and Description |
---|---|
static JavaTypeDefinition |
build(Class<?> clazz) |
static JavaTypeDefinitionBuilder |
builder() |
static JavaTypeDefinitionBuilder |
builder(Class<?> clazz) |
List<JavaTypeDefinition> |
getGenericArgs()
Get the list of type arguments for this TypeDefinition.
|
Class<?> |
getType()
Get the raw Class type of the definition.
|
public Class<?> getType()
TypeDefinition
getType
in interface TypeDefinition
public List<JavaTypeDefinition> getGenericArgs()
TypeDefinition
getGenericArgs
in interface TypeDefinition
public static JavaTypeDefinition build(Class<?> clazz)
public static JavaTypeDefinitionBuilder builder(Class<?> clazz)
public static JavaTypeDefinitionBuilder builder()
Copyright © 2002–2017 PMD. All rights reserved.