@NoImplement public interface TypedDeclaration
BaseDeclaration
in which
it's possible to define the declared component's MetadataType
Modifier and Type | Method and Description |
---|---|
MetadataType |
getType() |
boolean |
hasDynamicType() |
void |
setType(MetadataType type,
boolean isDynamic)
Associates the given
MetadataType to the element being declared |
MetadataType getType()
MetadataType
of the elementvoid setType(MetadataType type, boolean isDynamic)
MetadataType
to the element being declaredtype
- the element's static MetadataType
isDynamic
- whether or not the element being declare supports a dynamic resolution
of it's type, regardless of the type
statically associatedboolean hasDynamicType()
Copyright © 2018. All rights reserved.