Package io.sundr.model
Class TypeParamRef
- java.lang.Object
-
- io.sundr.model.AttributeSupport
-
- io.sundr.model.TypeRef
-
- io.sundr.model.TypeParamRef
-
- All Implemented Interfaces:
Attributeable,Node,Renderable
public class TypeParamRef extends TypeRef
-
-
Field Summary
-
Fields inherited from interface io.sundr.model.Attributeable
ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, 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
-
-
Constructor Summary
Constructors Constructor Description TypeParamRef(String name, int dimensions, Map<AttributeKey,Object> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetDimensions()StringgetName()inthashCode()StringtoString()TypeParamRefwithDimensions(int dimensions)ClassRefwithErasure()-
Methods inherited from class io.sundr.model.AttributeSupport
getAttribute, getAttributes, hasAttribute
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.sundr.model.Renderable
render, tab
-
-
-
-
Constructor Detail
-
TypeParamRef
public TypeParamRef(String name, int dimensions, Map<AttributeKey,Object> attributes)
-
-
Method Detail
-
getDimensions
public int getDimensions()
- Specified by:
getDimensionsin classTypeRef
-
withDimensions
public TypeParamRef withDimensions(int dimensions)
- Specified by:
withDimensionsin classTypeRef
-
withErasure
public ClassRef withErasure()
-
-