Package javassist
Class CodeConverter.DefaultArrayAccessReplacementMethodNames
- java.lang.Object
-
- javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
- All Implemented Interfaces:
CodeConverter.ArrayAccessReplacementMethodNames
- Enclosing class:
- CodeConverter
public static class CodeConverter.DefaultArrayAccessReplacementMethodNames extends java.lang.Object implements CodeConverter.ArrayAccessReplacementMethodNames
Default implementation of theArrayAccessReplacementMethodNames
interface giving default values for method names to be used for replacing accesses to array elements.- Version:
- $Revision: 1.16 $
- Author:
- Kabir Khan
-
-
Constructor Summary
Constructors Constructor Description DefaultArrayAccessReplacementMethodNames()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
byteOrBooleanRead()
Returns "arrayReadByteOrBoolean" as the name of the static method with the signature (Ljava/lang/Object;I)B to replace reading from a byte[].java.lang.String
byteOrBooleanWrite()
Returns "arrayWriteByteOrBoolean" as the name of the static method with the signature (Ljava/lang/Object;IB)V to replace writing to a byte[].java.lang.String
charRead()
Returns "arrayReadChar" as the name of the static method with the signature (Ljava/lang/Object;I)C to replace reading from a char[].java.lang.String
charWrite()
Returns "arrayWriteChar" as the name of the static method with the signature (Ljava/lang/Object;IC)V to replace writing to a byte[].java.lang.String
doubleRead()
Returns "arrayReadDouble" as the name of the static method with the signature (Ljava/lang/Object;I)D to replace reading from a double[].java.lang.String
doubleWrite()
Returns "arrayWriteDouble" as the name of the static method with the signature (Ljava/lang/Object;ID)V to replace writing to a double[].java.lang.String
floatRead()
Returns "arrayReadFloat" as the name of the static method with the signature (Ljava/lang/Object;I)F to replace reading from a float[].java.lang.String
floatWrite()
Returns "arrayWriteFloat" as the name of the static method with the signature (Ljava/lang/Object;IF)V to replace writing to a float[].java.lang.String
intRead()
Returns "arrayReadInt" as the name of the static method with the signature (Ljava/lang/Object;I)I to replace reading from a int[].java.lang.String
intWrite()
Returns "arrayWriteInt" as the name of the static method with the signature (Ljava/lang/Object;II)V to replace writing to a int[].java.lang.String
longRead()
Returns "arrayReadLong" as the name of the static method with the signature (Ljava/lang/Object;I)J to replace reading from a long[].java.lang.String
longWrite()
Returns "arrayWriteLong" as the name of the static method with the signature (Ljava/lang/Object;IJ)V to replace writing to a long[].java.lang.String
objectRead()
Returns "arrayReadObject" as the name of the static method with the signature (Ljava/lang/Object;I)Ljava/lang/Object; to replace reading from a Object[] (or any subclass of object).java.lang.String
objectWrite()
Returns "arrayWriteObject" as the name of the static method with the signature (Ljava/lang/Object;ILjava/lang/Object;)V to replace writing to a Object[] (or any subclass of object).java.lang.String
shortRead()
Returns "arrayReadShort" as the name of the static method with the signature (Ljava/lang/Object;I)S to replace reading from a short[].java.lang.String
shortWrite()
Returns "arrayWriteShort" as the name of the static method with the signature (Ljava/lang/Object;IS)V to replace writing to a short[].
-
-
-
Method Detail
-
byteOrBooleanRead
public java.lang.String byteOrBooleanRead()
Returns "arrayReadByteOrBoolean" as the name of the static method with the signature (Ljava/lang/Object;I)B to replace reading from a byte[].- Specified by:
byteOrBooleanRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
byteOrBooleanWrite
public java.lang.String byteOrBooleanWrite()
Returns "arrayWriteByteOrBoolean" as the name of the static method with the signature (Ljava/lang/Object;IB)V to replace writing to a byte[].- Specified by:
byteOrBooleanWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
charRead
public java.lang.String charRead()
Returns "arrayReadChar" as the name of the static method with the signature (Ljava/lang/Object;I)C to replace reading from a char[].- Specified by:
charRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
- Returns:
- the name of a static method with the signature
(Ljava/lang/Object;I)C
to replace reading from a char[].
-
charWrite
public java.lang.String charWrite()
Returns "arrayWriteChar" as the name of the static method with the signature (Ljava/lang/Object;IC)V to replace writing to a byte[].- Specified by:
charWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
doubleRead
public java.lang.String doubleRead()
Returns "arrayReadDouble" as the name of the static method with the signature (Ljava/lang/Object;I)D to replace reading from a double[].- Specified by:
doubleRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
doubleWrite
public java.lang.String doubleWrite()
Returns "arrayWriteDouble" as the name of the static method with the signature (Ljava/lang/Object;ID)V to replace writing to a double[].- Specified by:
doubleWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
floatRead
public java.lang.String floatRead()
Returns "arrayReadFloat" as the name of the static method with the signature (Ljava/lang/Object;I)F to replace reading from a float[].- Specified by:
floatRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
floatWrite
public java.lang.String floatWrite()
Returns "arrayWriteFloat" as the name of the static method with the signature (Ljava/lang/Object;IF)V to replace writing to a float[].- Specified by:
floatWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
intRead
public java.lang.String intRead()
Returns "arrayReadInt" as the name of the static method with the signature (Ljava/lang/Object;I)I to replace reading from a int[].- Specified by:
intRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
intWrite
public java.lang.String intWrite()
Returns "arrayWriteInt" as the name of the static method with the signature (Ljava/lang/Object;II)V to replace writing to a int[].- Specified by:
intWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
longRead
public java.lang.String longRead()
Returns "arrayReadLong" as the name of the static method with the signature (Ljava/lang/Object;I)J to replace reading from a long[].- Specified by:
longRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
longWrite
public java.lang.String longWrite()
Returns "arrayWriteLong" as the name of the static method with the signature (Ljava/lang/Object;IJ)V to replace writing to a long[].- Specified by:
longWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
objectRead
public java.lang.String objectRead()
Returns "arrayReadObject" as the name of the static method with the signature (Ljava/lang/Object;I)Ljava/lang/Object; to replace reading from a Object[] (or any subclass of object).- Specified by:
objectRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
objectWrite
public java.lang.String objectWrite()
Returns "arrayWriteObject" as the name of the static method with the signature (Ljava/lang/Object;ILjava/lang/Object;)V to replace writing to a Object[] (or any subclass of object).- Specified by:
objectWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
shortRead
public java.lang.String shortRead()
Returns "arrayReadShort" as the name of the static method with the signature (Ljava/lang/Object;I)S to replace reading from a short[].- Specified by:
shortRead
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
shortWrite
public java.lang.String shortWrite()
Returns "arrayWriteShort" as the name of the static method with the signature (Ljava/lang/Object;IS)V to replace writing to a short[].- Specified by:
shortWrite
in interfaceCodeConverter.ArrayAccessReplacementMethodNames
-
-