public class TypeParamRef extends TypeRef
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, VARARGALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_INIT| Constructor and Description |
|---|
TypeParamRef(String name,
int dimensions,
Map<AttributeKey,Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getDimensions() |
String |
getName() |
int |
hashCode() |
String |
toString() |
TypeParamRef |
withDimensions(int dimensions) |
ClassRef |
withErasure() |
getAttribute, getAttributes, hasAttributeclone, finalize, getClass, notify, notifyAll, wait, wait, waitnoSemicolon, render, tabpublic TypeParamRef(String name, int dimensions, Map<AttributeKey,Object> attributes)
public int getDimensions()
getDimensions in class TypeRefpublic TypeParamRef withDimensions(int dimensions)
withDimensions in class TypeRefpublic ClassRef withErasure()
Copyright © 2023. All rights reserved.