Class ExpressionVariableInitializer
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.ExpressionVariableInitializer
-
- All Implemented Interfaces:
Declaration
,VariableInitializer
public class ExpressionVariableInitializer extends java.lang.Object implements VariableInitializer
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
expression
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE
-
-
Constructor Summary
Constructors Constructor Description ExpressionVariableInitializer(Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DeclarationVisitor visitor)
boolean
equals(java.lang.Object o)
Expression
getExpression()
int
getLineNumber()
int
hashCode()
void
setExpression(Expression expression)
-
-
-
Field Detail
-
expression
protected Expression expression
-
-
Constructor Detail
-
ExpressionVariableInitializer
public ExpressionVariableInitializer(Expression expression)
-
-
Method Detail
-
getExpression
public Expression getExpression()
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceVariableInitializer
-
setExpression
public void setExpression(Expression expression)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
accept
in interfaceDeclaration
-
-