Class BytecodeMethodProperties
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeMethodProperties
Bytecode method properties.
- Since:
- 0.1
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeMethodProperties
(int access, String name, String descriptor, String signature, String... exceptions) Constructor.BytecodeMethodProperties
(int access, String name, String descriptor, String signature, BytecodeMethodParameters parameters, String... exceptions) Constructor.BytecodeMethodProperties
(String name, String descriptor, int... modifiers) Constructor.BytecodeMethodProperties
(String name, String descriptor, String signature, int... modifiers) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionMethod descriptor.directives
(BytecodeMaxs maxs) Convert to directives.boolean
Is method abstract.boolean
isStatic()
Is method static.name()
Method name.
-
Constructor Details
-
BytecodeMethodProperties
Constructor.- Parameters:
name
- Method name.descriptor
- Method descriptor.modifiers
- Access modifiers.
-
BytecodeMethodProperties
Constructor.- Parameters:
name
- Method name.descriptor
- Method descriptor.signature
- Method signature.modifiers
- Access modifiers.
-
BytecodeMethodProperties
public BytecodeMethodProperties(int access, String name, String descriptor, String signature, String... exceptions) Constructor.- Parameters:
access
- Access modifiers.name
- Method name.descriptor
- Method descriptor.signature
- Method signature.exceptions
- Method exceptions.
-
BytecodeMethodProperties
public BytecodeMethodProperties(int access, String name, String descriptor, String signature, BytecodeMethodParameters parameters, String... exceptions) Constructor.- Parameters:
access
- Access modifiers.name
- Method name.descriptor
- Method descriptor.signature
- Method signature.parameters
- Method parameters.exceptions
- Method exceptions.
-
-
Method Details
-
name
Method name.- Returns:
- Method name.
-
descriptor
Method descriptor.- Returns:
- Method descriptor.
-
isAbstract
public boolean isAbstract()Is method abstract.- Returns:
- True if the method is abstract.
-
isStatic
public boolean isStatic()Is method static.- Returns:
- True if the method is static.
-
directives
Convert to directives.- Parameters:
maxs
- Maxs.- Returns:
- Directives.
-