Top Description Constructors Methods
net.sf.ehcache.constructs.nonstop.util

public final Class OverrideCheck

extends Object
Class Inheritance
Imports
java.lang.reflect.Method, .Modifier, java.util.ArrayList, .HashSet, .List, .Set

A utility class to check whether one class overrides all methods of its superclass or an interface that it implements
Author
Abhishek Sanoujam

Constructor Summary

AccessConstructor and Description
private
OverrideCheck()

private constructor

Method Summary

Modifier and TypeMethod and Description
public static void
check(Class<T> parent, Class<T> subClass)

Method to check a subclass overrides all methods in its superclass or the interface it implements

private static Set<String>
methodsFor(final Class<T> klass, final boolean excludeSuper)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

OverrideCheckback to summary
private OverrideCheck()

private constructor

Method Detail

checkback to summary
public static void check(Class<T> parent, Class<T> subClass)

Method to check a subclass overrides all methods in its superclass or the interface it implements

methodsForback to summary
private static Set<String> methodsFor(final Class<T> klass, final boolean excludeSuper)