public interface Attributeable extends Node
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<Collection<ClassRef>> |
ALSO_IMPORT |
static AttributeKey<String> |
DEFAULT_VALUE |
static AttributeKey<String> |
INIT |
static AttributeKey<Function<List<String>,String>> |
INIT_FUNCTION |
static AttributeKey<String> |
LAZY_INIT |
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| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttribute(AttributeKey<T> key) |
Map<AttributeKey,Object> |
getAttributes() |
<T> boolean |
hasAttribute(AttributeKey<T> key) |
static final AttributeKey<Collection<ClassRef>> ALSO_IMPORT
static final AttributeKey<String> INIT
static final AttributeKey<String> DEFAULT_VALUE
static final AttributeKey<String> LAZY_INIT
static final AttributeKey<Function<List<String>,String>> INIT_FUNCTION
Map<AttributeKey,Object> getAttributes()
<T> T getAttribute(AttributeKey<T> key)
<T> boolean hasAttribute(AttributeKey<T> key)
Copyright © 2023. All rights reserved.