Decoder/Encoder获取更多信息

This commit is contained in:
Redkale
2018-07-16 19:16:10 +08:00
parent 28e72f9883
commit 4a4bade180
10 changed files with 76 additions and 0 deletions

View File

@@ -101,4 +101,12 @@ public final class ArrayDecoder<T> implements Decodeable<Reader, T[]> {
return type;
}
public Type getComponentType() {
return componentType;
}
public Decodeable<Reader, T> getDecoder() {
return decoder;
}
}