Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
asm
asm
Commits
0c3dbd42
Commit
0c3dbd42
authored
May 22, 2021
by
Eric Bruneton
Browse files
Fix the Javadoc of LdcInsnNode.
parent
5495d4d1
Pipeline
#13245
passed with stage
in 9 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
asm-tree/src/main/java/org/objectweb/asm/tree/LdcInsnNode.java
View file @
0c3dbd42
...
@@ -28,8 +28,11 @@
...
@@ -28,8 +28,11 @@
package
org.objectweb.asm.tree
;
package
org.objectweb.asm.tree
;
import
java.util.Map
;
import
java.util.Map
;
import
org.objectweb.asm.ConstantDynamic
;
import
org.objectweb.asm.Handle
;
import
org.objectweb.asm.MethodVisitor
;
import
org.objectweb.asm.MethodVisitor
;
import
org.objectweb.asm.Opcodes
;
import
org.objectweb.asm.Opcodes
;
import
org.objectweb.asm.Type
;
/**
/**
* A node that represents an LDC instruction.
* A node that represents an LDC instruction.
...
@@ -39,17 +42,23 @@ import org.objectweb.asm.Opcodes;
...
@@ -39,17 +42,23 @@ import org.objectweb.asm.Opcodes;
public
class
LdcInsnNode
extends
AbstractInsnNode
{
public
class
LdcInsnNode
extends
AbstractInsnNode
{
/**
/**
* The constant to be loaded on the stack. This parameter must be a non null {@link Integer}, a
* The constant to be loaded on the stack. This field must be a non null {@link Integer}, a {@link
* {@link Float}, a {@link Long}, a {@link Double}, a {@link String} or a {@link
* Float}, a {@link Long}, a {@link Double}, a {@link String}, a {@link Type} of OBJECT or ARRAY
* org.objectweb.asm.Type}.
* sort for {@code .class} constants, for classes whose version is 49, a {@link Type} of METHOD
* sort for MethodType, a {@link Handle} for MethodHandle constants, for classes whose version is
* 51 or a {@link ConstantDynamic} for a constant dynamic for classes whose version is 55.
*/
*/
public
Object
cst
;
public
Object
cst
;
/**
/**
* Constructs a new {@link LdcInsnNode}.
* Constructs a new {@link LdcInsnNode}.
*
*
* @param value the constant to be loaded on the stack. This parameter must be a non null {@link
* @param value the constant to be loaded on the stack. This parameter mist be a non null {@link
* Integer}, a {@link Float}, a {@link Long}, a {@link Double} or a {@link String}.
* Integer}, a {@link Float}, a {@link Long}, a {@link Double}, a {@link String}, a {@link
* Type} of OBJECT or ARRAY sort for {@code .class} constants, for classes whose version is
* 49, a {@link Type} of METHOD sort for MethodType, a {@link Handle} for MethodHandle
* constants, for classes whose version is 51 or a {@link ConstantDynamic} for a constant
* dynamic for classes whose version is 55.
*/
*/
public
LdcInsnNode
(
final
Object
value
)
{
public
LdcInsnNode
(
final
Object
value
)
{
super
(
Opcodes
.
LDC
);
super
(
Opcodes
.
LDC
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment