public class ClassRef extends TypeRef
Modifier and Type | Field and Description |
---|---|
static String |
BRACKETS |
static ClassRef |
OBJECT |
static String |
UNKNOWN |
ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_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, hasAttribute
public static final String UNKNOWN
public static final String BRACKETS
public static final ClassRef OBJECT
public TypeDef getDefinition()
public String getFullyQualifiedName()
public int getDimensions()
getDimensions
in class TypeRef
public ClassRef withDimensions(int dimensions)
withDimensions
in class TypeRef
public boolean isAssignableFrom(TypeRef other)
isAssignableFrom
in class TypeRef
public String getName()
Copyright © 2019 JBoss by Red Hat. All rights reserved.