Package io.sundr.model
Interface Attributeable
-
- All Superinterfaces:
Node
- All Known Implementing Classes:
AnnotationRef,AttributeSupport,ClassRef,Method,ModifierSupport,PrimitiveRef,Property,TypeDef,TypeParamDef,TypeParamRef,TypeRef,VoidRef,WildcardRef
public interface Attributeable extends Node
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeKey<Collection<ClassRef>>ALSO_IMPORTstatic AttributeKey<String>DEFAULT_VALUEstatic AttributeKey<String>INITstatic AttributeKey<Function<List<String>,String>>INIT_FUNCTIONstatic AttributeKey<String>LAZY_INIT-
Fields inherited from interface io.sundr.model.Node
AT, CB, CC, CLP, COLN, COMA, CP, DOT, DQ, EMPTY, EQ, EXTENDS, GT, IMPLEMENTS, INDENT, JAVA_LANG, JAVA_LANG_ENUM, JAVA_LANG_OBJECT, JAVA_LANG_STRING, LT, NEWLINE, NEWLINE_PATTERN, OB, OC, OP, Q, SEMICOLN, SEMICOLN_SUFFIX_PATTERN, SPACE, STAR, THROWS, VARARG
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetAttribute(AttributeKey<T> key)Map<AttributeKey,Object>getAttributes()<T> booleanhasAttribute(AttributeKey<T> key)
-
-
-
Field Detail
-
ALSO_IMPORT
static final AttributeKey<Collection<ClassRef>> ALSO_IMPORT
-
INIT
static final AttributeKey<String> INIT
-
DEFAULT_VALUE
static final AttributeKey<String> DEFAULT_VALUE
-
LAZY_INIT
static final AttributeKey<String> LAZY_INIT
-
INIT_FUNCTION
static final AttributeKey<Function<List<String>,String>> INIT_FUNCTION
-
-
Method Detail
-
getAttributes
Map<AttributeKey,Object> getAttributes()
-
getAttribute
<T> T getAttribute(AttributeKey<T> key)
-
hasAttribute
<T> boolean hasAttribute(AttributeKey<T> key)
-
-