public static class CollectionField.GenericType extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
isArray |
boolean |
isVariable |
Dotted |
type |
String |
wildcard |
Constructor and Description |
---|
GenericType(Dotted type,
String wildcard,
boolean isVariable,
boolean isArray) |
Modifier and Type | Method and Description |
---|---|
String |
asSimpleString()
Similar to
GenericType#asString but uses unqualified class names |
boolean |
equals(Object obj) |
static CollectionField.GenericType |
exact(Dotted type) |
static CollectionField.GenericType |
extends_(Dotted type) |
int |
hashCode() |
static CollectionField.GenericType |
super_(Dotted type) |
String |
toString() |
static CollectionField.GenericType |
wildcard() |
CollectionField.GenericType |
withoutWildcard() |
public final Dotted type
public final String wildcard
public final boolean isVariable
public final boolean isArray
public static CollectionField.GenericType wildcard()
public static CollectionField.GenericType exact(Dotted type)
public static CollectionField.GenericType extends_(Dotted type)
public static CollectionField.GenericType super_(Dotted type)
public String asSimpleString()
GenericType#asString
but uses unqualified class namespublic CollectionField.GenericType withoutWildcard()
Copyright © 2008–2020 Graham Allan. All rights reserved.