public class TypedExpression extends Object
Constructor and Description |
---|
TypedExpression(com.github.javaparser.ast.expr.Expression expression) |
TypedExpression(com.github.javaparser.ast.expr.Expression expression,
Type type) |
TypedExpression(com.github.javaparser.ast.expr.Expression expression,
Type type,
String fieldName) |
TypedExpression(String unificationVariable,
Type type,
String name) |
Modifier and Type | Method and Description |
---|---|
TypedExpression |
cloneWithNewExpression(com.github.javaparser.ast.expr.Expression newExpression) |
boolean |
equals(Object o) |
Optional<Class<?>> |
getBoxedType() |
com.github.javaparser.ast.expr.Expression |
getExpression() |
String |
getFieldName() |
com.github.javaparser.ast.type.Type |
getJPType() |
TypedExpression |
getLeft() |
Class<?> |
getRawClass() |
TypedExpression |
getRight() |
Type |
getType() |
Optional<String> |
getUnificationName() |
Optional<String> |
getUnificationVariable() |
int |
hashCode() |
boolean |
isArray() |
boolean |
isNumberLiteral() |
boolean |
isPrimitive() |
Boolean |
isStatic() |
boolean |
isThisExpression() |
TypedExpression |
setLeft(TypedExpression left) |
TypedExpression |
setRight(TypedExpression right) |
TypedExpression |
setStatic(Boolean aStatic) |
TypedExpression |
setType(Type type) |
String |
toString() |
public TypedExpression(com.github.javaparser.ast.expr.Expression expression)
public TypedExpression(com.github.javaparser.ast.expr.Expression expression, Type type)
public TypedExpression(com.github.javaparser.ast.expr.Expression expression, Type type, String fieldName)
public boolean isThisExpression()
public String getFieldName()
public com.github.javaparser.ast.expr.Expression getExpression()
public TypedExpression setType(Type type)
public Type getType()
public Class<?> getRawClass()
public com.github.javaparser.ast.type.Type getJPType()
public boolean isPrimitive()
public boolean isArray()
public TypedExpression setStatic(Boolean aStatic)
public Boolean isStatic()
public TypedExpression setLeft(TypedExpression left)
public TypedExpression getLeft()
public TypedExpression setRight(TypedExpression right)
public TypedExpression getRight()
public boolean isNumberLiteral()
public TypedExpression cloneWithNewExpression(com.github.javaparser.ast.expr.Expression newExpression)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.