- java.lang.Object
-
- com.ibm.j9ddr.vm29.pointer.helper.J9ROMMethodHelper
-
public class J9ROMMethodHelper extends Object
Static helper for ROM methods
-
-
Constructor Summary
Constructors Constructor Description J9ROMMethodHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static U8Pointer
bytecodeEnd(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static U8Pointer
bytecodes(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static UDATA
bytecodeSize(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static U32
getExtendedModifiersDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static String
getName(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static int
getReflectModifiers(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
Gets the modifiers as returned from java.lang.reflect.Method.getModifiers(); (masking out all internal JVM modifiers)static String
getSignature(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasBackwardBranches(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasCodeTypeAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasDebugInfo(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasDefaultAnnotation(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasExceptionInfo(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasExtendedModifiers(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasGenericSignature(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasMethodAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasMethodParameters(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasMethodTypeAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasParameterAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasStackMap(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
hasVTable(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
isEmpty(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
isForwarder(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
isGetter(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
isNonEmptyObjectConstructor(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
static boolean
isStatic(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method)
-
-
-
Method Detail
-
getReflectModifiers
public static int getReflectModifiers(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
Gets the modifiers as returned from java.lang.reflect.Method.getModifiers(); (masking out all internal JVM modifiers)- Parameters:
fieldShapePointer
- Field- Returns:
- Modifier codes
- Throws:
CorruptDataException
-
getName
public static String getName(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
getSignature
public static String getSignature(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
bytecodes
public static U8Pointer bytecodes(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
bytecodeSize
public static UDATA bytecodeSize(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
bytecodeEnd
public static U8Pointer bytecodeEnd(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
getExtendedModifiersDataFromROMMethod
public static U32 getExtendedModifiersDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
isGetter
public static boolean isGetter(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
isForwarder
public static boolean isForwarder(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
isEmpty
public static boolean isEmpty(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasVTable
public static boolean hasVTable(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
isStatic
public static boolean isStatic(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasExceptionInfo
public static boolean hasExceptionInfo(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasBackwardBranches
public static boolean hasBackwardBranches(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasGenericSignature
public static boolean hasGenericSignature(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasMethodAnnotations
public static boolean hasMethodAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasParameterAnnotations
public static boolean hasParameterAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasMethodTypeAnnotations
public static boolean hasMethodTypeAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasCodeTypeAnnotations
public static boolean hasCodeTypeAnnotations(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasExtendedModifiers
public static boolean hasExtendedModifiers(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasDefaultAnnotation
public static boolean hasDefaultAnnotation(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasDebugInfo
public static boolean hasDebugInfo(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasStackMap
public static boolean hasStackMap(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
hasMethodParameters
public static boolean hasMethodParameters(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
isNonEmptyObjectConstructor
public static boolean isNonEmptyObjectConstructor(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
-