public abstract class BaseType extends Object implements ResolvedType
| Modifier and Type | Field and Description |
|---|---|
protected ResolvedCustomFacets |
customFacets |
| Constructor and Description |
|---|
BaseType(TypeDeclarationNode typeNode,
ResolvedCustomFacets customFacets) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ResolvedType valueType) |
ResolvedCustomFacets |
customFacets()
Returns the custom facets definitions of this type
|
boolean |
doAccept(ResolvedType resolvedType) |
TypeDeclarationNode |
getTypeDeclarationNode()
The type declaration node that define this type
|
String |
getTypeName()
Returns the type name if any
|
protected void |
setTypeNode(TypeDeclarationNode typeNode) |
void |
validateState()
Validate state consistency
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergeFacets, overwriteFacets, validateCanOverwriteWith, visitprotected ResolvedCustomFacets customFacets
public BaseType(TypeDeclarationNode typeNode, ResolvedCustomFacets customFacets)
protected void setTypeNode(TypeDeclarationNode typeNode)
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 ResolvedTypepublic TypeDeclarationNode getTypeDeclarationNode()
ResolvedTypegetTypeDeclarationNode in interface ResolvedTypepublic void validateState()
ResolvedTypevalidateState in interface ResolvedTypeCopyright © 2016. All rights reserved.