static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; this.argumentNames = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); this.argumentNames[i] = parameterName; } else { this.argumentNames[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } } } }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
static AnnotationInfo[][] decodeParamAnnotations(int offset, boolean runtimeVisible, MethodInfo methodInfo) { AnnotationInfo[][] allParamAnnotations = null; int numberOfParameters = methodInfo.u1At(offset + 6); if (numberOfParameters > 0) { // u2 attribute_name_index + u4 attribute_length + u1 num_parameters int readOffset = offset + 7; for (int i=0 ; i < numberOfParameters; i++) { int numberOfAnnotations = methodInfo.u2At(readOffset); readOffset += 2; if (numberOfAnnotations > 0) { if (allParamAnnotations == null) allParamAnnotations = new AnnotationInfo[numberOfParameters][]; AnnotationInfo[] annos = decodeAnnotations(readOffset, runtimeVisible, numberOfAnnotations, methodInfo); allParamAnnotations[i] = annos; for (int aIndex = 0; aIndex < annos.length; aIndex++) readOffset += annos[aIndex].readOffset; } } } return allParamAnnotations; }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; this.argumentNames = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); this.argumentNames[i] = parameterName; } else { this.argumentNames[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } } } }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; this.argumentNames = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); this.argumentNames[i] = parameterName; } else { this.argumentNames[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } } } }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; this.argumentNames = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); this.argumentNames[i] = parameterName; } else { this.argumentNames[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } } } }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; char[][] names = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); names[i] = parameterName; } else { names[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } this.argumentNames = names; } } }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; this.argumentNames = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); this.argumentNames[i] = parameterName; } else { this.argumentNames[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } } } }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; this.argumentNames = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); this.argumentNames[i] = parameterName; } else { this.argumentNames[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } } } }
private void decodeMethodParameters(int offset, MethodInfo methodInfo) { int readOffset = offset + 6; final int length = u1At(readOffset); if (length != 0) { readOffset += 1; this.argumentNames = new char[length][]; for (int i = 0; i < length; i++) { int nameIndex = u2At(readOffset); if (nameIndex != 0) { int utf8Offset = this.constantPoolOffsets[nameIndex] - this.structOffset; char[] parameterName = utf8At(utf8Offset + 3, u2At(utf8Offset + 1)); this.argumentNames[i] = parameterName; } else { this.argumentNames[i] = CharOperation.concat(ARG, String.valueOf(i).toCharArray()); } readOffset += 4; } } } }