public abstract class BaseType extends Object implements ResolvedType
| Modifier and Type | Field and Description |
|---|---|
protected ResolvedCustomFacets |
customFacets |
| Constructor and Description |
|---|
BaseType(TypeExpressionNode typeNode,
ResolvedCustomFacets customFacets) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ResolvedType valueType) |
protected abstract BaseType |
copy() |
ResolvedCustomFacets |
customFacets()
Returns the custom facets definitions of this type
|
boolean |
doAccept(ResolvedType resolvedType) |
String |
getBuiltinTypeName()
Returns the builtin type name.
|
TypeExpressionNode |
getTypeDeclarationNode()
The type declaration node that define this type
|
String |
getTypeName()
Returns the type name if any
|
ResolvedType |
setTypeNode(TypeExpressionNode typeNode) |
void |
validateState()
Validate state consistency
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergeFacets, overwriteFacets, validateCanOverwriteWith, visitprotected ResolvedCustomFacets customFacets
public BaseType(TypeExpressionNode typeNode, ResolvedCustomFacets customFacets)
public ResolvedType setTypeNode(TypeExpressionNode typeNode)
setTypeNode in interface ResolvedTypeprotected abstract BaseType copy()
public ResolvedCustomFacets customFacets()
ResolvedTypecustomFacets in interface ResolvedTypepublic final boolean accepts(ResolvedType valueType)
accepts in interface ResolvedTypepublic boolean doAccept(ResolvedType resolvedType)
@Nullable public String getTypeName()
ResolvedTypegetTypeName in interface ResolvedType@Nullable public String getBuiltinTypeName()
ResolvedTypegetBuiltinTypeName in interface ResolvedTypepublic TypeExpressionNode getTypeDeclarationNode()
ResolvedTypegetTypeDeclarationNode in interface ResolvedTypepublic void validateState()
ResolvedTypevalidateState in interface ResolvedTypeCopyright © 2017. All rights reserved.