Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.annotated.slim.unbacked;
 
 import static org.jboss.weld.util.reflection.Reflections.cast;
 
import  edu.umd.cs.findbugs.annotations.SuppressWarnings;
@SuppressWarnings(value = { "SE_BAD_FIELD""SE_NO_SUITABLE_CONSTRUCTOR""SE_NO_SERIALVERSIONID" }, justification = "False positive from FindBugs - serialization is handled by SerializationProxy.")
public class UnbackedAnnotatedField<X> extends UnbackedAnnotatedMember<X> implements AnnotatedField<X>, Serializable {
    public static <X, Y extends X> AnnotatedField<X> of(AnnotatedField<X> originalFieldUnbackedAnnotatedType<Y> declaringTypeSharedObjectCache cache) {
        UnbackedAnnotatedType<X> downcastDeclaringType = cast(declaringType);
        return new UnbackedAnnotatedField<X>(originalField.getBaseType(), originalField.getTypeClosure(), cache.getSharedSet(originalField.getAnnotations()), originalField.getJavaMember(),
                downcastDeclaringType);
    }
    private final Field field;
    public UnbackedAnnotatedField(Type baseTypeSet<TypetypeClosureSet<AnnotationannotationsField fieldUnbackedAnnotatedType<X> declaringType) {
        super(baseTypetypeClosureannotationsdeclaringType);
        this. = field;
    }
    public Field getJavaMember() {
        return ;
    }
    @Override
    public String toString() {
        return Formats.formatAnnotatedField(this);
    }
    // Serialization
    private Object writeReplace() throws ObjectStreamException {
        return new UnbackedMemberIdentifier<X>(getDeclaringType(), AnnotatedTypes.createFieldId(this));
    }
    private void readObject(ObjectInputStream streamthrows InvalidObjectException {
        throw ..proxyRequired();
    }
New to GrepCode? Check out our FAQ X