public class ClassRef extends TypeRef
| Modifier and Type | Field and Description |
|---|---|
static String |
BRACKETS |
static ClassRef |
OBJECT |
static String |
UNKWNON |
ALSO_IMPORT, INIT| Constructor and Description |
|---|
ClassRef(TypeDef definition,
String fullyQualifiedName,
int dimensions,
List<TypeRef> arguments,
Map<AttributeKey,Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<TypeRef> |
getArguments() |
TypeDef |
getDefinition() |
int |
getDimensions() |
String |
getFullyQualifiedName() |
String |
getName() |
Set<ClassRef> |
getReferences() |
int |
hashCode() |
boolean |
isAssignableFrom(TypeRef other) |
String |
toString() |
ClassRef |
withDimensions(int dimensions) |
getAttribute, getAttributes, hasAttributepublic static final String UNKWNON
public static final String BRACKETS
public static final ClassRef OBJECT
public TypeDef getDefinition()
public String getFullyQualifiedName()
public int getDimensions()
getDimensions in class TypeRefpublic ClassRef withDimensions(int dimensions)
withDimensions in class TypeRefpublic boolean isAssignableFrom(TypeRef other)
isAssignableFrom in class TypeRefpublic String getName()
Copyright © 2016. All Rights Reserved.