Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.annotated.slim.backed;
 
 
 
public abstract class BackedAnnotatedMember<X> extends BackedAnnotated implements AnnotatedMember<X> {
    private BackedAnnotatedType<X> declaringType;
    public BackedAnnotatedMember(Type baseTypeBackedAnnotatedType<X> declaringTypeSharedObjectCache sharedObjectCache) {
        super(baseTypesharedObjectCache);
        this. = declaringType;
    }
    public boolean isStatic() {
        return Reflections.isStatic(getJavaMember());
    }
    public BackedAnnotatedType<X> getDeclaringType() {
        return ;
    }
    @Override
    protected ReflectionCache getReflectionCache() {
        return getDeclaringType().getReflectionCache();
    }
    protected abstract static class BackedAnnotatedMemberSerializationProxy<X, A extends AnnotatedMember<? super X>> implements Serializable {
        private static final long serialVersionUID = 450947485748828056L;
        protected final BackedAnnotatedType<X> type;
        private final AbstractSerializableHolder<? extends MembermemberHolder;
        public BackedAnnotatedMemberSerializationProxy(BackedAnnotatedType<X> typeAbstractSerializableHolder<? extends MembermemberHolder) {
            this. = type;
            this. = memberHolder;
        }
        protected A resolve() {
            for (A annotatedMember : getCandidates()) {
                if (annotatedMember.getJavaMember().equals(.get())) {
                    return annotatedMember;
                }
            }
            throw ..unableToLoadMember(.get());
        }
        protected abstract Iterable<A> getCandidates();
    }
New to GrepCode? Check out our FAQ X