public class Array extends Object implements Expression
LanguageObject.Util
Constructor and Description |
---|
Array(Class<?> baseType,
List<Expression> expresssions) |
Array(List<Expression> expressions) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
Array |
clone()
Implement clone to make objects cloneable.
|
boolean |
equals(Object obj) |
Class<?> |
getComponentType() |
List<Expression> |
getExpressions() |
Class<?> |
getType()
Get the return type of this expression.
|
int |
hashCode() |
boolean |
isImplicit()
If the array has been implicitly constructed, such as with vararg parameters
|
void |
setComponentType(Class<?> baseType) |
void |
setImplicit(boolean implicit) |
void |
setType(Class<?> type) |
String |
toString() |
public Array(List<Expression> expressions)
public Array(Class<?> baseType, List<Expression> expresssions)
public Class<?> getType()
Expression
getType
in interface Expression
public void setType(Class<?> type)
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic Array clone()
LanguageObject
clone
in interface LanguageObject
clone
in class Object
public Class<?> getComponentType()
public void setComponentType(Class<?> baseType)
public List<Expression> getExpressions()
public void setImplicit(boolean implicit)
public boolean isImplicit()
Copyright © 2019. All rights reserved.