クラスの使用
org.springframework.expression.spel.ast.SpelNodeImpl
SpelNodeImpl を使用するパッケージ
パッケージ
説明
SpEL の抽象構文ツリー。
SpEL の標準パーサー実装。
org.springframework.expression.spel.ast 内の SpelNodeImpl 使用
修飾子と型クラス説明class割り当てを表します。classBean への参照を表します (例:@orderServiceまたは@'order.service')。classリテラル値TRUEおよびFALSEを表します。classNULL セーフナビゲーション演算子が使用されている場合のproperty1.property2.methodOne()またはproperty1?.property2?.methodOne()などの、DOT で区切られた式シーケンスを表します。classコンストラクターの呼び出しを表します。通常の型のコンストラクターまたは配列の構築のいずれかです。classエルヴィス演算子?を表します。classfloat リテラルを表す式言語の AST ノード。class関数参照は、「#someFunction(a、b、c)」の形式です。class「識別子」SpelNode。classIndexerは、先行する構造にインデックスを付けて、その構造の特定の要素にアクセスできます。classリストを式で表します (例: '{1,2,3}')。classマップを式で表します (例: '{name:'foo' ,age:12}')。class整数リテラルを表す式言語の AST ノード。classリテラル(ブール値、文字列、数値など)を表すノードの共通スーパークラス。class長整数リテラルを表す式言語の AST ノード。classメソッド参照 (つまり、単純なプロパティ参照以外のメソッド呼び出し) を表す式言語 AST ノード。classnull を表す式言語の AST ノード。classブール AND 演算を表します。classデクリメント演算子。class除算演算子を実装します。class等価演算子を実装します。class1 つまたは 2 つのオペランドを操作する演算子の共通スーパー型。classbetween演算子を表します。class演算子 'instanceof' は、Java でinstanceofが行うのと同じ方法で、オブジェクトが右側のオペランドで指定されたクラスのものであるかどうかをチェックします。class一致演算子を実装します。classNOT オペレーションを表します。classパワーオペレーター。classより大きいか等しい演算子を実装します。class大なり演算子を実装します。class増分演算子。classより小さいか等しい演算子を実装します。class小なり演算子を実装します。classマイナス演算子: 数値の減算 1 文字の文字列からの int の減算 (実質的にその文字を減らす)、つまり'd' - 3 = 'a'classモジュラス演算子を実装します。classmultiplyオペレーターを実装します。class等しくない演算子を実装します。classブール OR 演算を表します。classプラス演算子は: 数字連結文字列を追加するclass射影を表します。特定の操作がいくつかの入力シーケンスのすべての要素に対して実行され、同じサイズの新しいシーケンスを返します。class単純なパブリックプロパティまたはフィールド参照を表します。classパッケージ修飾型参照を示す、ドットで区切られた文字列のシーケンスを表します。class実際のリテラルを表す式言語の AST ノード。classMapSE、IterableSE、または配列の選択を表します。class文字列リテラルを表す式言語の AST ノード。class三項演算子を表します(例: "someCheck() ? true:false")。class"T(String)"や"T(com.example.Foo)"などの型への参照を表します。class変数参照を表します。たとえば、#root、#this、#someVarなど。SpelNodeImpl として宣言されている org.springframework.expression.spel.ast のフィールド修飾子と型メソッド説明Operator.getLeftOperand()OpDec.getRightOperand()Operator.getRightOperand()OpInc.getRightOperand()OpMinus.getRightOperand()OpPlus.getRightOperand()型 SpelNodeImpl のパラメーターを持つ org.springframework.expression.spel.ast のメソッド修飾子と型メソッド説明protected static voidSpelNodeImpl.generateCodeForArgument(MethodVisitor mv, CodeFlow cf, SpelNodeImpl argument, StringSE paramDesc) 使用すべきではありません。protected static voidSpelNodeImpl.generateCodeForArguments(MethodVisitor mv, CodeFlow cf, ExecutableSE executable, SpelNodeImpl[] arguments) 指定されたExecutableSE (メソッドまたはコンストラクター) の引数値の構築を処理するコードを生成します。protected static voidSpelNodeImpl.generateCodeForArguments(MethodVisitor mv, CodeFlow cf, MemberSE member, SpelNodeImpl[] arguments) 使用すべきではありません。型 SpelNodeImpl のパラメーターを持つ org.springframework.expression.spel.ast のコンストラクター修飾子コンストラクター説明Assign(int startPos, int endPos, SpelNodeImpl... operands) CompoundExpression(int startPos, int endPos, SpelNodeImpl... expressionComponents) ConstructorReference(int startPos, int endPos, SpelNodeImpl... arguments) 通常の型のコンストラクター参照を作成します。ConstructorReference(int startPos, int endPos, SpelNodeImpl[] dimensions, SpelNodeImpl... arguments) 配列のコンストラクター参照を作成します。Elvis(int startPos, int endPos, SpelNodeImpl... args) FunctionReference(StringSE functionName, int startPos, int endPos, SpelNodeImpl... arguments) Indexer(boolean nullSafe, int startPos, int endPos, SpelNodeImpl indexExpression) 指定された null セーフフラグ、開始位置、終了位置、インデックス式を使用してIndexerを作成します。InlineList(int startPos, int endPos, SpelNodeImpl... args) InlineMap(int startPos, int endPos, SpelNodeImpl... args) MethodReference(boolean nullSafe, StringSE methodName, int startPos, int endPos, SpelNodeImpl... arguments) OpAnd(int startPos, int endPos, SpelNodeImpl... operands) OpDec(int startPos, int endPos, boolean postfix, SpelNodeImpl... operands) OpDivide(int startPos, int endPos, SpelNodeImpl... operands) OpEQ(int startPos, int endPos, SpelNodeImpl... operands) Operator(StringSE payload, int startPos, int endPos, SpelNodeImpl... operands) OperatorBetween(int startPos, int endPos, SpelNodeImpl... operands) OperatorInstanceof(int startPos, int endPos, SpelNodeImpl... operands) OperatorMatches(int startPos, int endPos, SpelNodeImpl... operands) 使用すべきではありません。代わりに共有パターンキャッシュを使用してOperatorMatches(ConcurrentMap, int, int, SpelNodeImpl...)を呼び出すことを推奨する Spring Framework 5.2.23 の時点OperatorMatches(ConcurrentMapSE<StringSE, PatternSE> patternCache, int startPos, int endPos, SpelNodeImpl... operands) 共有パターンキャッシュを使用して新しいOperatorMatchesインスタンスを作成します。OperatorNot(int startPos, int endPos, SpelNodeImpl operand) OperatorPower(int startPos, int endPos, SpelNodeImpl... operands) OpGE(int startPos, int endPos, SpelNodeImpl... operands) OpGT(int startPos, int endPos, SpelNodeImpl... operands) OpInc(int startPos, int endPos, boolean postfix, SpelNodeImpl... operands) OpLE(int startPos, int endPos, SpelNodeImpl... operands) OpLT(int startPos, int endPos, SpelNodeImpl... operands) OpMinus(int startPos, int endPos, SpelNodeImpl... operands) OpModulus(int startPos, int endPos, SpelNodeImpl... operands) OpMultiply(int startPos, int endPos, SpelNodeImpl... operands) OpNE(int startPos, int endPos, SpelNodeImpl... operands) OpOr(int startPos, int endPos, SpelNodeImpl... operands) OpPlus(int startPos, int endPos, SpelNodeImpl... operands) Projection(boolean nullSafe, int startPos, int endPos, SpelNodeImpl expression) QualifiedIdentifier(int startPos, int endPos, SpelNodeImpl... operands) Selection(boolean nullSafe, int variant, int startPos, int endPos, SpelNodeImpl expression) SpelNodeImpl(int startPos, int endPos, SpelNodeImpl @Nullable... operands) Ternary(int startPos, int endPos, SpelNodeImpl... args) TypedValueHolderValueRef(TypedValue typedValue, SpelNodeImpl node) TypeReference(int startPos, int endPos, SpelNodeImpl qualifiedId) TypeReference(int startPos, int endPos, SpelNodeImpl qualifiedId, int dims) org.springframework.expression.spel.standard 内の SpelNodeImpl 使用
型 SpelNodeImpl のパラメーターを持つ org.springframework.expression.spel.standard のメソッド型 SpelNodeImpl のパラメーターを持つ org.springframework.expression.spel.standard のコンストラクター修飾子コンストラクター説明SpelExpression(StringSE expression, SpelNodeImpl ast, SpelParserConfiguration configuration) パーサーによってのみ使用される式を作成します。
CodeFlow.generateCodeForArgument(MethodVisitor, SpelNode, String)を推奨