E
- the entity typepublic static interface PropertyReferenceDeclaration.ReferenceContainer<E>
Modifier and Type | Method and Description |
---|---|
default List<PropertySymbol> |
asList()
Returns the entity as
List . |
default Map<String,PropertySymbol> |
asMap()
Returns the entity as
Map . |
List<PropertySymbol> |
getAllReferences()
Returns the referred symbols.
|
Optional<E> |
getEntity()
Returns the container entity.
|
PropertyReferenceDeclaration.ReferenceKind |
getKind()
Returns the kind of this container.
|
default boolean |
isStub()
Returns whether or not this container is a stub.
|
PropertyReferenceDeclaration.ReferenceContainer<E> |
remap(UnaryOperator<PropertySymbol> mapper)
Returns the mapped container.
|
PropertyReferenceDeclaration.ReferenceKind getKind()
default boolean isStub()
true
if this is a stub, otherwise false
Optional<E> getEntity()
empty
if this container is a stubList<PropertySymbol> getAllReferences()
PropertyReferenceDeclaration.ReferenceContainer<E> remap(UnaryOperator<PropertySymbol> mapper)
mapper
- the symbol mapperdefault List<PropertySymbol> asList()
List
.IllegalStateException
- if this is not a listdefault Map<String,PropertySymbol> asMap()
Map
.IllegalStateException
- if this is not a mapCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.