public class AptContext extends AttributeSupport implements AdapterContextAware
ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_INITAT, 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 |
|---|---|
void |
addReference(TypeElement element) |
static AptContext |
create(AdapterContext adapterContext) |
static AptContext |
create(Elements elements,
Types types) |
static AptContext |
create(Elements elements,
Types types,
io.sundr.model.repo.DefinitionRepository repository) |
AdapterContext |
getAdapterContext() |
static AptContext |
getContext() |
io.sundr.model.repo.DefinitionRepository |
getDefinitionRepository() |
Elements |
getElements() |
Set<TypeElement> |
getReferences() |
Types |
getTypes() |
boolean |
isDeep() |
getAttribute, getAttributes, hasAttributepublic static AptContext create(AdapterContext adapterContext)
public static AptContext create(Elements elements, Types types)
public static AptContext create(Elements elements, Types types, io.sundr.model.repo.DefinitionRepository repository)
public static AptContext getContext()
public Types getTypes()
public Elements getElements()
public boolean isDeep()
public AdapterContext getAdapterContext()
getAdapterContext in interface AdapterContextAwarepublic io.sundr.model.repo.DefinitionRepository getDefinitionRepository()
public Set<TypeElement> getReferences()
public void addReference(TypeElement element)
Copyright © 2023. All rights reserved.