Lines Matching refs:type

83     public Object readInterface(Type type) {  in readInterface()  argument
85 return id == null ? null : bridge.mapInterfaceFrom(id, type); in readInterface()
115 TypeDescription type = null; in readType() local
118 type = TypeDescription.getTypeDescription( in readType()
126 type = typeCache[index]; in readType()
128 typeCache[index] = type; in readType()
131 return type; in readType()
135 public Object readValue(TypeDescription type) { in readValue() argument
136 switch (type.getTypeClass().getValue()) { in readValue()
177 return readSequenceValue(type); in readValue()
180 return readEnumValue(type); in readValue()
183 return readStructValue(type); in readValue()
186 return readExceptionValue(type); in readValue()
189 return readInterfaceValue(type); in readValue()
192 throw new IllegalArgumentException("Bad type descriptor " + type); in readValue()
288 TypeDescription type = readType(); in readAnyValue() local
289 switch (type.getTypeClass().getValue()) { in readAnyValue()
334 Object value = readSequenceValue(type); in readAnyValue()
336 type.getComponentType(); in readAnyValue()
344 return new Any(new Type(type), value); in readAnyValue()
348 return new Any(new Type(type), value); in readAnyValue()
356 return readEnumValue(type); in readAnyValue()
360 Object value = readStructValue(type); in readAnyValue()
361 return type.hasTypeArguments() in readAnyValue()
362 ? new Any(new Type(type), value) : value; in readAnyValue()
366 return readExceptionValue(type); in readAnyValue()
370 Object value = readInterfaceValue(type); in readAnyValue()
371 return type.getZClass() == XInterface.class in readAnyValue()
372 ? value : new Any(new Type(type), value); in readAnyValue()
377 "Reading ANY with bad type " + type.getTypeClass()); in readAnyValue()
381 private Object readSequenceValue(TypeDescription type) { in readSequenceValue() argument
383 TypeDescription ctype = (TypeDescription) type.getComponentType(); in readSequenceValue()
399 private Enum readEnumValue(TypeDescription type) { in readEnumValue() argument
402 type.getZClass().getMethod( in readEnumValue()
414 private Object readStructValue(TypeDescription type) { in readStructValue() argument
417 value = type.getZClass().newInstance(); in readStructValue()
423 readFields(type, value); in readStructValue()
427 private Exception readExceptionValue(TypeDescription type) { in readExceptionValue() argument
431 type.getZClass().getConstructor(new Class[] { String.class }). in readExceptionValue()
442 readFields(type, value); in readExceptionValue()
446 private Object readInterfaceValue(TypeDescription type) { in readInterfaceValue() argument
447 return readInterface(new Type(type)); in readInterfaceValue()
467 private void readFields(TypeDescription type, Object value) { in readFields() argument
468 IFieldDescription[] fields = type.getFieldDescriptions(); in readFields()