public class PrimitiveRef extends TypeRef
ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_INIT
Constructor and Description |
---|
PrimitiveRef(String name,
int dimensions,
Map<AttributeKey,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getDimensions() |
String |
getName() |
int |
hashCode() |
boolean |
isAssignableFrom(TypeRef o) |
String |
toString() |
PrimitiveRef |
withDimensions(int dimensions) |
getAttribute, getAttributes, hasAttribute
public PrimitiveRef(String name, int dimensions, Map<AttributeKey,Object> attributes)
public String getName()
public int getDimensions()
getDimensions
in class TypeRef
public PrimitiveRef withDimensions(int dimensions)
withDimensions
in class TypeRef
public boolean isAssignableFrom(TypeRef o)
isAssignableFrom
in class TypeRef
Copyright © 2019 JBoss by Red Hat. All rights reserved.