summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode/asn1/uper/Decoder.java
blob: 31404431e9371fd8f22a640ac61c1412591e142c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package org.uic.barcode.asn1.uper;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

public interface Decoder {
    <T> boolean canDecode(Class<T> classOfT, Annotation[] extraAnnotations);
    <T> T decode(BitBuffer bitbuffer, Class<T> classOfT,Field f, Annotation[] extraAnnotations,AsnExtractor extractor);
    <T> T getDefault(Class<T> classOfT, Annotation[] extraAnnotations);
}