Lines Matching refs:type
45 * Creates a new Value of the given type.
46 * The type must be a fully specified internal type for primitives, classes,
49 public Value createValue(String type, Clazz referencedClass, boolean mayBeNull)
51 switch (type.charAt(0))
62 default: return createReferenceValue(ClassUtil.isInternalArrayType(type) ?
63 type :
64 ClassUtil.internalClassNameFromClassType(type),
148 * Creates a new ReferenceValue of the given type. The type must be an
149 * internal class name or an array type. If the type is <code>null</code>,
152 public ReferenceValue createReferenceValue(String type,
156 return type == null ? REFERENCE_VALUE_NULL :
157 !type.equals(ClassConstants.INTERNAL_NAME_JAVA_LANG_OBJECT) ? new ReferenceValue(type, referencedClass, mayBeNull) :
164 * Creates a new ReferenceValue for arrays of the given type and length.
165 * The type must be a fully specified internal type for primitives, classes,
168 public ReferenceValue createArrayReferenceValue(String type,
172 return createArrayReferenceValue(type,
175 createValue(type, referencedClass, false));
180 * Creates a new ReferenceValue for arrays of the given type and length,
181 * containing the given element. The type must be a fully specified internal
182 * type for primitives, classes, or arrays.
184 public ReferenceValue createArrayReferenceValue(String type,
189 return createReferenceValue(ClassConstants.INTERNAL_TYPE_ARRAY + type,