クラスの使用
org.springframework.expression.spel.ast.SpelNodeImpl
SpelNodeImpl を使用するパッケージ
パッケージ
説明
SpEL の抽象構文ツリー。
SpEL の標準パーサー実装。
org.springframework.expression.spel.ast 内の SpelNodeImpl 使用
修飾子と型クラス説明class
割り当てを表します。class
Bean への参照を表します (例:@orderService
または@'order.service'
)。class
リテラル値TRUE
およびFALSE
を表します。class
NULL セーフナビゲーション演算子が使用されている場合のproperty1.property2.methodOne()
またはproperty1?.property2?.methodOne()
などの、DOT で区切られた式シーケンスを表します。class
コンストラクターの呼び出しを表します。通常の型のコンストラクターまたは配列の構築のいずれかです。class
エルヴィス演算子?
を表します。class
float リテラルを表す式言語の AST ノード。class
関数参照は、「#someFunction(a、b、c)」の形式です。class
「識別子」SpelNode
。class
Indexer
は、先行する構造にインデックスを付けて、その構造の特定の要素にアクセスできます。class
リストを式で表します (例: '{1,2,3}')。class
マップを式で表します (例: '{name:'foo' ,age:12}')。class
整数リテラルを表す式言語の AST ノード。class
リテラル(ブール値、文字列、数値など)を表すノードの共通スーパークラス。class
長整数リテラルを表す式言語の AST ノード。class
メソッド参照を表す式言語の AST ノード。class
null を表す式言語の AST ノード。class
ブール AND 演算を表します。class
デクリメント演算子。class
除算演算子を実装します。class
等価演算子を実装します。class
1 つまたは 2 つのオペランドを操作する演算子の共通スーパー型。class
between
演算子を表します。class
演算子 'instanceof' は、Java でinstanceof
が行うのと同じ方法で、オブジェクトが右側のオペランドで指定されたクラスのものであるかどうかをチェックします。class
一致演算子を実装します。class
NOT オペレーションを表します。class
パワーオペレーター。class
より大きいか等しい演算子を実装します。class
大なり演算子を実装します。class
増分演算子。class
より小さいか等しい演算子を実装します。class
小なり演算子を実装します。class
マイナス演算子: 数値の減算 1 文字の文字列からの int の減算 (実質的にその文字を減らす)、つまり'd' - 3 = 'a'
class
モジュラス演算子を実装します。class
multiply
オペレーターを実装します。class
等しくない演算子を実装します。class
ブール OR 演算を表します。class
プラス演算子は: 数字連結文字列を追加するclass
射影を表します。特定の操作がいくつかの入力シーケンスのすべての要素に対して実行され、同じサイズの新しいシーケンスを返します。class
単純なプロパティまたはフィールド参照を表します。class
パッケージ修飾型参照を示す、ドットで区切られた文字列のシーケンスを表します。class
実際のリテラルを表す式言語の AST ノード。class
マップまたはコレクションに対する選択を表します。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 void
SpelNodeImpl.generateCodeForArgument
(MethodVisitor mv, CodeFlow cf, SpelNodeImpl argument, StringSE paramDesc) 使用すべきではありません。protected static void
SpelNodeImpl.generateCodeForArguments
(MethodVisitor mv, CodeFlow cf, ExecutableSE executable, SpelNodeImpl[] arguments) 指定されたExecutable
SE (メソッドまたはコンストラクター) の引数値の構築を処理するコードを生成します。protected static void
SpelNodeImpl.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
を作成します。Indexer
(int startPos, int endPos, SpelNodeImpl indexExpression) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。6.2 現在、Indexer(boolean, int, int, SpelNodeImpl)
を推奨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... 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)
を推奨