コード例 #1
0
 public ReferenceValue referenceArrayLoad(IntegerValue indexValue, ValueFactory valueFactory) {
   return type == null
       ? ValueFactory.REFERENCE_VALUE_NULL
       : !ClassUtil.isInternalArrayType(type)
           ? ValueFactory.REFERENCE_VALUE_JAVA_LANG_OBJECT_MAYBE_NULL
           : valueFactory.createValue(type.substring(1), referencedClass, true).referenceValue();
 }
コード例 #2
0
 /** Returns the length of the array, assuming this type is an array. */
 public IntegerValue arrayLength(ValueFactory valueFactory) {
   return valueFactory.createIntegerValue();
 }