private AnnotationDelegate getAnnotations(Method accessor, Method mutator) { return accessor != null ? new AnnotationDelegate(accessor, mutator) : new AnnotationDelegate(mutator, accessor); }
private AnnotationDelegate getAnnotations(Method accessor, Method mutator) { return accessor != null ? new AnnotationDelegate(accessor, mutator) : new AnnotationDelegate(mutator, accessor); }
/** * <b>Note</b>: this method leads to the creation and quick discard of * large numbers of {@link AnnotationDelegate} objects. Need to * do some research to determine whether or not this is actually * a problem. * * @deprecated All annotation information should be resolved upfront using {@link net.java.ao.schema.info.EntityInfo} */ @Deprecated public static AnnotationDelegate getAnnotationDelegate(FieldNameConverter converter, Method method) { return new AnnotationDelegate(method, findCounterpart(converter, method)); }
/** * <b>Note</b>: this method leads to the creation and quick discard of * large numbers of {@link AnnotationDelegate} objects. Need to * do some research to determine whether or not this is actually * a problem. * * @deprecated All annotation information should be resolved upfront using {@link net.java.ao.schema.info.EntityInfo} */ @Deprecated public static AnnotationDelegate getAnnotationDelegate(FieldNameConverter converter, Method method) { return new AnnotationDelegate(method, findCounterpart(converter, method)); }