All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.facets.MethodRemoverConstants Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.facets;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;


public class MethodRemoverConstants {

    public static MethodRemover NULL = new MethodRemover() {
        public List removeMethods(
                final MethodScope methodScope,
                final String prefix,
                final Class returnType,
                final boolean canBeVoid,
                final int paramCount) {
            return new ArrayList();
        }

        public void removeMethod(
                final MethodScope methodScope,
                final String methodName,
                final Class returnType,
                final Class[] parameterTypes) {}

        public void removeMethod(final Method method) {}

        public void removeMethods(final List methods) {}
    };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy