public class ExpressionsUtil extends Object
expressions
.Constructor and Description |
---|
ExpressionsUtil() |
Modifier and Type | Method and Description |
---|---|
static FunctionInvocation |
construct(Expression className,
Expression... arguments) |
static FunctionInvocation |
invoke(Expression name,
Expression... arguments) |
static MemberInvocation |
invokeMember(Expression object,
Expression name,
Expression... arguments) |
static ListConstruction |
list(Expression... elements) |
static BooleanValue |
value(boolean literal) |
static ByteValue |
value(byte literal) |
static CharValue |
value(char literal) |
static DoubleValue |
value(double literal) |
static FloatValue |
value(float literal) |
static IntValue |
value(int literal) |
static LongValue |
value(long literal) |
static ShortValue |
value(short literal) |
static StringValue |
value(String literal) |
public static BooleanValue value(boolean literal)
public static ByteValue value(byte literal)
public static CharValue value(char literal)
public static DoubleValue value(double literal)
public static FloatValue value(float literal)
public static IntValue value(int literal)
public static LongValue value(long literal)
public static ShortValue value(short literal)
public static StringValue value(String literal)
public static ListConstruction list(Expression... elements)
public static MemberInvocation invokeMember(Expression object, Expression name, Expression... arguments)
public static FunctionInvocation invoke(Expression name, Expression... arguments)
public static FunctionInvocation construct(Expression className, Expression... arguments)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html