Package com.abstratt.kirra
Interface NameScope
-
- All Known Subinterfaces:
BehaviorScope
,DataScope
,ParameterScope
,TypedNameScope
public interface NameScope
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <N extends NamedElement<?>>
Nfind(Collection<N> elements, String name)
static <N extends NamedElement<?>>
Nfind(Collection<N> elements, String name, Supplier<Throwable> missingHandler)
TypeRef.TypeKind
getTypeKind()
TypeRef
getTypeRef()
static <N extends NamedElement<?>>
Optional<N>tryToFind(Collection<N> elements, String name)
-
-
-
Method Detail
-
getTypeKind
TypeRef.TypeKind getTypeKind()
-
getTypeRef
TypeRef getTypeRef()
-
find
static <N extends NamedElement<?>> N find(Collection<N> elements, String name)
-
tryToFind
static <N extends NamedElement<?>> Optional<N> tryToFind(Collection<N> elements, String name)
-
find
static <N extends NamedElement<?>> N find(Collection<N> elements, String name, Supplier<Throwable> missingHandler)
-
-