private void initialize() { this.type = GenericAssociationInfo.associationTypeOf(accessor); this.qualifiedName = QualifiedName.fromAccessor(accessor); this.immutable = metaInfo.get(Immutable.class) != null; this.aggregated = metaInfo.get(Aggregated.class) != null; final Queryable queryable = accessor.getAnnotation(Queryable.class); this.queryable = queryable == null || queryable.value(); }
@Override public <T> T metaInfo(Class<T> infoType) { return metaInfo.get(infoType); }