File tree Expand file tree Collapse file tree
elide-core/src/main/java/com/yahoo/elide/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,16 +240,6 @@ public List<AccessibleObject> getAllFields() {
240240 */
241241 private void bindEntityFields (Class <?> cls , String type , Collection <AccessibleObject > fieldOrMethodList ) {
242242 for (AccessibleObject fieldOrMethod : fieldOrMethodList ) {
243- // Special handling for Eclipse. Load missing annotations
244- if (fieldOrMethod .getAnnotations ().length == 0 && fieldOrMethod instanceof Method ) {
245- Method m = (Method ) fieldOrMethod ;
246- try {
247- fieldOrMethod = m .getDeclaringClass ().getMethod (m .getName (), m .getParameterTypes ());
248- } catch (NoSuchMethodException | SecurityException e ) {
249- // Not expected, leave alone
250- }
251- }
252-
253243 bindTriggerIfPresent (OnCreatePreSecurity .class , fieldOrMethod );
254244 bindTriggerIfPresent (OnDeletePreSecurity .class , fieldOrMethod );
255245 bindTriggerIfPresent (OnUpdatePreSecurity .class , fieldOrMethod );
You can’t perform that action at this time.
0 commit comments